====================================== | [ 42.035293][ T402] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129) | [ 42.035480][ T402] | [ 42.035556][ T402] | [ 42.035556][ T402] stack backtrace: [ 42.036047][ T402] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 42.036386][ T402] Call Trace: [ 42.036499][ T402] [ 42.036576][ T402] dump_stack_lvl (lib/dump_stack.c:117) [ 42.036735][ T402] print_bad_irq_dependency (kernel/locking/lockdep.c:2626) [ 42.036884][ T402] ? 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) [ 42.037035][ T402] ? __pfx_print_bad_irq_dependency (kernel/locking/lockdep.c:2569) [ 42.037224][ T402] ? __pfx_usage_skip (kernel/locking/lockdep.c:2264) [ 42.037373][ T402] ? __bfs (kernel/locking/lockdep.c:1787) [ 42.037516][ T402] ? __pfx_usage_match (kernel/locking/lockdep.c:2256) [ 42.037691][ T402] check_irq_usage (kernel/locking/lockdep.c:2871) [ 42.037843][ T402] ? __pfx_check_irq_usage (kernel/locking/lockdep.c:2790) [ 42.038080][ T402] ? __bfs (kernel/locking/lockdep.c:1787) [ 42.038195][ T402] ? __pfx_hlock_conflict (kernel/locking/lockdep.c:2016) [ 42.038348][ T402] ? check_path.constprop.0 (kernel/locking/lockdep.c:2145) [ 42.038498][ T402] ? check_noncircular (kernel/locking/lockdep.c:2172) [ 42.038650][ T402] ? __pfx_check_noncircular (kernel/locking/lockdep.c:2163) [ 42.038862][ T402] ? check_prev_add (kernel/locking/lockdep.c:3138) [ 42.039019][ T402] check_prev_add (kernel/locking/lockdep.c:3138) [ 42.039170][ T402] ? validate_chain (./include/linux/hash.h:78 kernel/locking/lockdep.c:3759 kernel/locking/lockdep.c:3782 kernel/locking/lockdep.c:3837) [ 42.039324][ T402] validate_chain (kernel/locking/lockdep.c:3254 kernel/locking/lockdep.c:3869) [ 42.039553][ T402] ? mark_lock (kernel/locking/lockdep.c:4656 (discriminator 3)) [ 42.039666][ T402] ? __pfx_validate_chain (kernel/locking/lockdep.c:3825) [ 42.039815][ T402] ? 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) [ 42.039964][ T402] ? mark_lock (kernel/locking/lockdep.c:4656 (discriminator 3)) [ 42.040077][ T402] __lock_acquire (kernel/locking/lockdep.c:5137) [ 42.040313][ T402] lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5756) [ 42.040468][ T402] ? __get_task_comm (fs/exec.c:1234) [ 42.040617][ T402] ? mark_lock (kernel/locking/lockdep.c:4656 (discriminator 3)) [ 42.040730][ T402] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5719) [ 42.040960][ T402] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 52)) [ 42.041111][ T402] ? __get_task_comm (fs/exec.c:1234) [ 42.041258][ T402] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 42.041410][ T402] ? __get_task_comm (fs/exec.c:1234) [ 42.041561][ T402] _raw_spin_lock (./include/linux/spinlock_api_smp.h:134 kernel/locking/spinlock.c:154) [ 42.041802][ T402] ? __get_task_comm (fs/exec.c:1234) [ 42.041951][ T402] __get_task_comm (fs/exec.c:1234) [ 42.042101][ T402] ref_tracker_alloc (lib/ref_tracker.c:217) [ 42.042252][ T402] ? __pfx_ref_tracker_alloc (lib/ref_tracker.c:193) [ 42.042482][ T402] ? dev_get_by_index (./include/linux/rcupdate.h:339 ./include/linux/rcupdate.h:814 net/core/dev.c:888) [ 42.042633][ T402] ? netdev_get_by_index (net/core/dev.c:914) [ 42.042783][ T402] ? fib6_nh_init (net/ipv6/route.c:3541) [ 42.042933][ T402] ? ip6_route_info_create (net/ipv6/route.c:3808) [ 42.043177][ T402] ? addrconf_f6i_alloc (net/ipv6/route.c:4584) [ 42.043325][ T402] ? __ipv6_dev_ac_inc (net/ipv6/anycast.c:309) [ 42.043475][ T402] ? addrconf_join_anycast (net/ipv6/addrconf.c:2264) [ 42.043629][ T402] ? dev_forward_change (./include/linux/list.h:373 net/ipv6/addrconf.c:833) [ 42.043859][ T402] ? addrconf_fixup_forwarding (net/ipv6/addrconf.c:854 net/ipv6/addrconf.c:898) [ 42.044045][ T402] ? addrconf_sysctl_forward (net/ipv6/addrconf.c:6329) [ 42.044196][ T402] ? proc_sys_call_handler (fs/proc/proc_sysctl.c:595) [ 42.044349][ T402] ? vfs_write (./include/linux/fs.h:2108 fs/read_write.c:497 fs/read_write.c:590) [ 42.044578][ T402] ? ksys_write (fs/read_write.c:643) [ 42.044731][ T402] ? do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 42.044878][ T402] ? entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129) [ 42.045063][ T402] ? dev_get_by_index (./include/linux/rcupdate.h:339 ./include/linux/rcupdate.h:814 net/core/dev.c:888) [ 42.045297][ T402] netdev_get_by_index (net/core/dev.c:914) [ 42.045445][ T402] fib6_nh_init (net/ipv6/route.c:3541) [ 42.045627][ T402] ? lockdep_hardirqs_on_prepare.part.0 (kernel/locking/lockdep.c:4292 kernel/locking/lockdep.c:4359) [ 42.045844][ T402] ? __pfx_fib6_nh_init (net/ipv6/route.c:3522) [ 42.046087][ T402] ? kasan_save_track (./arch/x86/include/asm/current.h:49 mm/kasan/common.c:60 mm/kasan/common.c:69) [ 42.046238][ T402] ? __kasan_kmalloc (mm/kasan/common.c:391) [ 42.046385][ T402] ? __kmalloc (mm/slub.c:3980) [ 42.046534][ T402] ? fib6_get_table (net/ipv6/ip6_fib.c:295) [ 42.046683][ T402] ip6_route_info_create (net/ipv6/route.c:3808) [ 42.046835][ T402] ? __lock_release (kernel/locking/lockdep.c:5430) [ 42.046986][ T402] ? __pfx_ip6_route_info_create (net/ipv6/route.c:3691) [ 42.047170][ T402] ? addrconf_f6i_alloc (./include/linux/rcupdate.h:339 ./include/linux/rcupdate.h:814 ./include/net/l3mdev.h:138 net/ipv6/route.c:4564) [ 42.047322][ T402] addrconf_f6i_alloc (net/ipv6/route.c:4584) [ 42.047550][ T402] ? __pfx_addrconf_f6i_alloc (net/ipv6/route.c:4562) [ 42.047701][ T402] ? do_raw_write_lock (./arch/x86/include/asm/atomic.h:115 ./include/linux/atomic/atomic-arch-fallback.h:2170 ./include/linux/atomic/atomic-instrumented.h:1302 ./include/asm-generic/qrwlock.h:98 kernel/locking/spinlock_debug.c:211) [ 42.047852][ T402] ? __pfx_do_raw_write_lock (kernel/locking/spinlock_debug.c:209) [ 42.048000][ T402] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 42.048233][ T402] __ipv6_dev_ac_inc (net/ipv6/anycast.c:309) [ 42.048384][ T402] addrconf_join_anycast (net/ipv6/addrconf.c:2264) [ 42.048531][ T402] ? mark_lock (kernel/locking/lockdep.c:4656 (discriminator 3)) [ 42.048648][ T402] ? __pfx_addrconf_join_anycast (net/ipv6/addrconf.c:2256) [ 42.048929][ T402] ? lockdep_hardirqs_on_prepare.part.0 (kernel/locking/lockdep.c:4300 kernel/locking/lockdep.c:4359) [ 42.049115][ T402] dev_forward_change (./include/linux/list.h:373 net/ipv6/addrconf.c:833) [ 42.049264][ T402] ? __pfx_dev_forward_change (net/ipv6/addrconf.c:803) [ 42.049442][ T402] addrconf_fixup_forwarding (net/ipv6/addrconf.c:854 net/ipv6/addrconf.c:898) [ 42.049679][ T402] addrconf_sysctl_forward (net/ipv6/addrconf.c:6329) [ 42.049828][ T402] ? __pfx_addrconf_sysctl_forward (net/ipv6/addrconf.c:6312) [ 42.050022][ T402] ? __pfx_addrconf_sysctl_forward (net/ipv6/addrconf.c:6312) [ 42.050209][ T402] ? trace_kmalloc (./include/trace/events/kmem.h:54 (discriminator 52)) [ 42.050439][ T402] ? __kmalloc_node (mm/slub.c:3974) [ 42.050590][ T402] ? proc_sys_call_handler (fs/proc/proc_sysctl.c:578) [ 42.050743][ T402] proc_sys_call_handler (fs/proc/proc_sysctl.c:595) [ 42.050894][ T402] ? __pfx_proc_sys_call_handler (fs/proc/proc_sysctl.c:550) [ 42.051197][ T402] ? __lock_acquire (kernel/locking/lockdep.c:5137) [ 42.051352][ T402] vfs_write (./include/linux/fs.h:2108 fs/read_write.c:497 fs/read_write.c:590) [ 42.051471][ T402] ? do_user_addr_fault (./include/linux/rcupdate.h:329 ./include/linux/rcupdate.h:781 ./include/linux/mm.h:700 arch/x86/mm/fault.c:1364) [ 42.051623][ T402] ? __pfx_vfs_write (fs/read_write.c:571) [ 42.051774][ T402] ? find_held_lock (kernel/locking/lockdep.c:5244) [ 42.051928][ T402] ? __pfx___lock_release (kernel/locking/lockdep.c:5406) [ 42.052083][ T402] ? __fget_light (./include/linux/atomic/atomic-arch-fallback.h:479 ./include/linux/atomic/atomic-instrumented.h:50 fs/file.c:1145) [ 42.052235][ T402] ksys_write (fs/read_write.c:643) [ 42.052350][ T402] ? __pfx_ksys_write (fs/read_write.c:633) [ 42.052501][ T402] ? do_user_addr_fault (./include/linux/rcupdate.h:815 ./include/linux/mm.h:702 arch/x86/mm/fault.c:1364) [ 42.052653][ T402] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 42.052802][ T402] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129) [ 42.052991][ T402] RIP: 0033:0x7f818d596957 [ 42.053235][ T402] Code: 0b 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 f3 0f 1e fa 64 8b 04 25 18 00 00 00 85 c0 75 10 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 51 c3 48 83 ec 28 48 89 54 24 18 48 89 74 24 All code ======== 0: 0b 00 or (%rax),%eax 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 b7 jmp 0xffffffffffffffc7 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 01 00 00 00 mov $0x1,%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: 48 89 54 24 18 mov %rdx,0x18(%rsp) 3c: 48 rex.W 3d: 89 .byte 0x89 3e: 74 24 je 0x64 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: 48 89 54 24 18 mov %rdx,0x18(%rsp) 12: 48 rex.W 13: 89 .byte 0x89 14: 74 24 je 0x3a [ 42.053765][ T402] RSP: 002b:00007fff9ba1a8f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 42.054079][ T402] RAX: ffffffffffffffda RBX: 0000556c6a645360 RCX: 00007f818d596957 [ 42.054307][ T402] RDX: 0000000000000002 RSI: 0000556c6a6453a0 RDI: 0000000000000005 [ 42.054612][ T402] RBP: 0000556c6a6474d0 R08: 0000000000000003 R09: 0000000000000077 [ 42.054836][ T402] R10: 000000000000006b R11: 0000000000000246 R12: 0000000000000002 Finger prints: dump_stack_lvl:print_bad_irq_dependency:check_irq_usage:check_prev_add