====================================== | [ 39.570583][ T283] other info that might help us debug this: | [ 39.570792][ T283] no locks held by ip/283. | [ 39.570936][ T283] | [ 39.570936][ T283] stack backtrace: [ 39.571336][ T283] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 39.571649][ T283] Call Trace: [ 39.571768][ T283] [ 39.571845][ T283] dump_stack_lvl (lib/dump_stack.c:123) [ 39.571996][ T283] ? __rtnl_unlock (net/core/rtnetlink.c:140 (discriminator 3)) [ 39.572140][ T283] print_unlock_imbalance_bug (kernel/locking/lockdep.c:5266) [ 39.572286][ T283] __lock_release (kernel/locking/lockdep.c:5502) [ 39.572430][ T283] ? __pfx___lock_release (kernel/locking/lockdep.c:5477) [ 39.572603][ T283] ? __rtnl_unlock (net/core/rtnetlink.c:140 (discriminator 3)) [ 39.572747][ T283] lock_release (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5848) [ 39.572891][ T283] __mutex_unlock_slowpath (./include/linux/instrumented.h:68 ./include/linux/atomic/atomic-instrumented.h:3188 kernel/locking/mutex.c:921) [ 39.573034][ T283] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5790) [ 39.573179][ T283] ? __pfx___mutex_unlock_slowpath (kernel/locking/mutex.c:907) [ 39.573364][ T283] ? rtnl_link_ops_get (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 net/core/rtnetlink.c:558) [ 39.573507][ T283] __rtnl_unlock (net/core/rtnetlink.c:140 (discriminator 3)) [ 39.573655][ T283] rtnl_newlink (net/core/rtnetlink.c:3961) [ 39.573798][ T283] ? __pfx_rtnl_newlink (net/core/rtnetlink.c:3919) [ 39.573940][ T283] ? find_held_lock (kernel/locking/lockdep.c:5315) [ 39.574083][ T283] ? __lock_release (kernel/locking/lockdep.c:5501) [ 39.574226][ T283] ? rtnetlink_rcv_msg (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 net/core/rtnetlink.c:6926) [ 39.574369][ T283] ? __pfx___lock_release (kernel/locking/lockdep.c:5477) [ 39.574517][ T283] ? rtnetlink_rcv_msg (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 net/core/rtnetlink.c:6926) [ 39.574658][ T283] ? __pfx_rtnl_newlink (net/core/rtnetlink.c:3919) [ 39.574798][ T283] rtnetlink_rcv_msg (net/core/rtnetlink.c:6928) [ 39.574943][ T283] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6831) [ 39.575084][ 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) [ 39.575227][ T283] ? mark_lock (kernel/locking/lockdep.c:4703 (discriminator 3)) [ 39.575336][ T283] ? __lock_acquire (kernel/locking/lockdep.c:5202) [ 39.575478][ T283] netlink_rcv_skb (net/netlink/af_netlink.c:2536) [ 39.575623][ T283] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6831) [ 39.575767][ T283] ? __pfx_netlink_rcv_skb (net/netlink/af_netlink.c:2513) [ 39.575913][ T283] ? netlink_deliver_tap (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 net/netlink/af_netlink.c:340) [ 39.576058][ 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) [ 39.576202][ T283] netlink_unicast (net/netlink/af_netlink.c:1316 net/netlink/af_netlink.c:1342) [ 39.576347][ T283] ? __pfx_netlink_unicast (net/netlink/af_netlink.c:1327) [ 39.576489][ T283] ? find_held_lock (kernel/locking/lockdep.c:5315) [ 39.576635][ T283] netlink_sendmsg (net/netlink/af_netlink.c:1886) [ 39.576780][ T283] ? __pfx_netlink_sendmsg (net/netlink/af_netlink.c:1805) [ 39.576930][ T283] ____sys_sendmsg (net/socket.c:729 net/socket.c:744 net/socket.c:2609) [ 39.577073][ T283] ? __pfx_____sys_sendmsg (net/socket.c:2555) [ 39.577217][ T283] ? __pfx_copy_msghdr_from_user (net/socket.c:2535) [ 39.577397][ T283] ___sys_sendmsg (net/socket.c:2665) [ 39.577542][ T283] ? __pfx____sys_sendmsg (net/socket.c:2652) [ 39.577684][ T283] ? __pfx___debug_check_no_obj_freed (lib/debugobjects.c:960) [ 39.577860][ T283] ? __pfx_free_object_rcu (mm/kmemleak.c:514) [ 39.577999][ 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) [ 39.578146][ T283] ? lockdep_hardirqs_on_prepare (kernel/locking/lockdep.c:4347 kernel/locking/lockdep.c:4406) [ 39.578336][ T283] ? kmem_cache_free (mm/slub.c:4579 mm/slub.c:4681) [ 39.578477][ T283] ? do_sys_openat2 (fs/open.c:1418) [ 39.578632][ T283] ? do_sys_openat2 (fs/open.c:1424) [ 39.578776][ 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) [ 39.578886][ T283] __sys_sendmsg (./include/linux/file.h:35 net/socket.c:2694) [ 39.579029][ T283] ? __pfx___sys_sendmsg (net/socket.c:2680) [ 39.579172][ T283] ? __pfx___up_read (kernel/locking/rwsem.c:1337) [ 39.579317][ T283] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 39.579460][ T283] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 39.579641][ T283] RIP: 0033:0x7f7117bb97b7 [ 39.579787][ 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) [ 39.580286][ T283] RSP: 002b:00007fff579f2088 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 39.580500][ T283] RAX: ffffffffffffffda RBX: 00007fff579f27b0 RCX: 00007f7117bb97b7 [ 39.580717][ T283] RDX: 0000000000000000 RSI: 00007fff579f20f0 RDI: 0000000000000005 [ 39.580929][ T283] RBP: 0000000000000002 R08: 0000000000000044 R09: 0000000000000000 [ 39.581137][ T283] R10: 00007f7117a72708 R11: 0000000000000246 R12: 00007fff579f27d0 Finger prints: print_unlock_imbalance_bug:__lock_release:lock_release:__mutex_unlock_slowpath:__rtnl_unlock