====================================== | [ 40.603372][ T285] other info that might help us debug this: | [ 40.603572][ T285] no locks held by ip/285. | [ 40.603704][ T285] | [ 40.603704][ T285] stack backtrace: [ 40.604075][ T285] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 40.604356][ T285] Call Trace: [ 40.604460][ T285] [ 40.604528][ T285] dump_stack_lvl (lib/dump_stack.c:123) [ 40.604662][ T285] ? __rtnl_unlock (net/core/rtnetlink.c:140 (discriminator 3)) [ 40.604797][ T285] print_unlock_imbalance_bug (kernel/locking/lockdep.c:5266) [ 40.604929][ T285] __lock_release (kernel/locking/lockdep.c:5502) [ 40.605063][ T285] ? __pfx___lock_release (kernel/locking/lockdep.c:5477) [ 40.605201][ T285] ? __rtnl_unlock (net/core/rtnetlink.c:140 (discriminator 3)) [ 40.605330][ T285] lock_release (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5848) [ 40.605459][ T285] __mutex_unlock_slowpath (./include/linux/instrumented.h:68 ./include/linux/atomic/atomic-instrumented.h:3188 kernel/locking/mutex.c:921) [ 40.605593][ T285] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5790) [ 40.605723][ T285] ? __pfx___mutex_unlock_slowpath (kernel/locking/mutex.c:907) [ 40.605889][ T285] ? rtnl_link_ops_get (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 net/core/rtnetlink.c:558) [ 40.606020][ T285] __rtnl_unlock (net/core/rtnetlink.c:140 (discriminator 3)) [ 40.606150][ T285] rtnl_newlink (net/core/rtnetlink.c:3961) [ 40.606281][ T285] ? __pfx_rtnl_newlink (net/core/rtnetlink.c:3919) [ 40.606409][ T285] ? find_held_lock (kernel/locking/lockdep.c:5315) [ 40.606540][ T285] ? __lock_release (kernel/locking/lockdep.c:5501) [ 40.606668][ T285] ? rtnetlink_rcv_msg (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 net/core/rtnetlink.c:6926) [ 40.606798][ T285] ? __pfx___lock_release (kernel/locking/lockdep.c:5477) [ 40.606933][ T285] ? rtnetlink_rcv_msg (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 net/core/rtnetlink.c:6926) [ 40.607062][ T285] ? __pfx_rtnl_newlink (net/core/rtnetlink.c:3919) [ 40.607193][ T285] rtnetlink_rcv_msg (net/core/rtnetlink.c:6928) [ 40.607323][ T285] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6831) [ 40.607451][ T285] ? 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) [ 40.607579][ T285] ? mark_lock (kernel/locking/lockdep.c:4703 (discriminator 3)) [ 40.607678][ T285] ? __lock_acquire (kernel/locking/lockdep.c:5202) [ 40.607810][ T285] netlink_rcv_skb (net/netlink/af_netlink.c:2536) [ 40.607941][ T285] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6831) [ 40.608078][ T285] ? __pfx_netlink_rcv_skb (net/netlink/af_netlink.c:2513) [ 40.608211][ T285] ? netlink_deliver_tap (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 net/netlink/af_netlink.c:340) [ 40.608340][ T285] ? 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) [ 40.608474][ T285] netlink_unicast (net/netlink/af_netlink.c:1316 net/netlink/af_netlink.c:1342) [ 40.608603][ T285] ? __pfx_netlink_unicast (net/netlink/af_netlink.c:1327) [ 40.608733][ T285] ? find_held_lock (kernel/locking/lockdep.c:5315) [ 40.608865][ T285] netlink_sendmsg (net/netlink/af_netlink.c:1886) [ 40.608996][ T285] ? __pfx_netlink_sendmsg (net/netlink/af_netlink.c:1805) [ 40.609132][ T285] ____sys_sendmsg (net/socket.c:729 net/socket.c:744 net/socket.c:2609) [ 40.609263][ T285] ? __pfx_____sys_sendmsg (net/socket.c:2555) [ 40.609392][ T285] ? __pfx_copy_msghdr_from_user (net/socket.c:2535) [ 40.609555][ T285] ? __pfx_validate_chain (kernel/locking/lockdep.c:3860) [ 40.609684][ T285] ? 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) [ 40.609814][ T285] ___sys_sendmsg (net/socket.c:2665) [ 40.609943][ T285] ? __pfx____sys_sendmsg (net/socket.c:2652) [ 40.610077][ T285] ? __lock_acquire (kernel/locking/lockdep.c:5202) [ 40.610211][ T285] ? find_held_lock (kernel/locking/lockdep.c:5315) [ 40.610343][ T285] ? __lock_release (kernel/locking/lockdep.c:5501) [ 40.610472][ T285] ? __might_fault (mm/memory.c:6716 mm/memory.c:6709) [ 40.610604][ T285] ? __pfx___lock_release (kernel/locking/lockdep.c:5477) [ 40.610731][ T285] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 52)) [ 40.610861][ T285] ? __might_fault (mm/memory.c:6716 mm/memory.c:6709) [ 40.610989][ T285] ? lock_acquire (kernel/locking/lockdep.c:5798) [ 40.611119][ T285] ? fdget (./include/linux/atomic/atomic-arch-fallback.h:479 ./include/linux/atomic/atomic-instrumented.h:50 fs/file.c:1114 fs/file.c:1128) [ 40.611223][ T285] __sys_sendmsg (./include/linux/file.h:35 net/socket.c:2694) [ 40.611353][ T285] ? __pfx___sys_sendmsg (net/socket.c:2680) [ 40.611481][ T285] ? __pfx___rseq_handle_notify_resume (kernel/rseq.c:316) [ 40.611651][ T285] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 40.611782][ T285] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 40.611945][ T285] RIP: 0033:0x7fbdb4d4d7b7 [ 40.612081][ T285] 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) [ 40.612539][ T285] RSP: 002b:00007ffcb1071958 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 40.612736][ T285] RAX: ffffffffffffffda RBX: 00007ffcb1072080 RCX: 00007fbdb4d4d7b7 [ 40.612931][ T285] RDX: 0000000000000000 RSI: 00007ffcb10719c0 RDI: 0000000000000005 [ 40.613134][ T285] RBP: 0000000000000002 R08: 0000000000000044 R09: 0000000000000000 [ 40.613330][ T285] R10: 00007fbdb4c06708 R11: 0000000000000246 R12: 00007ffcb10720a0 Finger prints: print_unlock_imbalance_bug:__lock_release:lock_release:__mutex_unlock_slowpath:__rtnl_unlock