====================================== | [ 27.200227][ T251] other info that might help us debug this: | [ 27.200418][ T251] no locks held by ip/251. | [ 27.200552][ T251] | [ 27.200552][ T251] stack backtrace: [ 27.200898][ T251] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 27.201176][ T251] Call Trace: [ 27.201283][ T251] [ 27.201350][ T251] dump_stack_lvl (lib/dump_stack.c:123) [ 27.201481][ T251] ? __rtnl_unlock (net/core/rtnetlink.c:140 (discriminator 3)) [ 27.201615][ T251] print_unlock_imbalance_bug (kernel/locking/lockdep.c:5266) [ 27.201744][ T251] __lock_release (kernel/locking/lockdep.c:5502) [ 27.201874][ T251] ? __pfx___lock_release (kernel/locking/lockdep.c:5477) [ 27.202003][ T251] ? __rtnl_unlock (net/core/rtnetlink.c:140 (discriminator 3)) [ 27.202131][ T251] lock_release (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5848) [ 27.202257][ T251] __mutex_unlock_slowpath (./include/linux/instrumented.h:68 ./include/linux/atomic/atomic-instrumented.h:3188 kernel/locking/mutex.c:921) [ 27.202389][ T251] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5790) [ 27.202516][ T251] ? __pfx___mutex_unlock_slowpath (kernel/locking/mutex.c:907) [ 27.202679][ T251] ? rtnl_link_ops_get (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 net/core/rtnetlink.c:558) [ 27.202807][ T251] __rtnl_unlock (net/core/rtnetlink.c:140 (discriminator 3)) [ 27.202937][ T251] rtnl_newlink (net/core/rtnetlink.c:3961) [ 27.203065][ T251] ? __pfx_rtnl_newlink (net/core/rtnetlink.c:3919) [ 27.203192][ T251] ? find_held_lock (kernel/locking/lockdep.c:5315) [ 27.203322][ T251] ? __lock_release (kernel/locking/lockdep.c:5501) [ 27.203449][ T251] ? rtnetlink_rcv_msg (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 net/core/rtnetlink.c:6926) [ 27.203578][ T251] ? __pfx___lock_release (kernel/locking/lockdep.c:5477) [ 27.203711][ T251] ? rtnetlink_rcv_msg (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 net/core/rtnetlink.c:6926) [ 27.203838][ T251] ? __pfx_rtnl_newlink (net/core/rtnetlink.c:3919) [ 27.203966][ T251] rtnetlink_rcv_msg (net/core/rtnetlink.c:6928) [ 27.204098][ T251] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6831) [ 27.204228][ T251] ? 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:228) [ 27.204357][ T251] ? mark_lock (kernel/locking/lockdep.c:4703 (discriminator 3)) [ 27.204455][ T251] ? __lock_acquire (kernel/locking/lockdep.c:5202) [ 27.204587][ T251] netlink_rcv_skb (net/netlink/af_netlink.c:2536) [ 27.204718][ T251] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6831) [ 27.204850][ T251] ? __pfx_netlink_rcv_skb (net/netlink/af_netlink.c:2513) [ 27.204981][ T251] ? netlink_deliver_tap (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 net/netlink/af_netlink.c:340) [ 27.205110][ T251] ? netlink_deliver_tap (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 ./include/net/netns/generic.h:48 net/netlink/af_netlink.c:333) [ 27.205240][ T251] netlink_unicast (net/netlink/af_netlink.c:1316 net/netlink/af_netlink.c:1342) [ 27.205369][ T251] ? __pfx_netlink_unicast (net/netlink/af_netlink.c:1327) [ 27.205494][ T251] ? find_held_lock (kernel/locking/lockdep.c:5315) [ 27.205625][ T251] netlink_sendmsg (net/netlink/af_netlink.c:1886) [ 27.205771][ T251] ? __pfx_netlink_sendmsg (net/netlink/af_netlink.c:1805) [ 27.205900][ T251] ____sys_sendmsg (net/socket.c:729 net/socket.c:744 net/socket.c:2609) [ 27.206030][ T251] ? __pfx_____sys_sendmsg (net/socket.c:2555) [ 27.206156][ T251] ? __pfx_copy_msghdr_from_user (net/socket.c:2535) [ 27.206319][ T251] ? 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:228) [ 27.206446][ T251] ? validate_chain (./include/linux/hash.h:78 kernel/locking/lockdep.c:3794 kernel/locking/lockdep.c:3817 kernel/locking/lockdep.c:3872) [ 27.206573][ T251] ___sys_sendmsg (net/socket.c:2665) [ 27.206700][ T251] ? __pfx_validate_chain (kernel/locking/lockdep.c:3860) [ 27.206834][ T251] ? __pfx____sys_sendmsg (net/socket.c:2652) [ 27.206962][ T251] ? __lock_acquire (kernel/locking/lockdep.c:5202) [ 27.207100][ T251] ? find_held_lock (kernel/locking/lockdep.c:5315) [ 27.207230][ T251] ? __lock_release (kernel/locking/lockdep.c:5501) [ 27.207361][ T251] ? __might_fault (mm/memory.c:6716 mm/memory.c:6709) [ 27.207489][ T251] ? fdget (./include/linux/atomic/atomic-arch-fallback.h:479 ./include/linux/atomic/atomic-instrumented.h:50 fs/file.c:1114 fs/file.c:1128) [ 27.207586][ T251] ? lock_acquire (kernel/locking/lockdep.c:5798) [ 27.207716][ T251] __sys_sendmsg (./include/linux/file.h:35 net/socket.c:2694) [ 27.207843][ T251] ? __pfx___sys_sendmsg (net/socket.c:2680) [ 27.207975][ T251] ? rseq_update_cpu_node_id (kernel/rseq.c:109 (discriminator 10)) [ 27.208110][ T251] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 27.208242][ T251] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 27.208402][ T251] RIP: 0033:0x7f95191747b7 [ 27.208539][ T251] 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.208996][ T251] RSP: 002b:00007ffca4a7e8f8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 27.209195][ T251] RAX: ffffffffffffffda RBX: 00007ffca4a7f020 RCX: 00007f95191747b7 [ 27.209386][ T251] RDX: 0000000000000000 RSI: 00007ffca4a7e960 RDI: 0000000000000005 [ 27.209589][ T251] RBP: 0000000000000008 R08: 0000000000000068 R09: 0000000000000000 [ 27.209780][ T251] R10: 00007f95191c3ac0 R11: 0000000000000246 R12: 00007ffca4a7f038 Finger prints: print_unlock_imbalance_bug:__lock_release:lock_release:__mutex_unlock_slowpath:__rtnl_unlock