[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <202409231044.4f064459-oliver.sang@intel.com>
Date: Mon, 23 Sep 2024 10:35:24 +0800
From: kernel test robot <oliver.sang@...el.com>
To: Alice Ryhl <aliceryhl@...gle.com>
CC: <oe-lkp@...ts.linux.dev>, <lkp@...el.com>, Linux Memory Management List
<linux-mm@...ck.org>, Miguel Ojeda <ojeda@...nel.org>, Sami Tolvanen
<samitolvanen@...gle.com>, Gatlin Newhouse <gatlin.newhouse@...il.com>, "Kees
Cook" <kees@...nel.org>, Peter Zijlstra <peterz@...radead.org>,
<linux-kbuild@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<oliver.sang@...el.com>
Subject: [linux-next:master] [cfi] ce4a262098: CFI_failure_at_do_basic_setup
Hello,
kernel test robot noticed "CFI_failure_at_do_basic_setup" on:
commit: ce4a2620985cdf06c200ec0b6dce80374237697c ("cfi: add CONFIG_CFI_ICALL_NORMALIZE_INTEGERS")
https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git master
[test failed on linux-next/master 62f92d634458a1e308bb699986b9147a6d670457]
in testcase: boot
compiler: clang-18
test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -smp 2 -m 16G
(please refer to attached dmesg/kmsg for entire log/backtrace)
+------------------------------------------------+------------+------------+
| | d077242d68 | ce4a262098 |
+------------------------------------------------+------------+------------+
| boot_successes | 24 | 0 |
| boot_failures | 0 | 24 |
| CFI_failure_at_do_basic_setup | 0 | 24 |
| WARNING:CPU:#PID:#at_do_basic_setup | 0 | 24 |
| RIP:do_basic_setup | 0 | 24 |
| calltrace:irq_exit_rcu | 0 | 24 |
+------------------------------------------------+------------+------------+
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <oliver.sang@...el.com>
| Closes: https://lore.kernel.org/oe-lkp/202409231044.4f064459-oliver.sang@intel.com
The kernel config and materials to reproduce are available at:
https://download.01.org/0day-ci/archive/20240923/202409231044.4f064459-oliver.sang@intel.com
[ 4.352313][ T1] CFI failure at do_basic_setup+0x64/0xa0 (target: asan.module_ctor+0x0/0x20; expected type: 0xe5c47d60)
[ 4.354089][ T1] WARNING: CPU: 0 PID: 1 at do_basic_setup+0x64/0xa0
[ 4.355754][ T1] Modules linked in:
[ 4.356607][ T1] CPU: 0 UID: 0 PID: 1 Comm: swapper Not tainted 6.11.0-rc4-00048-gce4a2620985c #1
[ 4.358002][ T1] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
[ 4.359086][ T1] RIP: 0010:do_basic_setup+0x64/0xa0
[ 4.360669][ T1] Code: 00 fc ff df 48 89 d8 48 c1 e8 03 42 80 3c 38 00 74 08 48 89 df e8 84 92 83 fa 4d 8b 5e f8 41 ba a0 82 3b 1a 45 03 53 fc 74 02 <0f> 0b 41 ff d3 49 81 fe 48 0f 0c 87 73 0f e8 51 c3 47 fa 48 83 c3
[ 4.362089][ T1] RSP: 0000:ffffc9000001fea8 EFLAGS: 00010286
[ 4.364097][ T1] RAX: 1ffffffff0e17434 RBX: ffffffff870ba1a0 RCX: 0000000000000000
[ 4.365952][ T1] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
[ 4.366959][ T1] RBP: ffffc9000001fec0 R08: 0000000000000000 R09: 0000000000000000
[ 4.367972][ T1] R10: 00000000bf7be9ac R11: ffffffff84506250 R12: ffffffff85c3cac0
[ 4.368942][ T1] R13: 0000000000000000 R14: ffffffff870ba1a8 R15: dffffc0000000000
[ 4.369883][ T1] FS: 0000000000000000(0000) GS:ffffffff85cbf000(0000) knlGS:0000000000000000
[ 4.371041][ T1] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 4.372747][ T1] CR2: ffff88843ffff000 CR3: 0000000005c9f000 CR4: 00000000000406b0
[ 4.373960][ T1] Call Trace:
[ 4.374550][ T1] <TASK>
[ 4.375524][ T1] ? show_regs+0x8d/0xa8
[ 4.376619][ T1] ? __warn+0x113/0x218
[ 4.377594][ T1] ? do_basic_setup+0x64/0xa0
[ 4.378629][ T1] ? do_basic_setup+0x64/0xa0
[ 4.379650][ T1] ? report_cfi_failure+0x8a/0xa8
[ 4.380566][ T1] ? handle_cfi_failure+0x166/0x258
[ 4.381648][ T1] ? __cfi_asan.module_ctor+0x10/0x10
[ 4.382675][ T1] ? handle_bug+0x4e/0x80
[ 4.383622][ T1] ? exc_invalid_op+0x1b/0x58
[ 4.384650][ T1] ? asm_exc_invalid_op+0x1b/0x20
[ 4.385613][ T1] ? __cfi_asan.module_ctor+0x10/0x10
[ 4.386629][ T1] ? do_basic_setup+0x64/0xa0
[ 4.387588][ T1] ? do_basic_setup+0x1d/0xa0
[ 4.388679][ T1] kernel_init_freeable+0x117/0x1c0
[ 4.389628][ T1] ? __cfi_kernel_init+0x8/0x8
[ 4.390665][ T1] kernel_init+0x22/0x1e8
[ 4.391588][ T1] ? __cfi_kernel_init+0x8/0x8
[ 4.392676][ T1] ret_from_fork+0x67/0x98
[ 4.393594][ T1] ? __cfi_kernel_init+0x8/0x8
[ 4.394618][ T1] ret_from_fork_asm+0x11/0x20
[ 4.395674][ T1] </TASK>
[ 4.396559][ T1] irq event stamp: 14815
[ 4.397628][ T1] hardirqs last enabled at (14837): [<ffffffff812dc7c5>] console_unlock+0xdd/0x188
[ 4.399014][ T1] hardirqs last disabled at (14848): [<ffffffff812dc7aa>] console_unlock+0xc2/0x188
[ 4.400057][ T1] softirqs last enabled at (14832): [<ffffffff811f6caf>] handle_softirqs+0x48f/0x5e0
[ 4.402041][ T1] softirqs last disabled at (14823): [<ffffffff811f6f50>] irq_exit_rcu+0x58/0x88
[ 4.404031][ T1] ---[ end trace 0000000000000000 ]---
[ 4.405190][ T1] CFI failure at do_basic_setup+0x64/0xa0 (target: asan.module_ctor+0x0/0x20; expected type: 0xe5c47d60)
[ 4.406971][ T1] WARNING: CPU: 0 PID: 1 at do_basic_setup+0x64/0xa0
[ 4.407755][ T1] Modules linked in:
[ 4.408609][ T1] CPU: 0 UID: 0 PID: 1 Comm: swapper Tainted: P 6.11.0-rc4-00048-gce4a2620985c #1
[ 4.410097][ T1] Tainted: [P]=PROPRIETARY_MODULE
[ 4.411648][ T1] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
[ 4.413089][ T1] RIP: 0010:do_basic_setup+0x64/0xa0
[ 4.414673][ T1] Code: 00 fc ff df 48 89 d8 48 c1 e8 03 42 80 3c 38 00 74 08 48 89 df e8 84 92 83 fa 4d 8b 5e f8 41 ba a0 82 3b 1a 45 03 53 fc 74 02 <0f> 0b 41 ff d3 49 81 fe 48 0f 0c 87 73 0f e8 51 c3 47 fa 48 83 c3
[ 4.416088][ T1] RSP: 0000:ffffc9000001fea8 EFLAGS: 00010286
[ 4.417598][ T1] RAX: 1ffffffff0e17435 RBX: ffffffff870ba1a8 RCX: 0000000000000000
[ 4.418979][ T1] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
[ 4.419917][ T1] RBP: ffffc9000001fec0 R08: 0000000000000000 R09: 0000000000000000
[ 4.420972][ T1] R10: 00000000bf7be9ac R11: ffffffff845062a0 R12: ffffffff85c3cac0
[ 4.421928][ T1] R13: 0000000000000000 R14: ffffffff870ba1b0 R15: dffffc0000000000
[ 4.422962][ T1] FS: 0000000000000000(0000) GS:ffffffff85cbf000(0000) knlGS:0000000000000000
[ 4.424092][ T1] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 4.425752][ T1] CR2: ffff88843ffff000 CR3: 0000000005c9f000 CR4: 00000000000406b0
[ 4.426963][ T1] Call Trace:
[ 4.427557][ T1] <TASK>
[ 4.428538][ T1] ? show_regs+0x8d/0xa8
[ 4.429613][ T1] ? __warn+0x113/0x218
[ 4.430599][ T1] ? do_basic_setup+0x64/0xa0
[ 4.431655][ T1] ? do_basic_setup+0x64/0xa0
[ 4.432641][ T1] ? report_cfi_failure+0x8a/0xa8
[ 4.433650][ T1] ? handle_cfi_failure+0x166/0x258
[ 4.434671][ T1] ? __cfi_asan.module_ctor+0x10/0x10
[ 4.435681][ T1] ? handle_bug+0x4e/0x80
[ 4.436640][ T1] ? exc_invalid_op+0x1b/0x58
[ 4.437654][ T1] ? asm_exc_invalid_op+0x1b/0x20
[ 4.438665][ T1] ? __cfi_asan.module_ctor+0x10/0x10
[ 4.439666][ T1] ? do_basic_setup+0x64/0xa0
[ 4.440569][ T1] ? do_basic_setup+0x77/0xa0
[ 4.441644][ T1] kernel_init_freeable+0x117/0x1c0
[ 4.442656][ T1] ? __cfi_kernel_init+0x8/0x8
[ 4.443645][ T1] kernel_init+0x22/0x1e8
[ 4.444623][ T1] ? __cfi_kernel_init+0x8/0x8
[ 4.445863][ T1] ret_from_fork+0x67/0x98
[ 4.446596][ T1] ? __cfi_kernel_init+0x8/0x8
[ 4.447615][ T1] ret_from_fork_asm+0x11/0x20
[ 4.448666][ T1] </TASK>
[ 4.449532][ T1] irq event stamp: 15431
[ 4.450600][ T1] hardirqs last enabled at (15443): [<ffffffff812dc7c5>] console_unlock+0xdd/0x188
[ 4.451996][ T1] hardirqs last disabled at (15454): [<ffffffff812dc7aa>] console_unlock+0xc2/0x188
[ 4.453041][ T1] softirqs last enabled at (15378): [<ffffffff811f6caf>] handle_softirqs+0x48f/0x5e0
[ 4.455033][ T1] softirqs last disabled at (15361): [<ffffffff811f6f50>] irq_exit_rcu+0x58/0x88
[ 4.456998][ T1] ---[ end trace 0000000000000000 ]---
[ 4.458130][ T1] CFI failure at do_basic_setup+0x64/0xa0 (target: asan.module_ctor+0x0/0x20; expected type: 0xe5c47d60)
[ 4.460087][ T1] WARNING: CPU: 0 PID: 1 at do_basic_setup+0x64/0xa0
[ 4.461699][ T1] Modules linked in:
[ 4.462586][ T1] CPU: 0 UID: 0 PID: 1 Comm: swapper Tainted: P 6.11.0-rc4-00048-gce4a2620985c #1
[ 4.464096][ T1] Tainted: [P]=PROPRIETARY_MODULE
[ 4.465630][ T1] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
[ 4.467090][ T1] RIP: 0010:do_basic_setup+0x64/0xa0
[ 4.468658][ T1] Code: 00 fc ff df 48 89 d8 48 c1 e8 03 42 80 3c 38 00 74 08 48 89 df e8 84 92 83 fa 4d 8b 5e f8 41 ba a0 82 3b 1a 45 03 53 fc 74 02 <0f> 0b 41 ff d3 49 81 fe 48 0f 0c 87 73 0f e8 51 c3 47 fa 48 83 c3
[ 4.470088][ T1] RSP: 0000:ffffc9000001fea8 EFLAGS: 00010286
... (and lots more)
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists