====================================== | 0 | xx__-> [ 34.214939][ T343] xdummy0: entered promiscuous mode | [ 34.230948][ C2] BUG: spinlock bad magic on CPU#2, tap/343 | [ 34.231188][ C2] lock: noop_qdisc+0x240/0x300, .magic: 00000000, .owner: tap/343, .owner_cpu: 2 [ 34.231686][ C2] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 34.232007][ C2] Call Trace: [ 34.232121][ C2] [ 34.232197][ C2] dump_stack_lvl (lib/dump_stack.c:122) [ 34.232352][ C2] do_raw_spin_unlock (kernel/locking/spinlock_debug.c:100 kernel/locking/spinlock_debug.c:141) [ 34.232500][ C2] _raw_spin_unlock (./arch/x86/include/asm/preempt.h:94 ./include/linux/spinlock_api_smp.h:143 kernel/locking/spinlock.c:186) [ 34.232647][ 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) [ 34.232794][ C2] handle_softirqs (kernel/softirq.c:554) [ 34.232949][ 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) [ 34.233099][ C2] do_softirq (kernel/softirq.c:455 kernel/softirq.c:442) [ 34.233207][ C2] [ 34.233281][ C2] [ 34.233362][ C2] __local_bh_enable_ip (kernel/softirq.c:382) [ 34.233507][ C2] dev_deactivate_many (net/sched/sch_generic.c:1356) [ 34.233654][ C2] __dev_close_many (net/core/dev.c:1547) [ 34.233799][ C2] ? __pfx___dev_close_many (net/core/dev.c:1522) [ 34.233941][ C2] ? __pfx___netdev_update_lower_level (net/core/dev.c:7608) [ 34.234119][ C2] ? __pfx___netdev_walk_all_upper_dev (net/core/dev.c:7219) [ 34.234307][ C2] dev_close_many (net/core/dev.c:1585) [ 34.234450][ C2] ? __pfx_br_device_event (net/bridge/br.c:29) [ 34.234595][ C2] ? __pfx_dev_close_many (net/core/dev.c:1575) [ 34.234740][ C2] ? packet_notifier (net/packet/af_packet.c:4295) [ 34.234890][ C2] ? ip6_route_dev_notify (./include/net/net_namespace.h:383 ./include/linux/netdevice.h:2586 net/ipv6/route.c:6284) [ 34.235036][ C2] unregister_netdevice_many_notify (net/core/dev.c:11321) [ 34.235221][ C2] ? __netdev_upper_dev_unlink (net/core/dev.c:8023 (discriminator 11)) [ 34.235399][ C2] ? __pfx___netdev_upper_dev_unlink (net/core/dev.c:8023) [ 34.235576][ C2] ? __pfx_unregister_netdevice_many_notify (net/core/dev.c:11288) [ 34.235757][ C2] ? rtnl_is_locked (net/core/rtnetlink.c:164) [ 34.235912][ C2] ? unregister_netdevice_queue (net/core/dev.c:11273) [ 34.236092][ C2] ? __pfx_unregister_netdevice_queue (net/core/dev.c:11272) [ 34.236273][ C2] ? mutex_is_locked (./arch/x86/include/asm/atomic64_64.h:15 ./include/linux/atomic/atomic-arch-fallback.h:2583 ./include/linux/atomic/atomic-long.h:38 ./include/linux/atomic/atomic-instrumented.h:3189 kernel/locking/mutex.c:81 kernel/locking/mutex.c:91) [ 34.236418][ C2] ? netdev_upper_dev_unlink (net/core/dev.c:8062) [ 34.236563][ C2] ? __pfx_netdev_upper_dev_unlink (net/core/dev.c:8062) [ 34.236746][ C2] rtnl_dellink (net/core/rtnetlink.c:3254 net/core/rtnetlink.c:3304) [ 34.236891][ 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) [ 34.237046][ C2] ? __pfx_rtnl_dellink (net/core/rtnetlink.c:3260) [ 34.237214][ C2] ? trace_contention_end (./include/trace/events/lock.h:122 (discriminator 52)) [ 34.237366][ C2] ? __mutex_lock (./arch/x86/include/asm/preempt.h:94 kernel/locking/mutex.c:618 kernel/locking/mutex.c:752) [ 34.237512][ C2] ? find_held_lock (kernel/locking/lockdep.c:5249) [ 34.237657][ C2] ? __pfx___mutex_lock (kernel/locking/mutex.c:751) [ 34.237805][ C2] ? __pfx___lock_release (kernel/locking/lockdep.c:5411) [ 34.237948][ C2] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5724) [ 34.238098][ C2] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 52)) [ 34.238248][ C2] rtnetlink_rcv_msg (net/core/rtnetlink.c:6647) [ 34.238393][ C2] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6541) [ 34.238536][ 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) [ 34.238688][ C2] ? mark_lock (kernel/locking/lockdep.c:4655 (discriminator 3)) [ 34.238797][ C2] ? __lock_acquire (kernel/locking/lockdep.c:5142) [ 34.238941][ C2] netlink_rcv_skb (net/netlink/af_netlink.c:2550) [ 34.239089][ C2] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6541) [ 34.239236][ C2] ? __pfx_netlink_rcv_skb (net/netlink/af_netlink.c:2527) [ 34.239382][ C2] ? netlink_deliver_tap (./include/linux/rcupdate.h:336 ./include/linux/rcupdate.h:869 net/netlink/af_netlink.c:340) [ 34.239528][ 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) [ 34.239670][ C2] netlink_unicast (net/netlink/af_netlink.c:1331 net/netlink/af_netlink.c:1357) [ 34.239813][ C2] ? __pfx_netlink_unicast (net/netlink/af_netlink.c:1342) [ 34.239954][ C2] ? netlink_autobind.isra.0 (net/netlink/af_netlink.c:831) [ 34.240095][ C2] ? netlink_autobind.isra.0 (net/netlink/af_netlink.c:854) [ 34.240239][ C2] netlink_sendmsg (net/netlink/af_netlink.c:1901) [ 34.240384][ C2] ? __pfx_netlink_sendmsg (net/netlink/af_netlink.c:1820) [ 34.240529][ C2] ? __fget_light (./include/linux/atomic/atomic-arch-fallback.h:479 ./include/linux/atomic/atomic-instrumented.h:50 fs/file.c:1145) [ 34.240676][ C2] __sys_sendto (net/socket.c:730 net/socket.c:745 net/socket.c:2204) [ 34.240821][ C2] ? __pfx___sys_sendto (net/socket.c:2174) [ 34.240965][ C2] ? __lock_release (kernel/locking/lockdep.c:5435) [ 34.241110][ C2] ? __pfx___lock_release (kernel/locking/lockdep.c:5411) [ 34.241252][ C2] ? fd_install (./include/linux/rcupdate.h:336 ./include/linux/rcupdate.h:951 fs/file.c:631) [ 34.241393][ C2] ? fd_install (./arch/x86/include/asm/preempt.h:94 ./include/linux/rcupdate.h:953 fs/file.c:631) [ 34.241542][ C2] ? __sys_socket (net/socket.c:497 net/socket.c:1715) [ 34.241690][ C2] ? __pfx___sys_socket (net/socket.c:1702) [ 34.241836][ C2] __x64_sys_sendto (net/socket.c:2212) [ 34.241981][ C2] ? lockdep_hardirqs_on_prepare (kernel/locking/lockdep.c:4299 kernel/locking/lockdep.c:4358) [ 34.242161][ C2] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 34.242310][ C2] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 34.242489][ C2] RIP: 0033:0x7f32ab40c700 [ 34.242638][ C2] Code: ff ff 64 89 02 eb bd 0f 1f 00 f3 0f 1e fa 41 89 ca 64 8b 04 25 18 00 00 00 85 c0 75 1d 45 31 c9 45 31 c0 b8 2c 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 68 c3 0f 1f 80 00 00 00 00 41 54 48 83 ec 20 All code ======== 0: ff (bad) 1: ff 64 89 02 jmp *0x2(%rcx,%rcx,4) 5: eb bd jmp 0xffffffffffffffc4 7: 0f 1f 00 nopl (%rax) a: f3 0f 1e fa endbr64 e: 41 89 ca mov %ecx,%r10d 11: 64 8b 04 25 18 00 00 mov %fs:0x18,%eax 18: 00 19: 85 c0 test %eax,%eax 1b: 75 1d jne 0x3a 1d: 45 31 c9 xor %r9d,%r9d 20: 45 31 c0 xor %r8d,%r8d 23: b8 2c 00 00 00 mov $0x2c,%eax 28: 0f 05 syscall 2a:* 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax <-- trapping instruction 30: 77 68 ja 0x9a 32: c3 ret 33: 0f 1f 80 00 00 00 00 nopl 0x0(%rax) 3a: 41 54 push %r12 3c: 48 83 ec 20 sub $0x20,%rsp Code starting with the faulting instruction =========================================== 0: 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax 6: 77 68 ja 0x70 8: c3 ret 9: 0f 1f 80 00 00 00 00 nopl 0x0(%rax) 10: 41 54 push %r12 12: 48 83 ec 20 sub $0x20,%rsp [ 34.243142][ C2] RSP: 002b:00007ffc973521e8 EFLAGS: 00000246 ORIG_RAX: 000000000000002c [ 34.243362][ C2] RAX: ffffffffffffffda RBX: 0000000000000030 RCX: 00007f32ab40c700 [ 34.243578][ C2] RDX: 0000000000000030 RSI: 00007ffc973521f0 RDI: 0000000000000005 [ 34.243795][ C2] RBP: 00000000004047b0 R08: 0000000000000000 R09: 0000000000000000 [ 34.244009][ C2] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000005 Finger prints: do_raw_spin_unlock:_raw_spin_unlock:net_tx_action:handle_softirqs:do_softirq