======================================
| 0
| xx__-> [ 33.437735][ T252] netdevsim netdevsim1337 eni1337np2: renamed from eth0
| [ 60.266070][ C2] BUG: spinlock bad magic on CPU#2, ip/533
| [ 60.266415][ C2] lock: noop_qdisc+0x240/0x300, .magic: 00000000, .owner: ip/533, .owner_cpu: 2
[ 60.267206][ C2] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014
[ 60.267611][ C2] Call Trace:
[ 60.267743][ C2]
[ 60.267862][ C2] dump_stack_lvl (lib/dump_stack.c:122)
[ 60.268092][ C2] do_raw_spin_unlock (kernel/locking/spinlock_debug.c:100 kernel/locking/spinlock_debug.c:141)
[ 60.268308][ C2] _raw_spin_unlock (./arch/x86/include/asm/preempt.h:94 ./include/linux/spinlock_api_smp.h:143 kernel/locking/spinlock.c:186)
[ 60.268533][ C2] net_tx_action (./include/net/sch_generic.h:226 ./include/net/sch_generic.h:217 ./include/net/pkt_sched.h:128 ./include/net/pkt_sched.h:124 net/core/dev.c:5323)
[ 60.268705][ C2] handle_softirqs (kernel/softirq.c:554)
[ 60.268856][ C2] ? dev_deactivate_many (./include/linux/bottom_half.h:33 ./include/linux/netdevice.h:4448 net/sched/sch_generic.c:571 net/sched/sch_generic.c:1363)
[ 60.269039][ C2] do_softirq (kernel/softirq.c:455 kernel/softirq.c:442)
[ 60.269191][ C2]
[ 60.269310][ C2]
[ 60.269452][ C2] __local_bh_enable_ip (kernel/softirq.c:382)
[ 60.269678][ C2] dev_deactivate_many (net/sched/sch_generic.c:1356)
[ 60.269928][ C2] __dev_close_many (net/core/dev.c:1547)
[ 60.270157][ C2] ? __pfx___dev_close_many (net/core/dev.c:1522)
[ 60.270395][ C2] ? mark_held_locks (kernel/locking/lockdep.c:4273)
[ 60.270619][ C2] ? lockdep_hardirqs_on_prepare (kernel/locking/lockdep.c:4299 kernel/locking/lockdep.c:4358)
[ 60.270897][ C2] __dev_change_flags (./include/linux/list.h:111 ./include/linux/list.h:215 ./include/linux/list.h:229 net/core/dev.c:1571 net/core/dev.c:8836)
[ 60.271135][ C2] ? __pfx___dev_change_flags (net/core/dev.c:8802)
[ 60.271358][ C2] dev_change_flags (net/core/dev.c:8910)
[ 60.271581][ C2] do_setlink (net/core/rtnetlink.c:2900)
[ 60.271808][ C2] ? is_bpf_text_address (./include/linux/rcupdate.h:336 ./include/linux/rcupdate.h:869 ./kernel/bpf/core.c:769)
[ 60.272031][ C2] ? __pfx_do_setlink (net/core/rtnetlink.c:2778)
[ 60.272263][ C2] ? is_bpf_text_address (./kernel/bpf/core.c:772)
[ 60.272490][ C2] ? kernel_text_address (kernel/extable.c:97 kernel/extable.c:94)
[ 60.272710][ C2] ? __kernel_text_address (kernel/extable.c:79)
[ 60.272932][ C2] ? unwind_get_return_address (arch/x86/kernel/unwind_orc.c:369 arch/x86/kernel/unwind_orc.c:364)
[ 60.273155][ C2] ? __pfx_stack_trace_consume_entry (kernel/stacktrace.c:83)
[ 60.273437][ C2] ? arch_stack_walk (arch/x86/kernel/stacktrace.c:26)
[ 60.273671][ C2] ? stack_trace_save (kernel/stacktrace.c:123)
[ 60.273895][ C2] ? __pfx_stack_trace_save (kernel/stacktrace.c:114)
[ 60.274112][ C2] ? stack_depot_save_flags (lib/stackdepot.c:609)
[ 60.274333][ C2] ? mark_lock (kernel/locking/lockdep.c:4655 (discriminator 3))
[ 60.274508][ C2] ? kasan_save_stack (mm/kasan/common.c:49)
[ 60.274738][ C2] ? kasan_save_stack (mm/kasan/common.c:48)
[ 60.274980][ C2] ? kasan_save_track (./arch/x86/include/asm/current.h:49 mm/kasan/common.c:60 mm/kasan/common.c:69)
[ 60.275236][ C2] ? __kasan_kmalloc (mm/kasan/common.c:391)
[ 60.275474][ C2] ? rtnl_newlink (./include/linux/slab.h:681 net/core/rtnetlink.c:3739)
[ 60.275691][ C2] ? rtnetlink_rcv_msg (net/core/rtnetlink.c:6647)
[ 60.275913][ C2] ? netlink_rcv_skb (net/netlink/af_netlink.c:2550)
[ 60.276135][ C2] ? netlink_unicast (net/netlink/af_netlink.c:1329 net/netlink/af_netlink.c:1357)
[ 60.276356][ C2] ? __nla_validate_parse (./include/net/netlink.h:1267 (discriminator 1) lib/nlattr.c:622 (discriminator 1))
[ 60.276571][ C2] ? ____sys_sendmsg (net/socket.c:730 net/socket.c:745 net/socket.c:2597)
[ 60.276789][ C2] ? ___sys_sendmsg (net/socket.c:2653)
[ 60.277009][ C2] __rtnl_newlink (net/core/rtnetlink.c:3696)
[ 60.277252][ C2] ? hlock_class (./arch/x86/include/asm/bitops.h:227 ./arch/x86/include/asm/bitops.h:239 ./include/asm-generic/bitops/instrumented-non-atomic.h:142 kernel/locking/lockdep.c:227)
[ 60.277489][ C2] ? __pfx___rtnl_newlink (net/core/rtnetlink.c:3557)
[ 60.277716][ C2] ? lockdep_hardirqs_on_prepare (kernel/locking/lockdep.c:4299 kernel/locking/lockdep.c:4358)
[ 60.277919][ C2] ? __create_object (mm/kmemleak.c:751)
[ 60.278112][ C2] ? trace_kmalloc (./include/trace/events/kmem.h:54 (discriminator 52))
[ 60.278304][ C2] rtnl_newlink (net/core/rtnetlink.c:3744)
[ 60.278457][ C2] rtnetlink_rcv_msg (net/core/rtnetlink.c:6647)
[ 60.278679][ C2] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6541)
[ 60.278898][ C2] ? hlock_class (./arch/x86/include/asm/bitops.h:227 ./arch/x86/include/asm/bitops.h:239 ./include/asm-generic/bitops/instrumented-non-atomic.h:142 kernel/locking/lockdep.c:227)
[ 60.279121][ C2] ? mark_lock (kernel/locking/lockdep.c:4655 (discriminator 3))
[ 60.279295][ C2] ? __lock_acquire (kernel/locking/lockdep.c:5142)
[ 60.279537][ C2] netlink_rcv_skb (net/netlink/af_netlink.c:2550)
[ 60.279751][ C2] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6541)
[ 60.279935][ C2] ? __pfx_netlink_rcv_skb (net/netlink/af_netlink.c:2527)
[ 60.280163][ C2] ? netlink_deliver_tap (./include/linux/rcupdate.h:336 ./include/linux/rcupdate.h:869 net/netlink/af_netlink.c:340)
[ 60.280388][ C2] ? netlink_deliver_tap (./include/linux/rcupdate.h:336 ./include/linux/rcupdate.h:869 ./include/net/netns/generic.h:48 net/netlink/af_netlink.c:333)
[ 60.280615][ C2] netlink_unicast (net/netlink/af_netlink.c:1331 net/netlink/af_netlink.c:1357)
[ 60.280846][ C2] ? __pfx_netlink_unicast (net/netlink/af_netlink.c:1342)
[ 60.281068][ C2] ? find_held_lock (kernel/locking/lockdep.c:5249)
[ 60.281302][ C2] netlink_sendmsg (net/netlink/af_netlink.c:1901)
[ 60.281459][ C2] ? __pfx_netlink_sendmsg (net/netlink/af_netlink.c:1820)
[ 60.281603][ C2] ? __might_fault (mm/memory.c:6388 mm/memory.c:6381)
[ 60.281775][ C2] ? __import_iovec (lib/iov_iter.c:1263 lib/iov_iter.c:1279)
[ 60.281983][ C2] ____sys_sendmsg (net/socket.c:730 net/socket.c:745 net/socket.c:2597)
[ 60.282217][ C2] ? __pfx_____sys_sendmsg (net/socket.c:2543)
[ 60.282437][ C2] ? __pfx_copy_msghdr_from_user (net/socket.c:2523)
[ 60.282712][ C2] ? __pfx_validate_chain (kernel/locking/lockdep.c:3824)
[ 60.282943][ C2] ___sys_sendmsg (net/socket.c:2653)
[ 60.283165][ C2] ? __pfx____sys_sendmsg (net/socket.c:2640)
[ 60.283386][ C2] ? find_held_lock (kernel/locking/lockdep.c:5249)
[ 60.283608][ C2] ? __lock_release (kernel/locking/lockdep.c:5435)
[ 60.283826][ C2] ? __debug_check_no_obj_freed (lib/debugobjects.c:1001)
[ 60.284102][ C2] ? __pfx___lock_release (kernel/locking/lockdep.c:5411)
[ 60.284323][ C2] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114)
[ 60.284554][ C2] ? lockdep_hardirqs_on_prepare (kernel/locking/lockdep.c:4299 kernel/locking/lockdep.c:4358)
[ 60.284833][ C2] ? __fget_light (./include/linux/atomic/atomic-arch-fallback.h:479 ./include/linux/atomic/atomic-instrumented.h:50 fs/file.c:1145)
[ 60.285061][ C2] __sys_sendmsg (./include/linux/file.h:34 net/socket.c:2682)
[ 60.285321][ C2] ? __pfx___sys_sendmsg (net/socket.c:2668)
[ 60.285559][ C2] ? __virt_addr_valid (./arch/x86/include/asm/preempt.h:94 ./include/linux/rcupdate.h:953 ./include/linux/mmzone.h:2034 arch/x86/mm/physaddr.c:65)
[ 60.285805][ C2] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83)
[ 60.286044][ C2] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130)
[ 60.286336][ C2] RIP: 0033:0x7f0142ba97b7
[ 60.286587][ C2] Code: 0a 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b9 0f 1f 00 f3 0f 1e fa 64 8b 04 25 18 00 00 00 85 c0 75 10 b8 2e 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 51 c3 48 83 ec 28 89 54 24 1c 48 89 74 24 10
All code
========
0: 0a 00 or (%rax),%al
2: f7 d8 neg %eax
4: 64 89 02 mov %eax,%fs:(%rdx)
7: 48 c7 c0 ff ff ff ff mov $0xffffffffffffffff,%rax
e: eb b9 jmp 0xffffffffffffffc9
10: 0f 1f 00 nopl (%rax)
13: f3 0f 1e fa endbr64
17: 64 8b 04 25 18 00 00 mov %fs:0x18,%eax
1e: 00
1f: 85 c0 test %eax,%eax
21: 75 10 jne 0x33
23: b8 2e 00 00 00 mov $0x2e,%eax
28: 0f 05 syscall
2a:* 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax <-- trapping instruction
30: 77 51 ja 0x83
32: c3 ret
33: 48 83 ec 28 sub $0x28,%rsp
37: 89 54 24 1c mov %edx,0x1c(%rsp)
3b: 48 89 74 24 10 mov %rsi,0x10(%rsp)
Code starting with the faulting instruction
===========================================
0: 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax
6: 77 51 ja 0x59
8: c3 ret
9: 48 83 ec 28 sub $0x28,%rsp
d: 89 54 24 1c mov %edx,0x1c(%rsp)
11: 48 89 74 24 10 mov %rsi,0x10(%rsp)
[ 60.287422][ C2] RSP: 002b:00007ffc192bba38 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
[ 60.287780][ C2] RAX: ffffffffffffffda RBX: 00007ffc192bc160 RCX: 00007f0142ba97b7
[ 60.288178][ C2] RDX: 0000000000000000 RSI: 00007ffc192bbaa0 RDI: 0000000000000005
[ 60.288509][ C2] RBP: 0000000000000003 R08: 0000000000000003 R09: 0000000000000078
[ 60.288841][ C2] R10: 00007f0142a67ef8 R11: 0000000000000246 R12: 0000000000000003
Finger prints:
do_raw_spin_unlock:_raw_spin_unlock:net_tx_action:handle_softirqs:do_softirq