====================================== | [ 69.113378][ T448] 1 lock held by ip/448: | [ 69.113495][ T448] #0: ffffffff8ff67b00 (&ops->srcu){.+.+}-{0:0}, at: rtnl_link_ops_get (./include/linux/srcu.h:151 ./include/linux/srcu.h:250 net/core/rtnetlink.c:551) | [ 69.113767][ T448] | [ 69.113767][ T448] stack backtrace: [ 69.114180][ T448] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 69.114527][ T448] Call Trace: [ 69.114649][ T448] [ 69.114729][ T448] dump_stack_lvl (lib/dump_stack.c:123) [ 69.114883][ T448] print_circular_bug (kernel/locking/lockdep.c:2077) [ 69.115036][ T448] check_noncircular (kernel/locking/lockdep.c:2206) [ 69.115188][ T448] ? __pfx_check_noncircular (kernel/locking/lockdep.c:2182) [ 69.115341][ T448] ? get_reg (arch/x86/kernel/unwind_orc.c:456 (discriminator 2)) [ 69.115458][ T448] ? alloc_chain_hlocks (kernel/locking/lockdep.c:3528) [ 69.115611][ T448] check_prev_add (kernel/locking/lockdep.c:3162) [ 69.115765][ T448] validate_chain (kernel/locking/lockdep.c:3281 kernel/locking/lockdep.c:3904) [ 69.115923][ T448] ? __pfx_validate_chain (kernel/locking/lockdep.c:3860) [ 69.116072][ T448] ? 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) [ 69.116226][ T448] ? mark_lock (kernel/locking/lockdep.c:4703 (discriminator 3)) [ 69.116337][ T448] ? validate_chain (kernel/locking/lockdep.c:3915) [ 69.116492][ T448] __lock_acquire (kernel/locking/lockdep.c:5202) [ 69.116643][ T448] ? check_prev_add (kernel/locking/lockdep.c:1629 kernel/locking/lockdep.c:1634 kernel/locking/lockdep.c:3233) [ 69.116794][ T448] lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5827) [ 69.116943][ T448] ? rtnl_newlink (net/core/rtnetlink.c:321 net/core/rtnetlink.c:4025) [ 69.117094][ T448] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5790) [ 69.117241][ T448] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 52)) [ 69.117391][ T448] ? rtnl_newlink (net/core/rtnetlink.c:321 net/core/rtnetlink.c:4025) [ 69.117539][ T448] ? lock_acquire (kernel/locking/lockdep.c:5798) [ 69.117685][ T448] ? rtnl_newlink (net/core/rtnetlink.c:321 net/core/rtnetlink.c:4025) [ 69.117849][ T448] __mutex_lock (kernel/locking/mutex.c:610 kernel/locking/mutex.c:752) [ 69.117998][ T448] ? rtnl_newlink (net/core/rtnetlink.c:321 net/core/rtnetlink.c:4025) [ 69.118150][ T448] ? __lock_release (kernel/locking/lockdep.c:5547) [ 69.118301][ T448] ? rtnl_newlink (net/core/rtnetlink.c:321 net/core/rtnetlink.c:4025) [ 69.118452][ T448] ? __pfx___mutex_lock (kernel/locking/mutex.c:751) [ 69.118602][ T448] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 52)) [ 69.118753][ T448] ? rtnl_newlink (net/core/rtnetlink.c:321 net/core/rtnetlink.c:4025) [ 69.118902][ T448] rtnl_newlink (net/core/rtnetlink.c:321 net/core/rtnetlink.c:4025) [ 69.119053][ T448] ? __pfx_rtnl_newlink (net/core/rtnetlink.c:3919) [ 69.119204][ T448] ? find_held_lock (kernel/locking/lockdep.c:5315) [ 69.119355][ T448] ? __pfx___lock_release (kernel/locking/lockdep.c:5477) [ 69.119506][ T448] ? rtnetlink_rcv_msg (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 net/core/rtnetlink.c:6926) [ 69.119657][ T448] ? __pfx_rtnl_newlink (net/core/rtnetlink.c:3919) [ 69.119811][ T448] rtnetlink_rcv_msg (net/core/rtnetlink.c:6928) [ 69.119968][ T448] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6831) [ 69.120120][ T448] ? 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) [ 69.120270][ T448] ? mark_lock (kernel/locking/lockdep.c:4703 (discriminator 3)) [ 69.120387][ T448] ? __lock_acquire (kernel/locking/lockdep.c:5202) [ 69.120540][ T448] netlink_rcv_skb (net/netlink/af_netlink.c:2536) [ 69.120693][ T448] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6831) [ 69.120842][ T448] ? __pfx_netlink_rcv_skb (net/netlink/af_netlink.c:2513) [ 69.121068][ T448] ? netlink_deliver_tap (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 net/netlink/af_netlink.c:340) [ 69.121222][ T448] ? 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) [ 69.121371][ T448] netlink_unicast (net/netlink/af_netlink.c:1316 net/netlink/af_netlink.c:1342) [ 69.121524][ T448] ? __pfx_netlink_unicast (net/netlink/af_netlink.c:1327) [ 69.121674][ T448] ? find_held_lock (kernel/locking/lockdep.c:5315) [ 69.121896][ T448] netlink_sendmsg (net/netlink/af_netlink.c:1886) [ 69.122047][ T448] ? __pfx_netlink_sendmsg (net/netlink/af_netlink.c:1805) [ 69.122199][ T448] ____sys_sendmsg (net/socket.c:729 net/socket.c:744 net/socket.c:2609) [ 69.122377][ T448] ? __pfx_____sys_sendmsg (net/socket.c:2555) [ 69.122599][ T448] ? __pfx_copy_msghdr_from_user (net/socket.c:2535) [ 69.122786][ T448] ? 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) [ 69.122935][ T448] ? validate_chain (./include/linux/hash.h:78 kernel/locking/lockdep.c:3794 kernel/locking/lockdep.c:3817 kernel/locking/lockdep.c:3872) [ 69.123089][ T448] ___sys_sendmsg (net/socket.c:2665) [ 69.123312][ T448] ? __pfx_validate_chain (kernel/locking/lockdep.c:3860) [ 69.123463][ T448] ? __pfx____sys_sendmsg (net/socket.c:2652) [ 69.123616][ T448] ? __lock_acquire (kernel/locking/lockdep.c:5202) [ 69.123770][ T448] ? find_held_lock (kernel/locking/lockdep.c:5315) [ 69.124003][ T448] ? __lock_release (kernel/locking/lockdep.c:5501) [ 69.124152][ T448] ? __might_fault (mm/memory.c:6716 mm/memory.c:6709) [ 69.124303][ T448] ? fdget (./include/linux/atomic/atomic-arch-fallback.h:479 ./include/linux/atomic/atomic-instrumented.h:50 fs/file.c:1114 fs/file.c:1128) [ 69.124416][ T448] ? lock_acquire (kernel/locking/lockdep.c:5798) [ 69.124573][ T448] __sys_sendmsg (./include/linux/file.h:35 net/socket.c:2694) [ 69.124796][ T448] ? __pfx___sys_sendmsg (net/socket.c:2680) [ 69.124946][ T448] ? rseq_update_cpu_node_id (kernel/rseq.c:109 (discriminator 10)) [ 69.125107][ T448] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 69.125262][ T448] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 69.125526][ T448] RIP: 0033:0x7f261e3ee7b7 [ 69.125689][ T448] 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) [ 69.126300][ T448] RSP: 002b:00007ffcefba90c8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 69.126526][ T448] RAX: ffffffffffffffda RBX: 00007ffcefba9800 RCX: 00007f261e3ee7b7 [ 69.126751][ T448] RDX: 0000000000000000 RSI: 00007ffcefba9130 RDI: 0000000000000005 [ 69.127050][ T448] RBP: 0000000000000000 R08: 000000000000003c R09: 0000000000403418 [ 69.127276][ T448] R10: 00007f261e2a7708 R11: 0000000000000246 R12: 00007ffcefba9820 Finger prints: print_circular_bug:check_noncircular:check_prev_add:validate_chain:__lock_acquire