======================================
| 0
| xx__-> [ 29.947101][ T256] ip (256) used greatest stack depth: 24160 bytes left
| [ 37.382412][ C1] BUG: spinlock bad magic on CPU#1, tc/302
| [ 37.382630][ C1] lock: noop_qdisc+0x240/0x300, .magic: 00000000, .owner: tc/302, .owner_cpu: 1
[ 37.383117][ C1] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014
[ 37.383449][ C1] Call Trace:
[ 37.383566][ C1]
[ 37.383648][ C1] dump_stack_lvl (lib/dump_stack.c:122)
[ 37.383813][ C1] do_raw_spin_unlock (kernel/locking/spinlock_debug.c:100 kernel/locking/spinlock_debug.c:141)
[ 37.383966][ C1] _raw_spin_unlock (./arch/x86/include/asm/preempt.h:94 ./include/linux/spinlock_api_smp.h:143 kernel/locking/spinlock.c:186)
[ 37.384121][ 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)
[ 37.384273][ C1] handle_softirqs (kernel/softirq.c:554)
[ 37.384429][ 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)
[ 37.384588][ C1] do_softirq (kernel/softirq.c:455 kernel/softirq.c:442)
[ 37.384698][ C1]
[ 37.384775][ C1]
[ 37.384850][ C1] __local_bh_enable_ip (kernel/softirq.c:382)
[ 37.384995][ C1] dev_deactivate_many (net/sched/sch_generic.c:1356)
[ 37.385142][ C1] ? qdisc_create (net/sched/sch_api.c:1299)
[ 37.385293][ C1] ? tc_modify_qdisc (net/sched/sch_api.c:1777)
[ 37.385444][ C1] ? netlink_rcv_skb (net/netlink/af_netlink.c:2550)
[ 37.385599][ C1] dev_deactivate (./include/linux/list.h:111 ./include/linux/list.h:215 ./include/linux/list.h:229 net/sched/sch_generic.c:1398)
[ 37.385749][ C1] ? __pfx_dev_deactivate (net/sched/sch_generic.c:1393)
[ 37.385897][ C1] ? lockdep_init_map_type (kernel/locking/lockdep.c:4891)
[ 37.386042][ C1] ? __pfx_fifo_init (net/sched/sch_fifo.c:134)
[ 37.386190][ C1] ? lockdep_init_map_type (kernel/locking/lockdep.c:4891)
[ 37.386338][ C1] qdisc_graft (net/sched/sch_api.c:1137)
[ 37.386484][ C1] ? trace_qdisc_create (./include/trace/events/qdisc.h:127 (discriminator 52))
[ 37.386634][ C1] ? qdisc_create (net/sched/sch_api.c:1257)
[ 37.386787][ C1] ? __pfx_qdisc_graft (net/sched/sch_api.c:1105)
[ 37.386937][ C1] ? __pfx_qdisc_create (net/sched/sch_api.c:1257)
[ 37.387081][ C1] ? __nla_validate_parse (lib/nlattr.c:638)
[ 37.387227][ C1] tc_modify_qdisc (net/sched/sch_api.c:1789)
[ 37.387374][ C1] ? trace_contention_end (./include/trace/events/lock.h:122 (discriminator 52))
[ 37.387522][ C1] ? __pfx_tc_modify_qdisc (net/sched/sch_api.c:1604)
[ 37.387666][ C1] ? __mutex_lock (./arch/x86/include/asm/preempt.h:94 kernel/locking/mutex.c:618 kernel/locking/mutex.c:752)
[ 37.387820][ C1] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 52))
[ 37.387972][ C1] rtnetlink_rcv_msg (net/core/rtnetlink.c:6647)
[ 37.388119][ C1] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6541)
[ 37.388266][ 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)
[ 37.388410][ C1] ? mark_lock (kernel/locking/lockdep.c:4655 (discriminator 3))
[ 37.388520][ C1] ? __lock_acquire (kernel/locking/lockdep.c:5142)
[ 37.388671][ C1] netlink_rcv_skb (net/netlink/af_netlink.c:2550)
[ 37.388819][ C1] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6541)
[ 37.388966][ C1] ? __pfx_netlink_rcv_skb (net/netlink/af_netlink.c:2527)
[ 37.389117][ C1] ? netlink_deliver_tap (./include/linux/rcupdate.h:336 ./include/linux/rcupdate.h:869 net/netlink/af_netlink.c:340)
[ 37.389262][ 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)
[ 37.389410][ C1] netlink_unicast (net/netlink/af_netlink.c:1331 net/netlink/af_netlink.c:1357)
[ 37.389554][ C1] ? __pfx_netlink_unicast (net/netlink/af_netlink.c:1342)
[ 37.389702][ C1] netlink_sendmsg (net/netlink/af_netlink.c:1901)
[ 37.389848][ C1] ? __pfx_netlink_sendmsg (net/netlink/af_netlink.c:1820)
[ 37.389992][ C1] ? __import_iovec (lib/iov_iter.c:1263 lib/iov_iter.c:1279)
[ 37.390140][ C1] ____sys_sendmsg (net/socket.c:730 net/socket.c:745 net/socket.c:2597)
[ 37.390294][ C1] ? __pfx_____sys_sendmsg (net/socket.c:2543)
[ 37.390438][ C1] ? __pfx_copy_msghdr_from_user (net/socket.c:2523)
[ 37.390624][ C1] ___sys_sendmsg (net/socket.c:2653)
[ 37.390771][ C1] ? __pfx____sys_sendmsg (net/socket.c:2640)
[ 37.390915][ C1] ? kfree (mm/slub.c:4583)
[ 37.391025][ C1] ? ___sys_recvmsg (net/socket.c:2848)
[ 37.391167][ C1] ? __pfx____sys_recvmsg (net/socket.c:2848)
[ 37.391315][ C1] ? reacquire_held_locks (kernel/locking/lockdep.c:5284)
[ 37.391462][ C1] ? do_user_addr_fault (./include/linux/rcupdate.h:326 ./include/linux/rcupdate.h:838 ./include/linux/mm.h:713 arch/x86/mm/fault.c:1340)
[ 37.391613][ C1] ? __fget_light (./include/linux/atomic/atomic-arch-fallback.h:479 ./include/linux/atomic/atomic-instrumented.h:50 fs/file.c:1145)
[ 37.391760][ C1] __sys_sendmsg (./include/linux/file.h:34 net/socket.c:2682)
[ 37.391907][ C1] ? __pfx___sys_sendmsg (net/socket.c:2668)
[ 37.392053][ C1] ? __pfx___up_read (kernel/locking/rwsem.c:1339)
[ 37.392201][ C1] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83)
[ 37.392347][ C1] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130)
[ 37.392533][ C1] RIP: 0033:0x7f6ee7fd47b7
[ 37.392690][ C1] 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)
[ 37.393203][ C1] RSP: 002b:00007ffdc709b438 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
[ 37.393423][ C1] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007f6ee7fd47b7
[ 37.393644][ C1] RDX: 0000000000000000 RSI: 00007ffdc709b4a0 RDI: 0000000000000005
[ 37.393864][ C1] RBP: 000000000047c620 R08: 0000000000000014 R09: 0000000000000000
[ 37.394082][ C1] R10: 00007f6ee7e8d708 R11: 0000000000000246 R12: 00007ffdc70ab778
Finger prints:
do_raw_spin_unlock:_raw_spin_unlock:net_tx_action:handle_softirqs:do_softirq