====================================== | [ 38.986746][ T376] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129) | [ 38.986927][ T376] | [ 38.987084][ T376] | [ 38.987084][ T376] stack backtrace: [ 38.987481][ T376] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 38.987890][ T376] Call Trace: [ 38.988001][ T376] [ 38.988078][ T376] dump_stack_lvl (lib/dump_stack.c:117) [ 38.988232][ T376] print_bad_irq_dependency (kernel/locking/lockdep.c:2626) [ 38.988377][ T376] ? 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) [ 38.988522][ T376] ? __pfx_print_bad_irq_dependency (kernel/locking/lockdep.c:2569) [ 38.988699][ T376] ? __pfx_usage_skip (kernel/locking/lockdep.c:2264) [ 38.988842][ T376] ? __bfs (kernel/locking/lockdep.c:1787) [ 38.988947][ T376] ? __pfx_usage_match (kernel/locking/lockdep.c:2256) [ 38.989175][ T376] check_irq_usage (kernel/locking/lockdep.c:2871) [ 38.989321][ T376] ? __pfx_check_irq_usage (kernel/locking/lockdep.c:2790) [ 38.989473][ T376] ? __bfs (kernel/locking/lockdep.c:1787) [ 38.989583][ T376] ? __pfx_hlock_conflict (kernel/locking/lockdep.c:2016) [ 38.989818][ T376] ? check_path.constprop.0 (kernel/locking/lockdep.c:2145) [ 38.989960][ T376] ? check_noncircular (kernel/locking/lockdep.c:2172) [ 38.990106][ T376] ? __pfx_check_noncircular (kernel/locking/lockdep.c:2163) [ 38.990247][ T376] ? check_prev_add (kernel/locking/lockdep.c:3138) [ 38.990402][ T376] check_prev_add (kernel/locking/lockdep.c:3138) [ 38.990554][ T376] ? validate_chain (./include/linux/hash.h:78 kernel/locking/lockdep.c:3759 kernel/locking/lockdep.c:3782 kernel/locking/lockdep.c:3837) [ 38.990701][ T376] validate_chain (kernel/locking/lockdep.c:3254 kernel/locking/lockdep.c:3869) [ 38.990854][ T376] ? mark_lock (kernel/locking/lockdep.c:4656 (discriminator 3)) [ 38.990961][ T376] ? __pfx_validate_chain (kernel/locking/lockdep.c:3825) [ 38.991180][ T376] ? 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) [ 38.991316][ T376] ? mark_lock (kernel/locking/lockdep.c:4656 (discriminator 3)) [ 38.991459][ T376] __lock_acquire (kernel/locking/lockdep.c:5137) [ 38.991602][ T376] lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5756) [ 38.991742][ T376] ? __get_task_comm (fs/exec.c:1234) [ 38.991978][ T376] ? mark_lock (kernel/locking/lockdep.c:4656 (discriminator 3)) [ 38.992093][ T376] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5719) [ 38.992231][ T376] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 52)) [ 38.992376][ T376] ? __get_task_comm (fs/exec.c:1234) [ 38.992605][ T376] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 38.992752][ T376] ? __get_task_comm (fs/exec.c:1234) [ 38.992889][ T376] _raw_spin_lock (./include/linux/spinlock_api_smp.h:134 kernel/locking/spinlock.c:154) [ 38.993027][ T376] ? __get_task_comm (fs/exec.c:1234) [ 38.993257][ T376] __get_task_comm (fs/exec.c:1234) [ 38.993401][ T376] ref_tracker_alloc (lib/ref_tracker.c:217) [ 38.993544][ T376] ? __pfx_ref_tracker_alloc (lib/ref_tracker.c:193) [ 38.993683][ T376] ? dev_get_by_index (./include/linux/rcupdate.h:339 ./include/linux/rcupdate.h:814 net/core/dev.c:888) [ 38.993832][ T376] ? netdev_get_by_index (net/core/dev.c:914) [ 38.994065][ T376] ? fib6_nh_init (net/ipv6/route.c:3541) [ 38.994206][ T376] ? ip6_route_info_create (net/ipv6/route.c:3808) [ 38.994344][ T376] ? addrconf_f6i_alloc (net/ipv6/route.c:4584) [ 38.994481][ T376] ? __ipv6_dev_ac_inc (net/ipv6/anycast.c:309) [ 38.994717][ T376] ? addrconf_join_anycast (net/ipv6/addrconf.c:2264) [ 38.994857][ T376] ? dev_forward_change (./include/linux/list.h:373 net/ipv6/addrconf.c:833) [ 38.994998][ T376] ? addrconf_fixup_forwarding (net/ipv6/addrconf.c:854 net/ipv6/addrconf.c:898) [ 38.995169][ T376] ? addrconf_sysctl_forward (net/ipv6/addrconf.c:6329) [ 38.995399][ T376] ? proc_sys_call_handler (fs/proc/proc_sysctl.c:595) [ 38.995548][ T376] ? vfs_write (./include/linux/fs.h:2108 fs/read_write.c:497 fs/read_write.c:590) [ 38.995692][ T376] ? ksys_write (fs/read_write.c:643) [ 38.995839][ T376] ? do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 38.996068][ T376] ? entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129) [ 38.996247][ T376] ? dev_get_by_index (./include/linux/rcupdate.h:339 ./include/linux/rcupdate.h:814 net/core/dev.c:888) [ 38.996389][ T376] netdev_get_by_index (net/core/dev.c:914) [ 38.996531][ T376] fib6_nh_init (net/ipv6/route.c:3541) [ 38.996759][ T376] ? lockdep_hardirqs_on_prepare.part.0 (kernel/locking/lockdep.c:4292 kernel/locking/lockdep.c:4359) [ 38.996932][ T376] ? __pfx_fib6_nh_init (net/ipv6/route.c:3522) [ 38.997073][ T376] ? kasan_save_track (./arch/x86/include/asm/current.h:49 mm/kasan/common.c:60 mm/kasan/common.c:69) [ 38.997218][ T376] ? __kasan_kmalloc (mm/kasan/common.c:391) [ 38.997369][ T376] ? __kmalloc (mm/slub.c:3980) [ 38.997516][ T376] ? fib6_get_table (net/ipv6/ip6_fib.c:295) [ 38.997663][ T376] ip6_route_info_create (net/ipv6/route.c:3808) [ 38.997799][ T376] ? __lock_release (kernel/locking/lockdep.c:5430) [ 38.998029][ T376] ? __pfx_ip6_route_info_create (net/ipv6/route.c:3691) [ 38.998209][ T376] ? addrconf_f6i_alloc (./include/linux/rcupdate.h:339 ./include/linux/rcupdate.h:814 ./include/net/l3mdev.h:138 net/ipv6/route.c:4564) [ 38.998351][ T376] addrconf_f6i_alloc (net/ipv6/route.c:4584) [ 38.998496][ T376] ? __pfx_addrconf_f6i_alloc (net/ipv6/route.c:4562) [ 38.998818][ T376] ? 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) [ 38.998960][ T376] ? __pfx_do_raw_write_lock (kernel/locking/spinlock_debug.c:209) [ 38.999095][ T376] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 38.999236][ T376] __ipv6_dev_ac_inc (net/ipv6/anycast.c:309) [ 38.999387][ T376] addrconf_join_anycast (net/ipv6/addrconf.c:2264) [ 38.999533][ T376] ? mark_lock (kernel/locking/lockdep.c:4656 (discriminator 3)) [ 38.999640][ T376] ? __pfx_addrconf_join_anycast (net/ipv6/addrconf.c:2256) [ 38.999812][ T376] ? lockdep_hardirqs_on_prepare.part.0 (kernel/locking/lockdep.c:4300 kernel/locking/lockdep.c:4359) [ 38.999991][ T376] dev_forward_change (./include/linux/list.h:373 net/ipv6/addrconf.c:833) [ 39.000221][ T376] ? __pfx_dev_forward_change (net/ipv6/addrconf.c:803) [ 39.000367][ T376] addrconf_fixup_forwarding (net/ipv6/addrconf.c:854 net/ipv6/addrconf.c:898) [ 39.000509][ T376] addrconf_sysctl_forward (net/ipv6/addrconf.c:6329) [ 39.000655][ T376] ? __pfx_addrconf_sysctl_forward (net/ipv6/addrconf.c:6312) [ 39.000922][ T376] ? __pfx_addrconf_sysctl_forward (net/ipv6/addrconf.c:6312) [ 39.001095][ T376] ? trace_kmalloc (./include/trace/events/kmem.h:54 (discriminator 52)) [ 39.001234][ T376] ? __kmalloc_node (mm/slub.c:3974) [ 39.001382][ T376] ? proc_sys_call_handler (fs/proc/proc_sysctl.c:578) [ 39.001531][ T376] proc_sys_call_handler (fs/proc/proc_sysctl.c:595) [ 39.001669][ T376] ? __pfx_proc_sys_call_handler (fs/proc/proc_sysctl.c:550) [ 39.001836][ T376] ? __lock_acquire (kernel/locking/lockdep.c:5137) [ 39.001983][ T376] vfs_write (./include/linux/fs.h:2108 fs/read_write.c:497 fs/read_write.c:590) [ 39.002088][ T376] ? 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) [ 39.002231][ T376] ? __pfx_vfs_write (fs/read_write.c:571) [ 39.002375][ T376] ? find_held_lock (kernel/locking/lockdep.c:5244) [ 39.002513][ T376] ? __pfx___lock_release (kernel/locking/lockdep.c:5406) [ 39.002741][ T376] ? __fget_light (./include/linux/atomic/atomic-arch-fallback.h:479 ./include/linux/atomic/atomic-instrumented.h:50 fs/file.c:1145) [ 39.002882][ T376] ksys_write (fs/read_write.c:643) [ 39.002986][ T376] ? __pfx_ksys_write (fs/read_write.c:633) [ 39.003122][ T376] ? do_user_addr_fault (./include/linux/rcupdate.h:815 ./include/linux/mm.h:702 arch/x86/mm/fault.c:1364) [ 39.003267][ T376] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 39.003491][ T376] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129) [ 39.003670][ T376] RIP: 0033:0x7f8dfde37957 [ 39.003819][ T376] 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 [ 39.004412][ T376] RSP: 002b:00007ffe0c534738 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 39.004629][ T376] RAX: ffffffffffffffda RBX: 000055fa3f593360 RCX: 00007f8dfde37957 [ 39.004937][ T376] RDX: 0000000000000002 RSI: 000055fa3f5933a0 RDI: 0000000000000005 [ 39.005151][ T376] RBP: 000055fa3f5954d0 R08: 0000000000000003 R09: 0000000000000077 [ 39.005365][ T376] R10: 000000000000006b R11: 0000000000000246 R12: 0000000000000002 Finger prints: dump_stack_lvl:print_bad_irq_dependency:check_irq_usage:check_prev_add