====================================== | [ 41.761819][ T284] other info that might help us debug this: | [ 41.762013][ T284] no locks held by ip/284. | [ 41.762150][ T284] | [ 41.762150][ T284] stack backtrace: [ 41.762516][ T284] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 41.762808][ T284] Call Trace: [ 41.762925][ T284] [ 41.762999][ T284] dump_stack_lvl (lib/dump_stack.c:123) [ 41.763142][ T284] ? __rtnl_unlock (net/core/rtnetlink.c:140 (discriminator 3)) [ 41.763280][ T284] print_unlock_imbalance_bug (kernel/locking/lockdep.c:5266) [ 41.763416][ T284] __lock_release (kernel/locking/lockdep.c:5502) [ 41.763551][ T284] ? __pfx___lock_release (kernel/locking/lockdep.c:5477) [ 41.763686][ T284] ? __rtnl_unlock (net/core/rtnetlink.c:140 (discriminator 3)) [ 41.763823][ T284] lock_release (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5848) [ 41.763958][ T284] __mutex_unlock_slowpath (./include/linux/instrumented.h:68 ./include/linux/atomic/atomic-instrumented.h:3188 kernel/locking/mutex.c:921) [ 41.764091][ T284] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5790) [ 41.764222][ T284] ? __pfx___mutex_unlock_slowpath (kernel/locking/mutex.c:907) [ 41.764388][ T284] ? rtnl_link_ops_get (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 net/core/rtnetlink.c:558) [ 41.764520][ T284] __rtnl_unlock (net/core/rtnetlink.c:140 (discriminator 3)) [ 41.764649][ T284] rtnl_newlink (net/core/rtnetlink.c:3961) [ 41.764779][ T284] ? __pfx_rtnl_newlink (net/core/rtnetlink.c:3919) [ 41.764915][ T284] ? find_held_lock (kernel/locking/lockdep.c:5315) [ 41.765051][ T284] ? __lock_release (kernel/locking/lockdep.c:5501) [ 41.765181][ T284] ? rtnetlink_rcv_msg (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 net/core/rtnetlink.c:6926) [ 41.765310][ T284] ? __pfx___lock_release (kernel/locking/lockdep.c:5477) [ 41.765441][ T284] ? rtnetlink_rcv_msg (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 net/core/rtnetlink.c:6926) [ 41.765575][ T284] ? __pfx_rtnl_newlink (net/core/rtnetlink.c:3919) [ 41.765704][ T284] rtnetlink_rcv_msg (net/core/rtnetlink.c:6928) [ 41.765835][ T284] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6831) [ 41.765969][ T284] ? 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) [ 41.766100][ T284] ? mark_lock (kernel/locking/lockdep.c:4703 (discriminator 3)) [ 41.766200][ T284] ? __lock_acquire (kernel/locking/lockdep.c:5202) [ 41.766329][ T284] netlink_rcv_skb (net/netlink/af_netlink.c:2536) [ 41.766467][ T284] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6831) [ 41.766596][ T284] ? __pfx_netlink_rcv_skb (net/netlink/af_netlink.c:2513) [ 41.766732][ T284] ? netlink_deliver_tap (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 net/netlink/af_netlink.c:340) [ 41.766864][ T284] ? 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) [ 41.766998][ T284] netlink_unicast (net/netlink/af_netlink.c:1316 net/netlink/af_netlink.c:1342) [ 41.767129][ T284] ? __pfx_netlink_unicast (net/netlink/af_netlink.c:1327) [ 41.767261][ T284] ? find_held_lock (kernel/locking/lockdep.c:5315) [ 41.767393][ T284] netlink_sendmsg (net/netlink/af_netlink.c:1886) [ 41.767527][ T284] ? __pfx_netlink_sendmsg (net/netlink/af_netlink.c:1805) [ 41.767659][ T284] ____sys_sendmsg (net/socket.c:729 net/socket.c:744 net/socket.c:2609) [ 41.767793][ T284] ? __pfx_____sys_sendmsg (net/socket.c:2555) [ 41.767923][ T284] ? __pfx_copy_msghdr_from_user (net/socket.c:2535) [ 41.768093][ T284] ___sys_sendmsg (net/socket.c:2665) [ 41.768224][ T284] ? __pfx____sys_sendmsg (net/socket.c:2652) [ 41.768356][ T284] ? __pfx___debug_check_no_obj_freed (lib/debugobjects.c:960) [ 41.768520][ T284] ? __pfx_free_object_rcu (mm/kmemleak.c:514) [ 41.768650][ T284] ? 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) [ 41.768782][ T284] ? lockdep_hardirqs_on_prepare (kernel/locking/lockdep.c:4347 kernel/locking/lockdep.c:4406) [ 41.768944][ T284] ? kmem_cache_free (mm/slub.c:4579 mm/slub.c:4681) [ 41.769075][ T284] ? do_sys_openat2 (fs/open.c:1418) [ 41.769210][ T284] ? do_sys_openat2 (fs/open.c:1424) [ 41.769339][ T284] ? fdget (./include/linux/atomic/atomic-arch-fallback.h:479 ./include/linux/atomic/atomic-instrumented.h:50 fs/file.c:1114 fs/file.c:1128) [ 41.769440][ T284] __sys_sendmsg (./include/linux/file.h:35 net/socket.c:2694) [ 41.769573][ T284] ? __pfx___sys_sendmsg (net/socket.c:2680) [ 41.769705][ T284] ? __pfx___up_read (kernel/locking/rwsem.c:1337) [ 41.769839][ T284] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 41.769970][ T284] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 41.770140][ T284] RIP: 0033:0x7fb491a317b7 [ 41.770276][ T284] 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) [ 41.770741][ T284] RSP: 002b:00007ffe2861bb98 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 41.770937][ T284] RAX: ffffffffffffffda RBX: 00007ffe2861c2c0 RCX: 00007fb491a317b7 [ 41.771129][ T284] RDX: 0000000000000000 RSI: 00007ffe2861bc00 RDI: 0000000000000005 [ 41.771334][ T284] RBP: 0000000000000002 R08: 0000000000000044 R09: 0000000000000000 [ 41.771529][ T284] R10: 00007fb4918ea708 R11: 0000000000000246 R12: 00007ffe2861c2e0 Finger prints: print_unlock_imbalance_bug:__lock_release:lock_release:__mutex_unlock_slowpath:__rtnl_unlock