====================================== | [ 261.874524][ T2473] other info that might help us debug this: | [ 261.874720][ T2473] no locks held by ip/2473. | [ 261.874856][ T2473] | [ 261.874856][ T2473] stack backtrace: [ 261.875235][ T2473] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 261.875523][ T2473] Call Trace: [ 261.875628][ T2473] [ 261.875701][ T2473] dump_stack_lvl (lib/dump_stack.c:123) [ 261.875849][ T2473] ? __rtnl_unlock (net/core/rtnetlink.c:140 (discriminator 3)) [ 261.875983][ T2473] print_unlock_imbalance_bug (kernel/locking/lockdep.c:5266) [ 261.876115][ T2473] __lock_release (kernel/locking/lockdep.c:5502) [ 261.876257][ T2473] ? __pfx___lock_release (kernel/locking/lockdep.c:5477) [ 261.876392][ T2473] ? __rtnl_unlock (net/core/rtnetlink.c:140 (discriminator 3)) [ 261.876526][ T2473] lock_release (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5848) [ 261.876660][ T2473] __mutex_unlock_slowpath (./include/linux/instrumented.h:68 ./include/linux/atomic/atomic-instrumented.h:3188 kernel/locking/mutex.c:921) [ 261.876790][ T2473] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5790) [ 261.876922][ T2473] ? __pfx___mutex_unlock_slowpath (kernel/locking/mutex.c:907) [ 261.877094][ T2473] ? rtnl_link_ops_get (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 net/core/rtnetlink.c:558) [ 261.877221][ T2473] __rtnl_unlock (net/core/rtnetlink.c:140 (discriminator 3)) [ 261.877360][ T2473] rtnl_newlink (net/core/rtnetlink.c:3961) [ 261.877491][ T2473] ? __pfx_rtnl_newlink (net/core/rtnetlink.c:3919) [ 261.877629][ T2473] ? find_held_lock (kernel/locking/lockdep.c:5315) [ 261.877765][ T2473] ? __lock_release (kernel/locking/lockdep.c:5501) [ 261.877892][ T2473] ? rtnetlink_rcv_msg (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 net/core/rtnetlink.c:6926) [ 261.878028][ T2473] ? __pfx___lock_release (kernel/locking/lockdep.c:5477) [ 261.878161][ T2473] ? rtnetlink_rcv_msg (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 net/core/rtnetlink.c:6926) [ 261.878290][ T2473] ? __pfx_rtnl_newlink (net/core/rtnetlink.c:3919) [ 261.878428][ T2473] rtnetlink_rcv_msg (net/core/rtnetlink.c:6928) [ 261.878566][ T2473] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6831) [ 261.878694][ T2473] ? 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) [ 261.878825][ T2473] ? mark_lock (kernel/locking/lockdep.c:4703 (discriminator 3)) [ 261.878927][ T2473] ? __lock_acquire (kernel/locking/lockdep.c:5202) [ 261.879071][ T2473] netlink_rcv_skb (net/netlink/af_netlink.c:2536) [ 261.879203][ T2473] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6831) [ 261.879338][ T2473] ? __pfx_netlink_rcv_skb (net/netlink/af_netlink.c:2513) [ 261.879474][ T2473] ? netlink_deliver_tap (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 net/netlink/af_netlink.c:340) [ 261.879607][ T2473] ? 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) [ 261.879743][ T2473] netlink_unicast (net/netlink/af_netlink.c:1316 net/netlink/af_netlink.c:1342) [ 261.879871][ T2473] ? __pfx_netlink_unicast (net/netlink/af_netlink.c:1327) [ 261.879998][ T2473] ? find_held_lock (kernel/locking/lockdep.c:5315) [ 261.880127][ T2473] netlink_sendmsg (net/netlink/af_netlink.c:1886) [ 261.880258][ T2473] ? __pfx_netlink_sendmsg (net/netlink/af_netlink.c:1805) [ 261.880390][ T2473] ____sys_sendmsg (net/socket.c:729 net/socket.c:744 net/socket.c:2609) [ 261.880527][ T2473] ? __pfx_____sys_sendmsg (net/socket.c:2555) [ 261.880654][ T2473] ? __pfx_copy_msghdr_from_user (net/socket.c:2535) [ 261.880818][ T2473] ? 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) [ 261.880948][ T2473] ? validate_chain (./include/linux/hash.h:78 kernel/locking/lockdep.c:3794 kernel/locking/lockdep.c:3817 kernel/locking/lockdep.c:3872) [ 261.881077][ T2473] ___sys_sendmsg (net/socket.c:2665) [ 261.881206][ T2473] ? __pfx_validate_chain (kernel/locking/lockdep.c:3860) [ 261.881332][ T2473] ? __pfx____sys_sendmsg (net/socket.c:2652) [ 261.881474][ T2473] ? __lock_acquire (kernel/locking/lockdep.c:5202) [ 261.881609][ T2473] ? find_held_lock (kernel/locking/lockdep.c:5315) [ 261.881737][ T2473] ? __lock_release (kernel/locking/lockdep.c:5501) [ 261.881865][ T2473] ? __might_fault (mm/memory.c:6716 mm/memory.c:6709) [ 261.881997][ T2473] ? fdget (./include/linux/atomic/atomic-arch-fallback.h:479 ./include/linux/atomic/atomic-instrumented.h:50 fs/file.c:1114 fs/file.c:1128) [ 261.882101][ T2473] ? lock_acquire (kernel/locking/lockdep.c:5798) [ 261.882232][ T2473] __sys_sendmsg (./include/linux/file.h:35 net/socket.c:2694) [ 261.882360][ T2473] ? __pfx___sys_sendmsg (net/socket.c:2680) [ 261.882490][ T2473] ? rseq_update_cpu_node_id (kernel/rseq.c:109 (discriminator 10)) [ 261.882626][ T2473] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 261.882762][ T2473] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 261.882928][ T2473] RIP: 0033:0x7eff9da887b7 [ 261.883066][ T2473] 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) [ 261.883522][ T2473] RSP: 002b:00007ffc18039a58 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 261.883727][ T2473] RAX: ffffffffffffffda RBX: 00007ffc1803a180 RCX: 00007eff9da887b7 [ 261.883918][ T2473] RDX: 0000000000000000 RSI: 00007ffc18039ac0 RDI: 0000000000000005 [ 261.884111][ T2473] RBP: 0000000000000008 R08: 0000000000000068 R09: 0000000000000000 [ 261.884301][ T2473] R10: 00007eff9dad7ac0 R11: 0000000000000246 R12: 00007ffc1803a198 Finger prints: print_unlock_imbalance_bug:__lock_release:lock_release:__mutex_unlock_slowpath:__rtnl_unlock