====================================== | [ 32.422833][ T245] dummy1: entered promiscuous mode | [ 32.423436][ T245] dummy2: entered promiscuous mode | [ 32.424835][ C1] BUG: spinlock bad magic on CPU#1, (udev-worker)/248 | [ 32.425056][ C1] lock: noop_qdisc+0x240/0x300, .magic: 00000000, .owner: (udev-worker)/248, .owner_cpu: 1 [ 32.425615][ C1] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 32.425946][ C1] Call Trace: [ 32.426060][ C1] [ 32.426140][ C1] dump_stack_lvl (lib/dump_stack.c:122) [ 32.426296][ C1] do_raw_spin_unlock (kernel/locking/spinlock_debug.c:100 kernel/locking/spinlock_debug.c:141) [ 32.426481][ C1] _raw_spin_unlock (./arch/x86/include/asm/preempt.h:94 ./include/linux/spinlock_api_smp.h:143 kernel/locking/spinlock.c:186) [ 32.426646][ C1] 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) [ 32.426831][ C1] handle_softirqs (kernel/softirq.c:554) [ 32.427006][ C1] ? 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) [ 32.427242][ C1] do_softirq (kernel/softirq.c:455 kernel/softirq.c:442) [ 32.427403][ C1] [ 32.427514][ C1] [ 32.427622][ C1] __local_bh_enable_ip (kernel/softirq.c:382) [ 32.427865][ C1] dev_deactivate_many (net/sched/sch_generic.c:1356) [ 32.428026][ C1] ? 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) [ 32.428186][ C1] dev_deactivate (./include/linux/list.h:111 ./include/linux/list.h:215 ./include/linux/list.h:229 net/sched/sch_generic.c:1398) [ 32.428338][ C1] ? __pfx_dev_deactivate (net/sched/sch_generic.c:1393) [ 32.428514][ C1] linkwatch_do_dev (net/core/link_watch.c:177) [ 32.428716][ C1] rtnl_getlink (net/core/rtnetlink.c:3853) [ 32.428936][ C1] ? finish_task_switch.isra.0 (kernel/sched/sched.h:1427 kernel/sched/core.c:4942 kernel/sched/core.c:5060) [ 32.429202][ C1] ? __pfx_rtnl_getlink (net/core/rtnetlink.c:3798) [ 32.429366][ C1] ? do_raw_spin_unlock (./arch/x86/include/asm/atomic.h:23 ./include/linux/atomic/atomic-arch-fallback.h:457 ./include/linux/atomic/atomic-instrumented.h:33 ./include/asm-generic/qspinlock.h:57 kernel/locking/spinlock_debug.c:101 kernel/locking/spinlock_debug.c:141) [ 32.429507][ C1] ? _raw_spin_unlock (./arch/x86/include/asm/preempt.h:94 ./include/linux/spinlock_api_smp.h:143 kernel/locking/spinlock.c:186) [ 32.429664][ C1] ? __mutex_lock (./arch/x86/include/asm/preempt.h:94 kernel/locking/mutex.c:733 kernel/locking/mutex.c:752) [ 32.429839][ C1] ? rtnetlink_rcv_msg (net/core/rtnetlink.c:6645) [ 32.430009][ C1] ? __pfx___mutex_lock (kernel/locking/mutex.c:751) [ 32.430196][ C1] ? __pfx___lock_release (kernel/locking/lockdep.c:5411) [ 32.430412][ C1] rtnetlink_rcv_msg (net/core/rtnetlink.c:6647) [ 32.430632][ C1] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6541) [ 32.430866][ C1] ? 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) [ 32.431115][ C1] ? mark_lock (kernel/locking/lockdep.c:4655 (discriminator 3)) [ 32.431266][ C1] ? __lock_acquire (kernel/locking/lockdep.c:5142) [ 32.431408][ C1] netlink_rcv_skb (net/netlink/af_netlink.c:2550) [ 32.431550][ C1] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6541) [ 32.431694][ C1] ? __pfx_netlink_rcv_skb (net/netlink/af_netlink.c:2527) [ 32.431873][ C1] ? netlink_deliver_tap (./include/linux/rcupdate.h:336 ./include/linux/rcupdate.h:869 net/netlink/af_netlink.c:340) [ 32.432034][ C1] ? 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) [ 32.432196][ C1] netlink_unicast (net/netlink/af_netlink.c:1331 net/netlink/af_netlink.c:1357) [ 32.432364][ C1] ? __pfx_netlink_unicast (net/netlink/af_netlink.c:1342) [ 32.432528][ C1] ? find_held_lock (kernel/locking/lockdep.c:5249) [ 32.432696][ C1] netlink_sendmsg (net/netlink/af_netlink.c:1901) [ 32.432885][ C1] ? __pfx_netlink_sendmsg (net/netlink/af_netlink.c:1820) [ 32.433181][ C1] ? __might_fault (mm/memory.c:6388 mm/memory.c:6381) [ 32.433416][ C1] ? __might_fault (mm/memory.c:6388 mm/memory.c:6381) [ 32.433648][ C1] __sys_sendto (net/socket.c:730 net/socket.c:745 net/socket.c:2204) [ 32.433889][ C1] ? __pfx___sys_sendto (net/socket.c:2174) [ 32.434130][ C1] ? __pfx_do_sock_getsockopt (net/socket.c:2364) [ 32.434304][ C1] ? __pfx___sys_socket (net/socket.c:1702) [ 32.434448][ C1] __x64_sys_sendto (net/socket.c:2212) [ 32.434630][ C1] ? lockdep_hardirqs_on_prepare (kernel/locking/lockdep.c:4299 kernel/locking/lockdep.c:4358) [ 32.434906][ C1] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 32.435113][ C1] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 32.435339][ C1] RIP: 0033:0x7fee935bf85a [ 32.435581][ C1] Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb b8 0f 1f 00 f3 0f 1e fa 41 89 ca 64 8b 04 25 18 00 00 00 85 c0 75 15 b8 2c 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 7e c3 0f 1f 44 00 00 41 54 48 83 ec 30 44 89 All code ======== 0: d8 64 89 02 fsubs 0x2(%rcx,%rcx,4) 4: 48 c7 c0 ff ff ff ff mov $0xffffffffffffffff,%rax b: eb b8 jmp 0xffffffffffffffc5 d: 0f 1f 00 nopl (%rax) 10: f3 0f 1e fa endbr64 14: 41 89 ca mov %ecx,%r10d 17: 64 8b 04 25 18 00 00 mov %fs:0x18,%eax 1e: 00 1f: 85 c0 test %eax,%eax 21: 75 15 jne 0x38 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 7e ja 0xb0 32: c3 ret 33: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 38: 41 54 push %r12 3a: 48 83 ec 30 sub $0x30,%rsp 3e: 44 rex.R 3f: 89 .byte 0x89 Code starting with the faulting instruction =========================================== 0: 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax 6: 77 7e ja 0x86 8: c3 ret 9: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) e: 41 54 push %r12 10: 48 83 ec 30 sub $0x30,%rsp 14: 44 rex.R 15: 89 .byte 0x89 [ 32.436329][ C1] RSP: 002b:00007ffc82699a28 EFLAGS: 00000246 ORIG_RAX: 000000000000002c [ 32.436692][ C1] RAX: ffffffffffffffda RBX: 000055a7e8da4320 RCX: 00007fee935bf85a [ 32.437050][ C1] RDX: 0000000000000020 RSI: 000055a7e8db7060 RDI: 0000000000000005 [ 32.437381][ C1] RBP: 000055a7e8dd92b0 R08: 00007ffc82699a30 R09: 0000000000000080 [ 32.437707][ C1] R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffc82699af4 Finger prints: do_raw_spin_unlock:_raw_spin_unlock:net_tx_action:handle_softirqs:do_softirq