====================================== | [ 142.786150][ T1349] 1 lock held by ip/1349: | [ 142.786256][ T1349] #0: ffffffffbdb67b00 (&ops->srcu){.+.+}-{0:0}, at: rtnl_link_ops_get (./include/linux/srcu.h:151 ./include/linux/srcu.h:250 net/core/rtnetlink.c:551) | [ 142.786492][ T1349] | [ 142.786492][ T1349] stack backtrace: [ 142.786868][ T1349] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 142.787167][ T1349] Call Trace: [ 142.787279][ T1349] [ 142.787353][ T1349] dump_stack_lvl (lib/dump_stack.c:123) [ 142.787499][ T1349] print_circular_bug (kernel/locking/lockdep.c:2077) [ 142.787634][ T1349] check_noncircular (kernel/locking/lockdep.c:2206) [ 142.787864][ T1349] ? __pfx_check_noncircular (kernel/locking/lockdep.c:2182) [ 142.788012][ T1349] ? get_reg (arch/x86/kernel/unwind_orc.c:456 (discriminator 2)) [ 142.788122][ T1349] ? alloc_chain_hlocks (kernel/locking/lockdep.c:3528) [ 142.788262][ T1349] check_prev_add (kernel/locking/lockdep.c:3162) [ 142.788402][ T1349] validate_chain (kernel/locking/lockdep.c:3281 kernel/locking/lockdep.c:3904) [ 142.788539][ T1349] ? __pfx_validate_chain (kernel/locking/lockdep.c:3860) [ 142.788676][ T1349] ? 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) [ 142.788811][ T1349] ? mark_lock (kernel/locking/lockdep.c:4703 (discriminator 3)) [ 142.788913][ T1349] ? validate_chain (kernel/locking/lockdep.c:3915) [ 142.789054][ T1349] __lock_acquire (kernel/locking/lockdep.c:5202) [ 142.789191][ T1349] ? check_prev_add (kernel/locking/lockdep.c:1629 kernel/locking/lockdep.c:1634 kernel/locking/lockdep.c:3233) [ 142.789329][ T1349] lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5827) [ 142.789463][ T1349] ? rtnl_newlink (net/core/rtnetlink.c:321 net/core/rtnetlink.c:4025) [ 142.789598][ T1349] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5790) [ 142.789729][ T1349] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 52)) [ 142.789865][ T1349] ? rtnl_newlink (net/core/rtnetlink.c:321 net/core/rtnetlink.c:4025) [ 142.789994][ T1349] ? lock_acquire (kernel/locking/lockdep.c:5798) [ 142.790127][ T1349] ? rtnl_newlink (net/core/rtnetlink.c:321 net/core/rtnetlink.c:4025) [ 142.790265][ T1349] __mutex_lock (kernel/locking/mutex.c:610 kernel/locking/mutex.c:752) [ 142.790402][ T1349] ? rtnl_newlink (net/core/rtnetlink.c:321 net/core/rtnetlink.c:4025) [ 142.790543][ T1349] ? __lock_release (kernel/locking/lockdep.c:5547) [ 142.790684][ T1349] ? rtnl_newlink (net/core/rtnetlink.c:321 net/core/rtnetlink.c:4025) [ 142.790822][ T1349] ? __pfx___mutex_lock (kernel/locking/mutex.c:751) [ 142.790963][ T1349] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 52)) [ 142.791104][ T1349] ? rtnl_newlink (net/core/rtnetlink.c:321 net/core/rtnetlink.c:4025) [ 142.791242][ T1349] rtnl_newlink (net/core/rtnetlink.c:321 net/core/rtnetlink.c:4025) [ 142.791377][ T1349] ? __pfx_rtnl_newlink (net/core/rtnetlink.c:3919) [ 142.791520][ T1349] ? find_held_lock (kernel/locking/lockdep.c:5315) [ 142.791662][ T1349] ? __pfx___lock_release (kernel/locking/lockdep.c:5477) [ 142.791801][ T1349] ? rtnetlink_rcv_msg (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 net/core/rtnetlink.c:6926) [ 142.791938][ T1349] ? __pfx_rtnl_newlink (net/core/rtnetlink.c:3919) [ 142.792090][ T1349] rtnetlink_rcv_msg (net/core/rtnetlink.c:6928) [ 142.792233][ T1349] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6831) [ 142.792368][ T1349] ? 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) [ 142.792514][ T1349] ? mark_lock (kernel/locking/lockdep.c:4703 (discriminator 3)) [ 142.792626][ T1349] ? __lock_acquire (kernel/locking/lockdep.c:5202) [ 142.792780][ T1349] netlink_rcv_skb (net/netlink/af_netlink.c:2536) [ 142.792922][ T1349] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6831) [ 142.793061][ T1349] ? __pfx_netlink_rcv_skb (net/netlink/af_netlink.c:2513) [ 142.793202][ T1349] ? netlink_deliver_tap (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 net/netlink/af_netlink.c:340) [ 142.793342][ T1349] ? 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) [ 142.793483][ T1349] netlink_unicast (net/netlink/af_netlink.c:1316 net/netlink/af_netlink.c:1342) [ 142.793623][ T1349] ? __pfx_netlink_unicast (net/netlink/af_netlink.c:1327) [ 142.793762][ T1349] ? find_held_lock (kernel/locking/lockdep.c:5315) [ 142.793899][ T1349] netlink_sendmsg (net/netlink/af_netlink.c:1886) [ 142.794122][ T1349] ? __pfx_netlink_sendmsg (net/netlink/af_netlink.c:1805) [ 142.794261][ T1349] ____sys_sendmsg (net/socket.c:729 net/socket.c:744 net/socket.c:2609) [ 142.794409][ T1349] ? __pfx_____sys_sendmsg (net/socket.c:2555) [ 142.794545][ T1349] ? __pfx_copy_msghdr_from_user (net/socket.c:2535) [ 142.794799][ T1349] ___sys_sendmsg (net/socket.c:2665) [ 142.794940][ T1349] ? __pfx____sys_sendmsg (net/socket.c:2652) [ 142.795075][ T1349] ? __lock_acquire (kernel/locking/lockdep.c:5202) [ 142.795208][ T1349] ? usage_skip (kernel/locking/lockdep.c:2314 kernel/locking/lockdep.c:2282) [ 142.795423][ T1349] ? reacquire_held_locks (kernel/locking/lockdep.c:5350) [ 142.795554][ T1349] ? 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) [ 142.795693][ T1349] ? fdget (./include/linux/atomic/atomic-arch-fallback.h:479 ./include/linux/atomic/atomic-instrumented.h:50 fs/file.c:1114 fs/file.c:1128) [ 142.795799][ T1349] __sys_sendmsg (./include/linux/file.h:35 net/socket.c:2694) [ 142.795960][ T1349] ? __pfx___sys_sendmsg (net/socket.c:2680) [ 142.796171][ T1349] ? __pfx___up_read (kernel/locking/rwsem.c:1337) [ 142.796311][ T1349] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 142.796447][ T1349] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 142.796611][ T1349] RIP: 0033:0x7fd0928d57b7 [ 142.796844][ T1349] 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) [ 142.797502][ T1349] RSP: 002b:00007ffe46a4b918 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 142.797704][ T1349] RAX: ffffffffffffffda RBX: 00007ffe46a4c050 RCX: 00007fd0928d57b7 [ 142.797909][ T1349] RDX: 0000000000000000 RSI: 00007ffe46a4b980 RDI: 0000000000000005 [ 142.798188][ T1349] RBP: 0000000000000000 R08: 000000000000003c R09: 0000000000403418 [ 142.798394][ T1349] R10: 00007fd09278e708 R11: 0000000000000246 R12: 00007ffe46a4c078 Finger prints: print_circular_bug:check_noncircular:check_prev_add:validate_chain:__lock_acquire