====================================== | [ 62.279877][ T452] 1 lock held by ip/452: | [ 62.279981][ T452] #0: ffffffffa23678c0 (&ops->srcu){.+.+}-{0:0}, at: rtnl_link_ops_get (./include/linux/srcu.h:151 ./include/linux/srcu.h:250 net/core/rtnetlink.c:551) | [ 62.280220][ T452] | [ 62.280220][ T452] stack backtrace: [ 62.280592][ T452] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 62.280887][ T452] Call Trace: [ 62.280986][ T452] [ 62.281052][ T452] dump_stack_lvl (lib/dump_stack.c:123) [ 62.281183][ T452] print_circular_bug (kernel/locking/lockdep.c:2077) [ 62.281326][ T452] check_noncircular (kernel/locking/lockdep.c:2206) [ 62.281473][ T452] ? __pfx_check_noncircular (kernel/locking/lockdep.c:2182) [ 62.281612][ T452] ? get_reg (arch/x86/kernel/unwind_orc.c:456 (discriminator 2)) [ 62.281726][ T452] ? alloc_chain_hlocks (kernel/locking/lockdep.c:3528) [ 62.281855][ T452] check_prev_add (kernel/locking/lockdep.c:3162) [ 62.281997][ T452] validate_chain (kernel/locking/lockdep.c:3281 kernel/locking/lockdep.c:3904) [ 62.282129][ T452] ? __pfx_validate_chain (kernel/locking/lockdep.c:3860) [ 62.282272][ T452] ? 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) [ 62.282399][ T452] ? mark_lock (kernel/locking/lockdep.c:4703 (discriminator 3)) [ 62.282542][ T452] ? validate_chain (kernel/locking/lockdep.c:3915) [ 62.282698][ T452] __lock_acquire (kernel/locking/lockdep.c:5202) [ 62.282824][ T452] ? check_prev_add (kernel/locking/lockdep.c:1629 kernel/locking/lockdep.c:1634 kernel/locking/lockdep.c:3233) [ 62.282951][ T452] lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5827) [ 62.283079][ T452] ? rtnl_newlink (net/core/rtnetlink.c:321 net/core/rtnetlink.c:4025) [ 62.283209][ T452] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5790) [ 62.283339][ T452] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 52)) [ 62.283478][ T452] ? rtnl_newlink (net/core/rtnetlink.c:321 net/core/rtnetlink.c:4025) [ 62.283604][ T452] ? lock_acquire (kernel/locking/lockdep.c:5798) [ 62.283730][ T452] ? rtnl_newlink (net/core/rtnetlink.c:321 net/core/rtnetlink.c:4025) [ 62.283869][ T452] __mutex_lock (kernel/locking/mutex.c:610 kernel/locking/mutex.c:752) [ 62.283997][ T452] ? rtnl_newlink (net/core/rtnetlink.c:321 net/core/rtnetlink.c:4025) [ 62.284130][ T452] ? __lock_release (kernel/locking/lockdep.c:5547) [ 62.284272][ T452] ? rtnl_newlink (net/core/rtnetlink.c:321 net/core/rtnetlink.c:4025) [ 62.284403][ T452] ? __pfx___mutex_lock (kernel/locking/mutex.c:751) [ 62.284552][ T452] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 52)) [ 62.284698][ T452] ? rtnl_newlink (net/core/rtnetlink.c:321 net/core/rtnetlink.c:4025) [ 62.284824][ T452] rtnl_newlink (net/core/rtnetlink.c:321 net/core/rtnetlink.c:4025) [ 62.284971][ T452] ? __pfx_rtnl_newlink (net/core/rtnetlink.c:3919) [ 62.285098][ T452] ? find_held_lock (kernel/locking/lockdep.c:5315) [ 62.285226][ T452] ? __pfx___lock_release (kernel/locking/lockdep.c:5477) [ 62.285367][ T452] ? rtnetlink_rcv_msg (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 net/core/rtnetlink.c:6926) [ 62.285512][ T452] ? __pfx_rtnl_newlink (net/core/rtnetlink.c:3919) [ 62.285663][ T452] rtnetlink_rcv_msg (net/core/rtnetlink.c:6928) [ 62.285791][ T452] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6831) [ 62.285924][ T452] ? 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) [ 62.286061][ T452] ? mark_lock (kernel/locking/lockdep.c:4703 (discriminator 3)) [ 62.286160][ T452] ? __lock_acquire (kernel/locking/lockdep.c:5202) [ 62.286298][ T452] netlink_rcv_skb (net/netlink/af_netlink.c:2536) [ 62.286427][ T452] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6831) [ 62.286568][ T452] ? __pfx_netlink_rcv_skb (net/netlink/af_netlink.c:2513) [ 62.286712][ T452] ? netlink_deliver_tap (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 net/netlink/af_netlink.c:340) [ 62.286848][ T452] ? 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) [ 62.286975][ T452] netlink_unicast (net/netlink/af_netlink.c:1316 net/netlink/af_netlink.c:1342) [ 62.287114][ T452] ? __pfx_netlink_unicast (net/netlink/af_netlink.c:1327) [ 62.287242][ T452] ? find_held_lock (kernel/locking/lockdep.c:5315) [ 62.287380][ T452] netlink_sendmsg (net/netlink/af_netlink.c:1886) [ 62.287544][ T452] ? __pfx_netlink_sendmsg (net/netlink/af_netlink.c:1805) [ 62.287673][ T452] ____sys_sendmsg (net/socket.c:729 net/socket.c:744 net/socket.c:2609) [ 62.287824][ T452] ? __pfx_____sys_sendmsg (net/socket.c:2555) [ 62.287951][ T452] ? __pfx_copy_msghdr_from_user (net/socket.c:2535) [ 62.288122][ T452] ? 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) [ 62.288250][ T452] ? validate_chain (./include/linux/hash.h:78 kernel/locking/lockdep.c:3794 kernel/locking/lockdep.c:3817 kernel/locking/lockdep.c:3872) [ 62.288377][ T452] ___sys_sendmsg (net/socket.c:2665) [ 62.288531][ T452] ? __pfx_validate_chain (kernel/locking/lockdep.c:3860) [ 62.288657][ T452] ? __pfx____sys_sendmsg (net/socket.c:2652) [ 62.288798][ T452] ? __lock_acquire (kernel/locking/lockdep.c:5202) [ 62.288931][ T452] ? find_held_lock (kernel/locking/lockdep.c:5315) [ 62.289072][ T452] ? __lock_release (kernel/locking/lockdep.c:5501) [ 62.289199][ T452] ? __might_fault (mm/memory.c:6716 mm/memory.c:6709) [ 62.289328][ T452] ? fdget (./include/linux/atomic/atomic-arch-fallback.h:479 ./include/linux/atomic/atomic-instrumented.h:50 fs/file.c:1114 fs/file.c:1128) [ 62.289428][ T452] ? lock_acquire (kernel/locking/lockdep.c:5798) [ 62.289574][ T452] __sys_sendmsg (./include/linux/file.h:35 net/socket.c:2694) [ 62.289703][ T452] ? __pfx___sys_sendmsg (net/socket.c:2680) [ 62.289829][ T452] ? rseq_update_cpu_node_id (kernel/rseq.c:109 (discriminator 10)) [ 62.289963][ T452] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 62.290106][ T452] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 62.290267][ T452] RIP: 0033:0x7fa2a0cda7b7 [ 62.290400][ T452] 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) [ 62.290869][ T452] RSP: 002b:00007ffcfcf9bfd8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 62.291080][ T452] RAX: ffffffffffffffda RBX: 00007ffcfcf9c710 RCX: 00007fa2a0cda7b7 [ 62.291272][ T452] RDX: 0000000000000000 RSI: 00007ffcfcf9c040 RDI: 0000000000000005 [ 62.291489][ T452] RBP: 0000000000000000 R08: 000000000000003c R09: 0000000000403418 [ 62.291705][ T452] R10: 00007fa2a0b93708 R11: 0000000000000246 R12: 00007ffcfcf9c730 Finger prints: print_circular_bug:check_noncircular:check_prev_add:validate_chain:__lock_acquire