====================================== | [ 138.370490][ T1345] 1 lock held by ip/1345: | [ 138.370601][ T1345] #0: ffffffff959679c0 (&ops->srcu){.+.+}-{0:0}, at: rtnl_link_ops_get (./include/linux/srcu.h:151 ./include/linux/srcu.h:250 net/core/rtnetlink.c:558) | [ 138.370864][ T1345] | [ 138.370864][ T1345] stack backtrace: [ 138.371259][ T1345] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 138.371582][ T1345] Call Trace: [ 138.371706][ T1345] [ 138.371785][ T1345] dump_stack_lvl (lib/dump_stack.c:123) [ 138.371944][ T1345] print_circular_bug (kernel/locking/lockdep.c:2077) [ 138.372091][ T1345] check_noncircular (kernel/locking/lockdep.c:2206) [ 138.372236][ T1345] ? __pfx_check_noncircular (kernel/locking/lockdep.c:2182) [ 138.372424][ T1345] ? get_reg (arch/x86/kernel/unwind_orc.c:456 (discriminator 2)) [ 138.372569][ T1345] ? alloc_chain_hlocks (kernel/locking/lockdep.c:3528) [ 138.372732][ T1345] check_prev_add (kernel/locking/lockdep.c:3162) [ 138.372889][ T1345] validate_chain (kernel/locking/lockdep.c:3281 kernel/locking/lockdep.c:3904) [ 138.373050][ T1345] ? __pfx_validate_chain (kernel/locking/lockdep.c:3860) [ 138.373213][ T1345] ? 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) [ 138.373371][ T1345] ? mark_lock (kernel/locking/lockdep.c:4703 (discriminator 3)) [ 138.373489][ T1345] ? validate_chain (kernel/locking/lockdep.c:3915) [ 138.373645][ T1345] __lock_acquire (kernel/locking/lockdep.c:5202) [ 138.373805][ T1345] ? check_prev_add (kernel/locking/lockdep.c:1629 kernel/locking/lockdep.c:1634 kernel/locking/lockdep.c:3233) [ 138.373968][ T1345] lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5827) [ 138.374124][ T1345] ? rtnl_newlink (net/core/rtnetlink.c:328 net/core/rtnetlink.c:4029) [ 138.374280][ T1345] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5790) [ 138.374440][ T1345] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 52)) [ 138.374600][ T1345] ? rtnl_newlink (net/core/rtnetlink.c:328 net/core/rtnetlink.c:4029) [ 138.374758][ T1345] ? lock_acquire (kernel/locking/lockdep.c:5798) [ 138.374911][ T1345] ? rtnl_newlink (net/core/rtnetlink.c:328 net/core/rtnetlink.c:4029) [ 138.375067][ T1345] __mutex_lock (kernel/locking/mutex.c:610 kernel/locking/mutex.c:752) [ 138.375226][ T1345] ? rtnl_newlink (net/core/rtnetlink.c:328 net/core/rtnetlink.c:4029) [ 138.375384][ T1345] ? __lock_release (kernel/locking/lockdep.c:5547) [ 138.375538][ T1345] ? rtnl_newlink (net/core/rtnetlink.c:328 net/core/rtnetlink.c:4029) [ 138.375694][ T1345] ? __pfx___mutex_lock (kernel/locking/mutex.c:751) [ 138.375850][ T1345] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 52)) [ 138.376012][ T1345] ? rtnl_newlink (net/core/rtnetlink.c:328 net/core/rtnetlink.c:4029) [ 138.376169][ T1345] rtnl_newlink (net/core/rtnetlink.c:328 net/core/rtnetlink.c:4029) [ 138.376324][ T1345] ? __pfx_rtnl_newlink (net/core/rtnetlink.c:3925) [ 138.376501][ T1345] ? find_held_lock (kernel/locking/lockdep.c:5315) [ 138.376662][ T1345] ? __pfx___lock_release (kernel/locking/lockdep.c:5477) [ 138.376821][ T1345] ? rtnetlink_rcv_msg (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 net/core/rtnetlink.c:6930) [ 138.376977][ T1345] ? __pfx_rtnl_newlink (net/core/rtnetlink.c:3925) [ 138.377136][ T1345] rtnetlink_rcv_msg (net/core/rtnetlink.c:6932) [ 138.377295][ T1345] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6835) [ 138.377448][ T1345] ? 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) [ 138.377605][ T1345] ? mark_lock (kernel/locking/lockdep.c:4703 (discriminator 3)) [ 138.377748][ T1345] ? __lock_acquire (kernel/locking/lockdep.c:5202) [ 138.377906][ T1345] netlink_rcv_skb (net/netlink/af_netlink.c:2536) [ 138.378067][ T1345] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6835) [ 138.378224][ T1345] ? __pfx_netlink_rcv_skb (net/netlink/af_netlink.c:2513) [ 138.378384][ T1345] ? netlink_deliver_tap (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 net/netlink/af_netlink.c:340) [ 138.378552][ T1345] ? 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) [ 138.378711][ T1345] netlink_unicast (net/netlink/af_netlink.c:1316 net/netlink/af_netlink.c:1342) [ 138.378866][ T1345] ? __pfx_netlink_unicast (net/netlink/af_netlink.c:1327) [ 138.379024][ T1345] ? find_held_lock (kernel/locking/lockdep.c:5315) [ 138.379183][ T1345] netlink_sendmsg (net/netlink/af_netlink.c:1886) [ 138.379343][ T1345] ? __pfx_netlink_sendmsg (net/netlink/af_netlink.c:1805) [ 138.379513][ T1345] ____sys_sendmsg (net/socket.c:729 net/socket.c:744 net/socket.c:2609) [ 138.379669][ T1345] ? __pfx_____sys_sendmsg (net/socket.c:2555) [ 138.379829][ T1345] ? __pfx_copy_msghdr_from_user (net/socket.c:2535) [ 138.380045][ T1345] ___sys_sendmsg (net/socket.c:2665) [ 138.380191][ T1345] ? __pfx____sys_sendmsg (net/socket.c:2652) [ 138.380360][ T1345] ? __lock_acquire (kernel/locking/lockdep.c:5202) [ 138.380537][ T1345] ? usage_skip (kernel/locking/lockdep.c:2314 kernel/locking/lockdep.c:2282) [ 138.380689][ T1345] ? reacquire_held_locks (kernel/locking/lockdep.c:5350) [ 138.380839][ T1345] ? 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) [ 138.380984][ T1345] ? fdget (./include/linux/atomic/atomic-arch-fallback.h:479 ./include/linux/atomic/atomic-instrumented.h:50 fs/file.c:1114 fs/file.c:1128) [ 138.381100][ T1345] __sys_sendmsg (./include/linux/file.h:35 net/socket.c:2694) [ 138.381245][ T1345] ? __pfx___sys_sendmsg (net/socket.c:2680) [ 138.381398][ T1345] ? __pfx___up_read (kernel/locking/rwsem.c:1337) [ 138.381550][ T1345] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 138.381707][ T1345] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 138.381890][ T1345] RIP: 0033:0x7f8632e217b7 [ 138.382047][ T1345] 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) [ 138.382572][ T1345] RSP: 002b:00007ffc882b8ec8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 138.382799][ T1345] RAX: ffffffffffffffda RBX: 00007ffc882b9600 RCX: 00007f8632e217b7 [ 138.383017][ T1345] RDX: 0000000000000000 RSI: 00007ffc882b8f30 RDI: 0000000000000005 [ 138.383241][ T1345] RBP: 0000000000000000 R08: 000000000000003c R09: 0000000000403418 [ 138.383473][ T1345] R10: 00007f8632cda708 R11: 0000000000000246 R12: 00007ffc882b9628 Finger prints: print_circular_bug:check_noncircular:check_prev_add:validate_chain:__lock_acquire