====================================== | [ 45.553658][ T283] other info that might help us debug this: | [ 45.553846][ T283] no locks held by ip/283. | [ 45.553978][ T283] | [ 45.553978][ T283] stack backtrace: [ 45.554332][ T283] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 45.554624][ T283] Call Trace: [ 45.554732][ T283] [ 45.554800][ T283] dump_stack_lvl (lib/dump_stack.c:123) [ 45.555448][ T283] ? __rtnl_unlock (net/core/rtnetlink.c:140 (discriminator 3)) [ 45.555598][ T283] print_unlock_imbalance_bug (kernel/locking/lockdep.c:5266) [ 45.555746][ T283] __lock_release (kernel/locking/lockdep.c:5502) [ 45.555895][ T283] ? __pfx___lock_release (kernel/locking/lockdep.c:5477) [ 45.556038][ T283] ? __rtnl_unlock (net/core/rtnetlink.c:140 (discriminator 3)) [ 45.556183][ T283] lock_release (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5848) [ 45.556326][ T283] __mutex_unlock_slowpath (./include/linux/instrumented.h:68 ./include/linux/atomic/atomic-instrumented.h:3188 kernel/locking/mutex.c:921) [ 45.556470][ T283] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5790) [ 45.556611][ T283] ? __pfx___mutex_unlock_slowpath (kernel/locking/mutex.c:907) [ 45.556777][ T283] ? rtnl_link_ops_get (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 net/core/rtnetlink.c:558) [ 45.556905][ T283] __rtnl_unlock (net/core/rtnetlink.c:140 (discriminator 3)) [ 45.557038][ T283] rtnl_newlink (net/core/rtnetlink.c:3961) [ 45.557168][ T283] ? __pfx_rtnl_newlink (net/core/rtnetlink.c:3919) [ 45.557297][ T283] ? find_held_lock (kernel/locking/lockdep.c:5315) [ 45.557429][ T283] ? __lock_release (kernel/locking/lockdep.c:5501) [ 45.557559][ T283] ? rtnetlink_rcv_msg (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 net/core/rtnetlink.c:6926) [ 45.557697][ T283] ? __pfx___lock_release (kernel/locking/lockdep.c:5477) [ 45.557827][ T283] ? rtnetlink_rcv_msg (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 net/core/rtnetlink.c:6926) [ 45.557958][ T283] ? __pfx_rtnl_newlink (net/core/rtnetlink.c:3919) [ 45.558091][ T283] rtnetlink_rcv_msg (net/core/rtnetlink.c:6928) [ 45.558221][ T283] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6831) [ 45.558350][ T283] ? 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) [ 45.558481][ T283] ? mark_lock (kernel/locking/lockdep.c:4703 (discriminator 3)) [ 45.558581][ T283] ? __lock_acquire (kernel/locking/lockdep.c:5202) [ 45.558787][ T283] netlink_rcv_skb (net/netlink/af_netlink.c:2536) [ 45.558919][ T283] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6831) [ 45.559075][ T283] ? __pfx_netlink_rcv_skb (net/netlink/af_netlink.c:2513) [ 45.559208][ T283] ? netlink_deliver_tap (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 net/netlink/af_netlink.c:340) [ 45.559343][ T283] ? 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) [ 45.559473][ T283] netlink_unicast (net/netlink/af_netlink.c:1316 net/netlink/af_netlink.c:1342) [ 45.559611][ T283] ? __pfx_netlink_unicast (net/netlink/af_netlink.c:1327) [ 45.559742][ T283] ? find_held_lock (kernel/locking/lockdep.c:5315) [ 45.559874][ T283] netlink_sendmsg (net/netlink/af_netlink.c:1886) [ 45.560007][ T283] ? __pfx_netlink_sendmsg (net/netlink/af_netlink.c:1805) [ 45.560140][ T283] ____sys_sendmsg (net/socket.c:729 net/socket.c:744 net/socket.c:2609) [ 45.560274][ T283] ? __pfx_____sys_sendmsg (net/socket.c:2555) [ 45.560425][ T283] ? __pfx_copy_msghdr_from_user (net/socket.c:2535) [ 45.560596][ T283] ___sys_sendmsg (net/socket.c:2665) [ 45.560729][ T283] ? __pfx____sys_sendmsg (net/socket.c:2652) [ 45.560864][ T283] ? __pfx___debug_check_no_obj_freed (lib/debugobjects.c:960) [ 45.561025][ T283] ? __pfx_free_object_rcu (mm/kmemleak.c:514) [ 45.561159][ T283] ? trace_rcu_segcb_stats (./arch/x86/include/asm/bitops.h:227 ./arch/x86/include/asm/bitops.h:239 ./include/asm-generic/bitops/instrumented-non-atomic.h:142 ./include/linux/cpumask.h:570 ./include/linux/cpumask.h:1117 ./include/trace/events/rcu.h:537) [ 45.561291][ T283] ? lockdep_hardirqs_on_prepare (kernel/locking/lockdep.c:4347 kernel/locking/lockdep.c:4406) [ 45.561465][ T283] ? kmem_cache_free (mm/slub.c:4579 mm/slub.c:4681) [ 45.561599][ T283] ? do_sys_openat2 (fs/open.c:1418) [ 45.561729][ T283] ? do_sys_openat2 (fs/open.c:1424) [ 45.561862][ T283] ? fdget (./include/linux/atomic/atomic-arch-fallback.h:479 ./include/linux/atomic/atomic-instrumented.h:50 fs/file.c:1114 fs/file.c:1128) [ 45.561964][ T283] __sys_sendmsg (./include/linux/file.h:35 net/socket.c:2694) [ 45.562096][ T283] ? __pfx___sys_sendmsg (net/socket.c:2680) [ 45.562226][ T283] ? __pfx___up_read (kernel/locking/rwsem.c:1337) [ 45.562361][ T283] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 45.562496][ T283] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 45.562661][ T283] RIP: 0033:0x7efce655c7b7 [ 45.562800][ T283] 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) [ 45.563259][ T283] RSP: 002b:00007fff21405fe8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 45.563479][ T283] RAX: ffffffffffffffda RBX: 00007fff21406710 RCX: 00007efce655c7b7 [ 45.563678][ T283] RDX: 0000000000000000 RSI: 00007fff21406050 RDI: 0000000000000005 [ 45.563870][ T283] RBP: 0000000000000002 R08: 0000000000000044 R09: 0000000000000000 [ 45.564064][ T283] R10: 00007efce6415708 R11: 0000000000000246 R12: 00007fff21406730 Finger prints: print_unlock_imbalance_bug:__lock_release:lock_release:__mutex_unlock_slowpath:__rtnl_unlock