[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202504151654.adca9912-lkp@intel.com>
Date: Tue, 15 Apr 2025 16:40:39 +0800
From: kernel test robot <oliver.sang@...el.com>
To: Jakub Kicinski <kuba@...nel.org>
CC: <oe-lkp@...ts.linux.dev>, <lkp@...el.com>, Joe Damato
<jdamato@...tly.com>, Stanislav Fomichev <sdf@...ichev.me>,
<netdev@...r.kernel.org>, <oliver.sang@...el.com>
Subject: [linux-next:master] 99e44f39a8:
WARNING:at_include/net/netdev_lock.h:#netdev_nl_dev_fill
Hello,
kernel test robot noticed "WARNING:at_include/net/netdev_lock.h:#netdev_nl_dev_fill" on:
commit: 99e44f39a8f7138f8b9d2bd87b17fceb483f8998 ("netdev: depend on netdev->lock for xdp features")
https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git master
[test failed on linux-next/master 01c6df60d5d4ae00cd5c1648818744838bba7763]
in testcase: trinity
version:
with following parameters:
runtime: 300s
group: group-02
nr_groups: 5
config: x86_64-randconfig-101-20250410
compiler: clang-20
test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -smp 2 -m 16G
(please refer to attached dmesg/kmsg for entire log/backtrace)
+-------------------------------------------------------------+------------+------------+
| | 03df156dd3 | 99e44f39a8 |
+-------------------------------------------------------------+------------+------------+
| WARNING:at_include/net/netdev_lock.h:#netdev_nl_dev_fill | 0 | 5 |
| RIP:netdev_nl_dev_fill | 0 | 5 |
+-------------------------------------------------------------+------------+------------+
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/202504151654.adca9912-lkp@intel.com
[ 141.666631][ T3846] ------------[ cut here ]------------
[ 141.668033][ T3846] WARNING: CPU: 0 PID: 3846 at include/net/netdev_lock.h:17 netdev_nl_dev_fill (include/net/netdev_lock.h:17)
[ 141.669548][ T3846] Modules linked in: usbtest
[ 141.670575][ T3846] CPU: 0 UID: 0 PID: 3846 Comm: trinity-c0 Not tainted 6.14.0-13326-g99e44f39a8f7 #1 NONE
[ 141.672184][ T3846] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
[ 141.673817][ T3846] RIP: 0010:netdev_nl_dev_fill (include/net/netdev_lock.h:17)
[ 141.674755][ T3846] Code: 0f 85 10 01 00 00 45 03 75 00 45 29 fe 4c 89 f8 48 c1 e8 03 0f b6 04 18 84 c0 0f 85 14 01 00 00 45 89 37 31 c0 e9 27 ff ff ff <0f> 0b e9 08 fc ff ff 0f 0b 41 80 3c 1c 00 0f 85 f4 fe ff ff e9 f7
All code
========
0: 0f 85 10 01 00 00 jne 0x116
6: 45 03 75 00 add 0x0(%r13),%r14d
a: 45 29 fe sub %r15d,%r14d
d: 4c 89 f8 mov %r15,%rax
10: 48 c1 e8 03 shr $0x3,%rax
14: 0f b6 04 18 movzbl (%rax,%rbx,1),%eax
18: 84 c0 test %al,%al
1a: 0f 85 14 01 00 00 jne 0x134
20: 45 89 37 mov %r14d,(%r15)
23: 31 c0 xor %eax,%eax
25: e9 27 ff ff ff jmp 0xffffffffffffff51
2a:* 0f 0b ud2 <-- trapping instruction
2c: e9 08 fc ff ff jmp 0xfffffffffffffc39
31: 0f 0b ud2
33: 41 80 3c 1c 00 cmpb $0x0,(%r12,%rbx,1)
38: 0f 85 f4 fe ff ff jne 0xffffffffffffff32
3e: e9 .byte 0xe9
3f: f7 .byte 0xf7
Code starting with the faulting instruction
===========================================
0: 0f 0b ud2
2: e9 08 fc ff ff jmp 0xfffffffffffffc0f
7: 0f 0b ud2
9: 41 80 3c 1c 00 cmpb $0x0,(%r12,%rbx,1)
e: 0f 85 f4 fe ff ff jne 0xffffffffffffff08
14: e9 .byte 0xe9
15: f7 .byte 0xf7
[ 141.677856][ T3846] RSP: 0000:ffffc90003dff950 EFLAGS: 00010246
[ 141.678825][ T3846] RAX: 0000000000000000 RBX: dffffc0000000000 RCX: 0000000000000000
[ 141.680156][ T3846] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
[ 141.681572][ T3846] RBP: 0000000000000002 R08: 0000000000000000 R09: 0000000000000000
[ 141.682885][ T3846] R10: 0000000000000000 R11: 0000000000000000 R12: ffff88810f6dc000
[ 141.684194][ T3846] R13: dffffc0000000000 R14: ffff88813add8a00 R15: ffffc90003dff9a0
[ 141.685536][ T3846] FS: 0000000008890880(0000) GS:0000000000000000(0000) knlGS:0000000000000000
[ 141.686950][ T3846] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 141.688016][ T3846] CR2: 0000000000001000 CR3: 000000012d9f2000 CR4: 00000000000406b0
[ 141.692243][ T3846] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 141.693575][ T3846] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 141.694988][ T3846] Call Trace:
[ 141.695668][ T3846] <TASK>
[ 141.696325][ T3846] ? __alloc_skb (net/core/skbuff.c:684)
[ 141.697154][ T3846] netdev_genl_dev_notify (net/core/netdev-genl.c:102)
[ 141.698076][ T3846] ? __cfi_netdev_genl_netdevice_event (net/core/netdev-genl.c:956)
[ 141.699093][ T3846] netdev_genl_netdevice_event (net/core/netdev-genl.c:971)
[ 141.700068][ T3846] raw_notifier_call_chain (kernel/notifier.c:90 kernel/notifier.c:453)
[ 141.700981][ T3846] register_netdevice (net/core/dev.c:2273 net/core/dev.c:2287 net/core/dev.c:11109)
[ 141.701874][ T3846] register_netdev (net/core/dev.c:11188)
[ 141.702692][ T3846] loopback_net_init (drivers/net/loopback.c:219)
[ 141.703546][ T3846] ops_init (net/core/net_namespace.c:139)
[ 141.704338][ T3846] ? lock_acquire (kernel/locking/lockdep.c:5866)
[ 141.705148][ T3846] setup_net (net/core/net_namespace.c:364)
[ 141.705896][ T3846] copy_net_ns (net/core/net_namespace.c:518)
[ 141.706671][ T3846] create_new_namespaces (kernel/nsproxy.c:110)
[ 141.707596][ T3846] unshare_nsproxy_namespaces (kernel/nsproxy.c:228)
[ 141.708613][ T3846] ksys_unshare (kernel/fork.c:3377)
[ 141.709417][ T3846] __ia32_sys_unshare (kernel/fork.c:3446 kernel/fork.c:3444 kernel/fork.c:3444)
[ 141.710301][ T3846] do_int80_emulation (arch/x86/entry/syscall_32.c:?)
[ 141.711196][ T3846] ? do_syscall_64 (arch/x86/entry/syscall_64.c:113)
[ 141.712062][ T3846] ? _copy_to_user (arch/x86/include/asm/uaccess_64.h:126 arch/x86/include/asm/uaccess_64.h:147 include/linux/uaccess.h:197 lib/usercopy.c:26)
[ 141.712883][ T3846] ? do_int80_emulation (arch/x86/include/asm/jump_label.h:36 arch/x86/entry/syscall_32.c:148)
[ 141.713749][ T3846] asm_int80_emulation (arch/x86/include/asm/idtentry.h:626)
[ 141.714602][ T3846] RIP: 0033:0x407ebc
[ 141.715337][ T3846] Code: 83 c0 01 41 89 80 40 30 00 00 8b 44 24 04 4c 89 d1 48 8b 54 24 08 4c 89 de 4c 89 e7 55 41 50 41 51 41 52 41 53 4c 89 cd cd 80 <41> 5b 41 5a 41 59 41 58 5d 48 3d 7a ff ff ff 49 89 c4 0f 87 5c 01
All code
========
0: 83 c0 01 add $0x1,%eax
3: 41 89 80 40 30 00 00 mov %eax,0x3040(%r8)
a: 8b 44 24 04 mov 0x4(%rsp),%eax
e: 4c 89 d1 mov %r10,%rcx
11: 48 8b 54 24 08 mov 0x8(%rsp),%rdx
16: 4c 89 de mov %r11,%rsi
19: 4c 89 e7 mov %r12,%rdi
1c: 55 push %rbp
1d: 41 50 push %r8
1f: 41 51 push %r9
21: 41 52 push %r10
23: 41 53 push %r11
25: 4c 89 cd mov %r9,%rbp
28: cd 80 int $0x80
2a:* 41 5b pop %r11 <-- trapping instruction
2c: 41 5a pop %r10
2e: 41 59 pop %r9
30: 41 58 pop %r8
32: 5d pop %rbp
33: 48 3d 7a ff ff ff cmp $0xffffffffffffff7a,%rax
39: 49 89 c4 mov %rax,%r12
3c: 0f .byte 0xf
3d: 87 .byte 0x87
3e: 5c pop %rsp
3f: 01 .byte 0x1
Code starting with the faulting instruction
===========================================
0: 41 5b pop %r11
2: 41 5a pop %r10
4: 41 59 pop %r9
6: 41 58 pop %r8
8: 5d pop %rbp
9: 48 3d 7a ff ff ff cmp $0xffffffffffffff7a,%rax
f: 49 89 c4 mov %rax,%r12
12: 0f .byte 0xf
13: 87 .byte 0x87
14: 5c pop %rsp
15: 01 .byte 0x1
[ 141.718357][ T3846] RSP: 002b:00007ffd5d3ef228 EFLAGS: 00000202 ORIG_RAX: 0000000000000136
[ 141.719853][ T3846] RAX: ffffffffffffffda RBX: 0000000044020000 RCX: 000000000000000d
[ 141.721224][ T3846] RDX: 00000000c7c7c7c7 RSI: 000000000000003a RDI: fffffffffffffffd
[ 141.722604][ T3846] RBP: fffffffffffffff6 R08: 00007ff21606d000 R09: fffffffffffffff6
[ 141.724055][ T3846] R10: 000000000000000d R11: 000000000000003a R12: fffffffffffffffd
[ 141.725437][ T3846] R13: 00007ff215d76058 R14: 0000000008890850 R15: 00007ff215d76000
[ 141.726820][ T3846] </TASK>
[ 141.727442][ T3846] irq event stamp: 4373695
[ 141.728266][ T3846] hardirqs last enabled at (4373707): __console_unlock (arch/x86/include/asm/irqflags.h:19 arch/x86/include/asm/irqflags.h:109 arch/x86/include/asm/irqflags.h:151 kernel/printk/printk.c:344 kernel/printk/printk.c:2885)
[ 141.729809][ T3846] hardirqs last disabled at (4373716): __console_unlock (kernel/printk/printk.c:342)
[ 141.731371][ T3846] softirqs last enabled at (4373318): __irq_exit_rcu (arch/x86/include/asm/jump_label.h:36 kernel/softirq.c:682)
[ 141.732938][ T3846] softirqs last disabled at (4373309): __irq_exit_rcu (arch/x86/include/asm/jump_label.h:36 kernel/softirq.c:682)
[ 141.734464][ T3846] ---[ end trace 0000000000000000 ]---
The kernel config and materials to reproduce are available at:
https://download.01.org/0day-ci/archive/20250415/202504151654.adca9912-lkp@intel.com
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists