lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202503041412.5cf70b18-lkp@intel.com>
Date: Tue, 4 Mar 2025 14:25:54 +0800
From: kernel test robot <oliver.sang@...el.com>
To: Menglong Dong <menglong8.dong@...il.com>
CC: <oe-lkp@...ts.linux.dev>, <lkp@...el.com>, Menglong Dong
	<dongml2@...natelecom.cn>, <linux-arm-kernel@...ts.infradead.org>,
	<linux-kernel@...r.kernel.org>, <linux-trace-kernel@...r.kernel.org>,
	<rostedt@...dmis.org>, <mark.rutland@....com>,
	<alexei.starovoitov@...il.com>, <catalin.marinas@....com>, <will@...nel.org>,
	<mhiramat@...nel.org>, <tglx@...utronix.de>, <mingo@...hat.com>,
	<bp@...en8.de>, <dave.hansen@...ux.intel.com>, <x86@...nel.org>,
	<hpa@...or.com>, <mathieu.desnoyers@...icios.com>, <nathan@...nel.org>,
	<ndesaulniers@...gle.com>, <morbo@...gle.com>, <justinstitt@...gle.com>,
	<akpm@...ux-foundation.org>, <rppt@...nel.org>, <graf@...zon.com>,
	<dan.j.williams@...el.com>, <bpf@...r.kernel.org>, <llvm@...ts.linux.dev>,
	<oliver.sang@...el.com>
Subject: Re: [PATCH bpf-next v2] add function metadata support



Hello,

kernel test robot noticed "CFI_failure_at__seccomp_filter" on:

commit: 449ee82c2013c0e0ccfe716bc3f8fff1a3651cb8 ("[PATCH bpf-next v2] add function metadata support")
url: https://github.com/intel-lab-lkp/linux/commits/Menglong-Dong/add-function-metadata-support/20250226-202312
base: https://git.kernel.org/cgit/linux/kernel/git/bpf/bpf-next.git master
patch link: https://lore.kernel.org/all/20250226121537.752241-1-dongml2@chinatelecom.cn/
patch subject: [PATCH bpf-next v2] add function metadata support

in testcase: boot

config: x86_64-randconfig-077-20250228
compiler: clang-19
test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -smp 2 -m 16G

(please refer to attached dmesg/kmsg for entire log/backtrace)


+--------------------------------------+------------+------------+
|                                      | 4e4136c644 | 449ee82c20 |
+--------------------------------------+------------+------------+
| boot_successes                       | 12         | 0          |
| boot_failures                        | 0          | 12         |
| CFI_failure_at__seccomp_filter       | 0          | 12         |
| WARNING:CPU:#PID:#at__seccomp_filter | 0          | 12         |
| RIP:__seccomp_filter                 | 0          | 12         |
+--------------------------------------+------------+------------+


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/202503041412.5cf70b18-lkp@intel.com


The kernel config and materials to reproduce are available at:
https://download.01.org/0day-ci/archive/20250304/202503041412.5cf70b18-lkp@intel.com


[   47.224161][   T71] CFI failure at __seccomp_filter+0x419/0x1505 (target: 0xffffffffa0000d78; expected type: 0xd9421881)
[   47.225919][   T71] WARNING: CPU: 0 PID: 71 at __seccomp_filter+0x419/0x1505
[   47.227037][   T71] Modules linked in: font drm_panel_orientation_quirks autofs4
[   47.228206][   T71] CPU: 0 UID: 0 PID: 71 Comm: systemd-journal Not tainted 6.14.0-rc3-00256-g449ee82c2013 #1
[   47.229699][   T71] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
[   47.231293][   T71] RIP: 0010:__seccomp_filter+0x419/0x1505
[   47.232177][   T71] Code: ff df 80 3c 08 00 74 08 48 89 df e8 06 a5 3d 00 49 83 c7 48 48 8b 7d b0 4c 89 fe 4c 8b 1b 41 ba 7f e7 bd 26 45 03 53 c1 74 02 <0f> 0b 41 ff d3 89 c3 89 d8 44 21 e8 44 89 e1 44 21 e9 39 c8 48 8b
[   47.234992][   T71] RSP: 0000:ffffc90000d4fd18 EFLAGS: 00010296
[   47.235895][   T71] RAX: 1ffff9200000ea06 RBX: ffffc90000075030 RCX: dffffc0000000000
[   47.237038][   T71] RDX: 0000000000000000 RSI: ffffc90000075048 RDI: ffffc90000d4fd18
[   47.238193][   T71] RBP: ffffc90000d4fe98 R08: 0000000000000000 R09: 0000000000000000
[   47.240441][   T71] R10: 00000000f38ab44b R11: ffffffffa0000d78 R12: 000000007fff0000
[   47.241594][   T71] R13: 00000000ffff0000 R14: ffff888195158e00 R15: ffffc90000075048
[   47.242791][   T71] FS:  0000000000000000(0000) GS:ffffffff84443000(0000) knlGS:0000000000000000
[   47.244083][   T71] CS:  0010 DS: 002b ES: 002b CR0: 0000000080050033
[   47.245000][   T71] CR2: 00000000f7f6a01c CR3: 0000000195c01000 CR4: 00000000000406f0
[   47.246154][   T71] Call Trace:
[   47.246736][   T71]  <TASK>
[   47.247169][   T71]  ? show_regs+0x5c/0x80
[   47.247812][   T71]  ? __warn+0xf7/0x200
[   47.248427][   T71]  ? __seccomp_filter+0x419/0x1505
[   47.249202][   T71]  ? __seccomp_filter+0x419/0x1505
[   47.249964][   T71]  ? report_cfi_failure+0x7a/0xc0
[   47.250833][   T71]  ? handle_cfi_failure+0x1d5/0x27b
[   47.251619][   T71]  ? handle_bug+0x62/0xc5
[   47.252263][   T71]  ? exc_invalid_op+0x1f/0xbb
[   47.252966][   T71]  ? asm_exc_invalid_op+0x1f/0x40
[   47.253716][   T71]  ? __seccomp_filter+0x419/0x1505
[   47.254556][   T71]  ? __seccomp_filter+0x391/0x1505
[   47.255373][   T71]  ? putname+0xd5/0x140
[   47.256045][   T71]  ? __kasan_slab_free+0x46/0x80
[   47.256841][   T71]  ? kmem_cache_free+0x176/0x380
[   47.257629][   T71]  ? putname+0xd5/0x140
[   47.258338][   T71]  ? putname+0xd5/0x140
[   47.259100][   T71]  ? user_path_at+0x43/0x80
[   47.259875][   T71]  __secure_computing+0xdb/0x2fb
[   47.260669][   T71]  syscall_trace_enter+0xae/0x13b
[   47.261464][   T71]  do_int80_emulation+0x7d/0x140
[   47.262299][   T71]  asm_int80_emulation+0x1f/0x40
[   47.263153][   T71] RIP: 0023:0xf7f88cb0
[   47.263837][   T71] Code: 4c 24 34 89 44 24 0c 8b 44 24 44 8b 54 24 38 8b 74 24 3c 8b 7c 24 40 a9 ff 0f 00 00 75 1c c1 e8 0c 89 c5 b8 c0 00 00 00 cd 80 <3d> 00 f0 ff ff 77 21 83 c4 1c 5b 5e 5f 5d c3 90 83 c4 1c b8 ea ff
[   47.266925][   T71] RSP: 002b:00000000ffbbaac0 EFLAGS: 00000246 ORIG_RAX: 00000000000000c0
[   47.268242][   T71] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000002000
[   47.269513][   T71] RDX: 0000000000000003 RSI: 0000000000000022 RDI: 00000000ffffffff
[   47.270868][   T71] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
[   47.272143][   T71] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
[   47.273426][   T71] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
[   47.274794][   T71]  </TASK>
[   47.275309][   T71] irq event stamp: 6683
[   47.275991][   T71] hardirqs last  enabled at (6691): [<ffffffff814f0bb0>] __console_unlock+0x75/0xc5
[   47.277474][   T71] hardirqs last disabled at (6698): [<ffffffff814f0b95>] __console_unlock+0x5a/0xc5
[   47.279025][   T71] softirqs last  enabled at (5774): [<ffffffff81317b30>] fpu_flush_thread+0x1b0/0x340
[   47.280534][   T71] softirqs last disabled at (5772): [<ffffffff81317b30>] fpu_flush_thread+0x1b0/0x340
[   47.282053][   T71] ---[ end trace 0000000000000000 ]---
[   47.283041][   T71] CFI failure at __seccomp_filter+0x419/0x1505 (target: 0xffffffffa0000cec; expected type: 0xd9421881)
[   47.284738][   T71] WARNING: CPU: 0 PID: 71 at __seccomp_filter+0x419/0x1505
[   47.285815][   T71] Modules linked in: font drm_panel_orientation_quirks autofs4
[   47.287080][   T71] CPU: 0 UID: 0 PID: 71 Comm: systemd-journal Tainted: P                   6.14.0-rc3-00256-g449ee82c2013 #1
[   47.288846][   T71] Tainted: [P]=PROPRIETARY_MODULE
[   47.289635][   T71] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
[   47.291262][   T71] RIP: 0010:__seccomp_filter+0x419/0x1505
[   47.292164][   T71] Code: ff df 80 3c 08 00 74 08 48 89 df e8 06 a5 3d 00 49 83 c7 48 48 8b 7d b0 4c 89 fe 4c 8b 1b 41 ba 7f e7 bd 26 45 03 53 c1 74 02 <0f> 0b 41 ff d3 89 c3 89 d8 44 21 e8 44 89 e1 44 21 e9 39 c8 48 8b
[   47.294996][   T71] RSP: 0000:ffffc90000d4fd18 EFLAGS: 00010296
[   47.295952][   T71] RAX: 1ffff9200000e606 RBX: ffffc90000073030 RCX: dffffc0000000000
[   47.297166][   T71] RDX: 0000000000000000 RSI: ffffc90000073048 RDI: ffffc90000d4fd18
[   47.298403][   T71] RBP: ffffc90000d4fe98 R08: 0000000000000000 R09: 0000000000000000
[   47.299660][   T71] R10: 00000000f38ab44b R11: ffffffffa0000cec R12: 000000007fff0000
[   47.300851][   T71] R13: 00000000ffff0000 R14: ffff888195158200 R15: ffffc90000073048
[   47.302042][   T71] FS:  0000000000000000(0000) GS:ffffffff84443000(0000) knlGS:0000000000000000
[   47.303293][   T71] CS:  0010 DS: 002b ES: 002b CR0: 0000000080050033
[   47.304156][   T71] CR2: 00000000f7f6a01c CR3: 0000000195c01000 CR4: 00000000000406f0
[   47.305149][   T71] Call Trace:
[   47.305594][   T71]  <TASK>
[   47.306045][   T71]  ? show_regs+0x5c/0x80
[   47.306778][   T71]  ? __warn+0xf7/0x200
[   47.307428][   T71]  ? __seccomp_filter+0x419/0x1505
[   47.308228][   T71]  ? __seccomp_filter+0x419/0x1505
[   47.309008][   T71]  ? report_cfi_failure+0x7a/0xc0
[   47.309781][   T71]  ? handle_cfi_failure+0x1d5/0x27b
[   47.310662][   T71]  ? handle_bug+0x62/0xc5
[   47.311249][   T71]  ? exc_invalid_op+0x1f/0xbb
[   47.311851][   T71]  ? asm_exc_invalid_op+0x1f/0x40
[   47.312604][   T71]  ? __seccomp_filter+0x419/0x1505
[   47.313383][   T71]  ? __seccomp_filter+0x41e/0x1505
[   47.314172][   T71]  ? putname+0xd5/0x140
[   47.314893][   T71]  ? __kasan_slab_free+0x46/0x80
[   47.315651][   T71]  ? kmem_cache_free+0x176/0x380
[   47.316399][   T71]  ? putname+0xd5/0x140
[   47.317031][   T71]  ? putname+0xd5/0x140
[   47.317650][   T71]  ? user_path_at+0x43/0x80
[   47.318340][   T71]  __secure_computing+0xdb/0x2fb
[   47.319073][   T71]  syscall_trace_enter+0xae/0x13b
[   47.319752][   T71]  do_int80_emulation+0x7d/0x140
[   47.320440][   T71]  asm_int80_emulation+0x1f/0x40
[   47.321158][   T71] RIP: 0023:0xf7f88cb0
[   47.321762][   T71] Code: 4c 24 34 89 44 24 0c 8b 44 24 44 8b 54 24 38 8b 74 24 3c 8b 7c 24 40 a9 ff 0f 00 00 75 1c c1 e8 0c 89 c5 b8 c0 00 00 00 cd 80 <3d> 00 f0 ff ff 77 21 83 c4 1c 5b 5e 5f 5d c3 90 83 c4 1c b8 ea ff
[   47.324586][   T71] RSP: 002b:00000000ffbbaac0 EFLAGS: 00000246 ORIG_RAX: 00000000000000c0
[   47.325827][   T71] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000002000
[   47.327053][   T71] RDX: 0000000000000003 RSI: 0000000000000022 RDI: 00000000ffffffff
[   47.328188][   T71] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
[   47.329334][   T71] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
[   47.330527][   T71] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
[   47.331478][   T71]  </TASK>
[   47.331880][   T71] irq event stamp: 7199
[   47.332440][   T71] hardirqs last  enabled at (7207): [<ffffffff814f0bb0>] __console_unlock+0x75/0xc5
[   47.333803][   T71] hardirqs last disabled at (7214): [<ffffffff814f0b95>] __console_unlock+0x5a/0xc5
[   47.335245][   T71] softirqs last  enabled at (7154): [<ffffffff813de303>] handle_softirqs+0x548/0x6c5
[   47.336680][   T71] softirqs last disabled at (7143): [<ffffffff813de763>] __irq_exit_rcu+0x68/0x145
[   47.337992][   T71] ---[ end trace 0000000000000000 ]---
[   47.338944][   T71] CFI failure at __seccomp_filter+0x419/0x1505 (target: 0xffffffffa0000c60; expected type: 0xd9421881)
[   47.340603][   T71] WARNING: CPU: 0 PID: 71 at __seccomp_filter+0x419/0x1505
[   47.341705][   T71] Modules linked in: font drm_panel_orientation_quirks autofs4
[   47.342944][   T71] CPU: 0 UID: 0 PID: 71 Comm: systemd-journal Tainted: P                   6.14.0-rc3-00256-g449ee82c2013 #1
[   47.344497][   T71] Tainted: [P]=PROPRIETARY_MODULE
[   47.345236][   T71] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
[   47.346778][   T71] RIP: 0010:__seccomp_filter+0x419/0x1505
[   47.347432][   T71] Code: ff df 80 3c 08 00 74 08 48 89 df e8 06 a5 3d 00 49 83 c7 48 48 8b 7d b0 4c 89 fe 4c 8b 1b 41 ba 7f e7 bd 26 45 03 53 c1 74 02 <0f> 0b 41 ff d3 89 c3 89 d8 44 21 e8 44 89 e1 44 21 e9 39 c8 48 8b
[   47.349980][   T71] RSP: 0000:ffffc90000d4fd18 EFLAGS: 00010292
[   47.350959][   T71] RAX: 1ffff9200000e206 RBX: ffffc90000071030 RCX: dffffc0000000000
[   47.352116][   T71] RDX: 0000000000000000 RSI: ffffc90000071048 RDI: ffffc90000d4fd18

...


-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ