====================================== | [ 89.735943][ T1185] 1 lock held by ip/1185: | [ 89.736039][ T1185] #0: ffffffff8ab67b00 (&ops->srcu){.+.+}-{0:0}, at: rtnl_link_ops_get (./include/linux/srcu.h:151 ./include/linux/srcu.h:250 net/core/rtnetlink.c:551) | [ 89.736265][ T1185] | [ 89.736265][ T1185] stack backtrace: [ 89.736608][ T1185] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 89.736889][ T1185] Call Trace: [ 89.736993][ T1185] [ 89.737060][ T1185] dump_stack_lvl (lib/dump_stack.c:123) [ 89.737190][ T1185] print_circular_bug (kernel/locking/lockdep.c:2077) [ 89.737318][ T1185] check_noncircular (kernel/locking/lockdep.c:2206) [ 89.737447][ T1185] ? __pfx_check_noncircular (kernel/locking/lockdep.c:2182) [ 89.737577][ T1185] ? get_reg (arch/x86/kernel/unwind_orc.c:456 (discriminator 2)) [ 89.737677][ T1185] ? alloc_chain_hlocks (kernel/locking/lockdep.c:3528) [ 89.737808][ T1185] check_prev_add (kernel/locking/lockdep.c:3162) [ 89.737938][ T1185] validate_chain (kernel/locking/lockdep.c:3281 kernel/locking/lockdep.c:3904) [ 89.738067][ T1185] ? __pfx_validate_chain (kernel/locking/lockdep.c:3860) [ 89.738195][ T1185] ? 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) [ 89.738322][ T1185] ? mark_lock (kernel/locking/lockdep.c:4703 (discriminator 3)) [ 89.738419][ T1185] ? validate_chain (kernel/locking/lockdep.c:3915) [ 89.738548][ T1185] __lock_acquire (kernel/locking/lockdep.c:5202) [ 89.738675][ T1185] ? check_prev_add (kernel/locking/lockdep.c:1629 kernel/locking/lockdep.c:1634 kernel/locking/lockdep.c:3233) [ 89.738805][ T1185] lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5827) [ 89.738935][ T1185] ? rtnl_newlink (net/core/rtnetlink.c:321 net/core/rtnetlink.c:4025) [ 89.739066][ T1185] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5790) [ 89.739193][ T1185] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 52)) [ 89.739321][ T1185] ? rtnl_newlink (net/core/rtnetlink.c:321 net/core/rtnetlink.c:4025) [ 89.739448][ T1185] ? lock_acquire (kernel/locking/lockdep.c:5798) [ 89.739577][ T1185] ? rtnl_newlink (net/core/rtnetlink.c:321 net/core/rtnetlink.c:4025) [ 89.739705][ T1185] __mutex_lock (kernel/locking/mutex.c:610 kernel/locking/mutex.c:752) [ 89.739834][ T1185] ? rtnl_newlink (net/core/rtnetlink.c:321 net/core/rtnetlink.c:4025) [ 89.739964][ T1185] ? __lock_release (kernel/locking/lockdep.c:5547) [ 89.740091][ T1185] ? rtnl_newlink (net/core/rtnetlink.c:321 net/core/rtnetlink.c:4025) [ 89.740218][ T1185] ? __pfx___mutex_lock (kernel/locking/mutex.c:751) [ 89.740345][ T1185] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 52)) [ 89.740475][ T1185] ? rtnl_newlink (net/core/rtnetlink.c:321 net/core/rtnetlink.c:4025) [ 89.740603][ T1185] rtnl_newlink (net/core/rtnetlink.c:321 net/core/rtnetlink.c:4025) [ 89.740730][ T1185] ? __pfx_rtnl_newlink (net/core/rtnetlink.c:3919) [ 89.740856][ T1185] ? find_held_lock (kernel/locking/lockdep.c:5315) [ 89.740984][ T1185] ? __pfx___lock_release (kernel/locking/lockdep.c:5477) [ 89.741117][ T1185] ? rtnetlink_rcv_msg (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 net/core/rtnetlink.c:6926) [ 89.741245][ T1185] ? __pfx_rtnl_newlink (net/core/rtnetlink.c:3919) [ 89.741374][ T1185] rtnetlink_rcv_msg (net/core/rtnetlink.c:6928) [ 89.741502][ T1185] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6831) [ 89.741629][ T1185] ? 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) [ 89.741757][ T1185] ? mark_lock (kernel/locking/lockdep.c:4703 (discriminator 3)) [ 89.741855][ T1185] ? __lock_acquire (kernel/locking/lockdep.c:5202) [ 89.741983][ T1185] netlink_rcv_skb (net/netlink/af_netlink.c:2536) [ 89.742111][ T1185] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6831) [ 89.742242][ T1185] ? __pfx_netlink_rcv_skb (net/netlink/af_netlink.c:2513) [ 89.742373][ T1185] ? netlink_deliver_tap (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 net/netlink/af_netlink.c:340) [ 89.742502][ T1185] ? 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) [ 89.742631][ T1185] netlink_unicast (net/netlink/af_netlink.c:1316 net/netlink/af_netlink.c:1342) [ 89.742758][ T1185] ? __pfx_netlink_unicast (net/netlink/af_netlink.c:1327) [ 89.742886][ T1185] ? find_held_lock (kernel/locking/lockdep.c:5315) [ 89.743015][ T1185] netlink_sendmsg (net/netlink/af_netlink.c:1886) [ 89.743145][ T1185] ? __pfx_netlink_sendmsg (net/netlink/af_netlink.c:1805) [ 89.743275][ T1185] ____sys_sendmsg (net/socket.c:729 net/socket.c:744 net/socket.c:2609) [ 89.743404][ T1185] ? __pfx_____sys_sendmsg (net/socket.c:2555) [ 89.743531][ T1185] ? __pfx_copy_msghdr_from_user (net/socket.c:2535) [ 89.743693][ T1185] ___sys_sendmsg (net/socket.c:2665) [ 89.743822][ T1185] ? __pfx____sys_sendmsg (net/socket.c:2652) [ 89.743952][ T1185] ? __lock_acquire (kernel/locking/lockdep.c:5202) [ 89.744079][ T1185] ? usage_skip (kernel/locking/lockdep.c:2314 kernel/locking/lockdep.c:2282) [ 89.744217][ T1185] ? reacquire_held_locks (kernel/locking/lockdep.c:5350) [ 89.744343][ T1185] ? do_user_addr_fault (./include/linux/rcupdate.h:337 ./include/linux/rcupdate.h:849 ./include/linux/mm.h:727 arch/x86/mm/fault.c:1340) [ 89.744473][ T1185] ? fdget (./include/linux/atomic/atomic-arch-fallback.h:479 ./include/linux/atomic/atomic-instrumented.h:50 fs/file.c:1114 fs/file.c:1128) [ 89.744572][ T1185] __sys_sendmsg (./include/linux/file.h:35 net/socket.c:2694) [ 89.744700][ T1185] ? __pfx___sys_sendmsg (net/socket.c:2680) [ 89.744827][ T1185] ? __pfx___up_read (kernel/locking/rwsem.c:1337) [ 89.744959][ T1185] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 89.745089][ T1185] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 89.745250][ T1185] RIP: 0033:0x7fb74edad7b7 [ 89.745382][ T1185] 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) [ 89.745830][ T1185] RSP: 002b:00007ffdc8a34748 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 89.746025][ T1185] RAX: ffffffffffffffda RBX: 00007ffdc8a34e80 RCX: 00007fb74edad7b7 [ 89.746220][ T1185] RDX: 0000000000000000 RSI: 00007ffdc8a347b0 RDI: 0000000000000005 [ 89.746411][ T1185] RBP: 0000000000000000 R08: 000000000000003c R09: 0000000000403418 [ 89.746601][ T1185] R10: 00007fb74ec66708 R11: 0000000000000246 R12: 00007ffdc8a34ea8 Finger prints: print_circular_bug:check_noncircular:check_prev_add:validate_chain:__lock_acquire