======================================
| 0
| xx__-> [ 27.701021][ T261] test-bond1: (slave test-bond0): Enslaving as an active interface with an up link
| [ 27.903743][ C3] BUG: spinlock bad magic on CPU#3, ip/263
| [ 27.904018][ C3] lock: noop_qdisc+0x240/0x300, .magic: 00000000, .owner: ip/263, .owner_cpu: 3
[ 27.904579][ C3] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014
[ 27.904953][ C3] Call Trace:
[ 27.905084][ C3]
[ 27.905171][ C3] dump_stack_lvl (lib/dump_stack.c:122)
[ 27.905358][ C3] do_raw_spin_unlock (kernel/locking/spinlock_debug.c:100 kernel/locking/spinlock_debug.c:141)
[ 27.905526][ C3] _raw_spin_unlock (./arch/x86/include/asm/preempt.h:94 ./include/linux/spinlock_api_smp.h:143 kernel/locking/spinlock.c:186)
[ 27.905696][ C3] 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)
[ 27.905865][ C3] handle_softirqs (kernel/softirq.c:554)
[ 27.906043][ C3] ? 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)
[ 27.906215][ C3] do_softirq (kernel/softirq.c:455 kernel/softirq.c:442)
[ 27.906342][ C3]
[ 27.906429][ C3]
[ 27.906513][ C3] __local_bh_enable_ip (kernel/softirq.c:382)
[ 27.906686][ C3] dev_deactivate_many (net/sched/sch_generic.c:1356)
[ 27.906859][ C3] __dev_close_many (net/core/dev.c:1547)
[ 27.907027][ C3] ? __pfx___dev_close_many (net/core/dev.c:1522)
[ 27.907195][ C3] dev_close_many (net/core/dev.c:1585)
[ 27.907368][ C3] ? find_held_lock (kernel/locking/lockdep.c:5249)
[ 27.907541][ C3] ? __pfx_dev_close_many (net/core/dev.c:1575)
[ 27.907707][ C3] ? __lock_release (kernel/locking/lockdep.c:5435)
[ 27.907876][ C3] ? bond_enslave (drivers/net/bonding/bond_main.c:1913)
[ 27.908062][ C3] dev_close (./include/linux/list.h:111 ./include/linux/list.h:215 ./include/linux/list.h:229 net/core/dev.c:1610 net/core/dev.c:1603)
[ 27.908191][ C3] ? __pfx_dev_close (net/core/dev.c:1604)
[ 27.908359][ C3] ? lockdep_hardirqs_on_prepare (kernel/locking/lockdep.c:4299 kernel/locking/lockdep.c:4358)
[ 27.908569][ C3] bond_enslave (drivers/net/bonding/bond_main.c:1504 drivers/net/bonding/bond_main.c:1914)
[ 27.908743][ C3] ? __pfx_validate_chain (kernel/locking/lockdep.c:3824)
[ 27.908913][ C3] ? __pfx_bond_enslave (drivers/net/bonding/bond_main.c:1827)
[ 27.909079][ C3] ? mark_lock (kernel/locking/lockdep.c:4655 (discriminator 3))
[ 27.909207][ C3] ? __lock_acquire (kernel/locking/lockdep.c:5142)
[ 27.909387][ C3] ? find_held_lock (kernel/locking/lockdep.c:5249)
[ 27.909558][ C3] ? 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)
[ 27.909722][ C3] ? rtnl_is_locked (net/core/rtnetlink.c:164)
[ 27.909893][ C3] ? netdev_master_upper_dev_get (net/core/dev.c:7102)
[ 27.910105][ C3] do_setlink (net/core/rtnetlink.c:2907)
[ 27.910273][ C3] ? is_bpf_text_address (./include/linux/rcupdate.h:336 ./include/linux/rcupdate.h:869 ./kernel/bpf/core.c:769)
[ 27.910449][ C3] ? __pfx_do_setlink (net/core/rtnetlink.c:2778)
[ 27.910619][ C3] ? is_bpf_text_address (./kernel/bpf/core.c:772)
[ 27.910790][ C3] ? kernel_text_address (kernel/extable.c:97 kernel/extable.c:94)
[ 27.910964][ C3] ? __kernel_text_address (kernel/extable.c:79)
[ 27.911133][ C3] ? unwind_get_return_address (arch/x86/kernel/unwind_orc.c:369 arch/x86/kernel/unwind_orc.c:364)
[ 27.911306][ C3] ? __pfx_stack_trace_consume_entry (kernel/stacktrace.c:83)
[ 27.911519][ C3] ? arch_stack_walk (arch/x86/kernel/stacktrace.c:26)
[ 27.911698][ C3] ? stack_trace_save (kernel/stacktrace.c:123)
[ 27.911866][ C3] ? __pfx_stack_trace_save (kernel/stacktrace.c:114)
[ 27.912038][ C3] ? __pfx_validate_nla (lib/nlattr.c:396)
[ 27.912208][ C3] ? mark_lock (kernel/locking/lockdep.c:4655 (discriminator 3))
[ 27.912339][ C3] ? kasan_save_stack (mm/kasan/common.c:49)
[ 27.912510][ C3] ? __nla_validate_parse (lib/nlattr.c:638)
[ 27.912679][ C3] __rtnl_newlink (net/core/rtnetlink.c:3696)
[ 27.912850][ C3] ? 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)
[ 27.913019][ C3] ? __pfx___rtnl_newlink (net/core/rtnetlink.c:3557)
[ 27.913191][ C3] ? lockdep_hardirqs_on_prepare (kernel/locking/lockdep.c:4299 kernel/locking/lockdep.c:4358)
[ 27.913400][ C3] ? __create_object (mm/kmemleak.c:751)
[ 27.913569][ C3] ? trace_kmalloc (./include/trace/events/kmem.h:54 (discriminator 52))
[ 27.913742][ C3] rtnl_newlink (net/core/rtnetlink.c:3744)
[ 27.913875][ C3] rtnetlink_rcv_msg (net/core/rtnetlink.c:6647)
[ 27.914044][ C3] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6541)
[ 27.914210][ C3] ? 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)
[ 27.914380][ C3] ? mark_lock (kernel/locking/lockdep.c:4655 (discriminator 3))
[ 27.914506][ C3] ? __lock_acquire (kernel/locking/lockdep.c:5142)
[ 27.914675][ C3] netlink_rcv_skb (net/netlink/af_netlink.c:2550)
[ 27.914838][ C3] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6541)
[ 27.915007][ C3] ? __pfx_netlink_rcv_skb (net/netlink/af_netlink.c:2527)
[ 27.915178][ C3] ? netlink_deliver_tap (./include/linux/rcupdate.h:336 ./include/linux/rcupdate.h:869 net/netlink/af_netlink.c:340)
[ 27.915432][ C3] ? 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)
[ 27.915600][ C3] netlink_unicast (net/netlink/af_netlink.c:1331 net/netlink/af_netlink.c:1357)
[ 27.915766][ C3] ? __pfx_netlink_unicast (net/netlink/af_netlink.c:1342)
[ 27.915934][ C3] ? find_held_lock (kernel/locking/lockdep.c:5249)
[ 27.916103][ C3] netlink_sendmsg (net/netlink/af_netlink.c:1901)
[ 27.916274][ C3] ? __pfx_netlink_sendmsg (net/netlink/af_netlink.c:1820)
[ 27.916445][ C3] ? __might_fault (mm/memory.c:6388 mm/memory.c:6381)
[ 27.916612][ C3] ? __import_iovec (lib/iov_iter.c:1263 lib/iov_iter.c:1279)
[ 27.916784][ C3] ____sys_sendmsg (net/socket.c:730 net/socket.c:745 net/socket.c:2597)
[ 27.916956][ C3] ? __pfx_____sys_sendmsg (net/socket.c:2543)
[ 27.917125][ C3] ? __pfx_copy_msghdr_from_user (net/socket.c:2523)
[ 27.917333][ C3] ? __pfx_validate_chain (kernel/locking/lockdep.c:3824)
[ 27.917504][ C3] ___sys_sendmsg (net/socket.c:2653)
[ 27.917671][ C3] ? __pfx____sys_sendmsg (net/socket.c:2640)
[ 27.917838][ C3] ? find_held_lock (kernel/locking/lockdep.c:5249)
[ 27.918017][ C3] ? __lock_release (kernel/locking/lockdep.c:5435)
[ 27.918187][ C3] ? __debug_check_no_obj_freed (lib/debugobjects.c:1001)
[ 27.918400][ C3] ? __pfx___lock_release (kernel/locking/lockdep.c:5411)
[ 27.918567][ C3] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114)
[ 27.918734][ C3] ? lockdep_hardirqs_on_prepare (kernel/locking/lockdep.c:4299 kernel/locking/lockdep.c:4358)
[ 27.918939][ C3] ? __fget_light (./include/linux/atomic/atomic-arch-fallback.h:479 ./include/linux/atomic/atomic-instrumented.h:50 fs/file.c:1145)
[ 27.919110][ C3] __sys_sendmsg (./include/linux/file.h:34 net/socket.c:2682)
[ 27.919274][ C3] ? __pfx___sys_sendmsg (net/socket.c:2668)
[ 27.919438][ C3] ? __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)
[ 27.919610][ C3] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83)
[ 27.919780][ C3] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130)
[ 27.919990][ C3] RIP: 0033:0x7fd5c31297b7
[ 27.920164][ C3] 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)
[ 27.920753][ C3] RSP: 002b:00007ffd8b290848 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
[ 27.921011][ C3] RAX: ffffffffffffffda RBX: 00007ffd8b290f70 RCX: 00007fd5c31297b7
[ 27.921264][ C3] RDX: 0000000000000000 RSI: 00007ffd8b2908b0 RDI: 0000000000000005
[ 27.921511][ C3] RBP: 0000000000000004 R08: 0000000000000003 R09: 0000000000000000
[ 27.921760][ C3] R10: 000000000c90b910 R11: 0000000000000246 R12: 0000000000000004
Finger prints:
do_raw_spin_unlock:_raw_spin_unlock:net_tx_action:handle_softirqs:do_softirq