Dead loop on virtual device ip6_vti0, fix it urgently! ================================================================== BUG: KASAN: null-ptr-deref in atomic_read include/asm-generic/atomic-instrumented.h:21 [inline] BUG: KASAN: null-ptr-deref in refcount_sub_and_test_checked+0x9d/0x310 lib/refcount.c:179 Read of size 4 at addr 000000000000002e by task blkid/11670 CPU: 1 PID: 11670 Comm: blkid Not tainted 4.19.0-rc6+ #245 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1c4/0x2b4 lib/dump_stack.c:113 kasan_report_error mm/kasan/report.c:352 [inline] kasan_report.cold.9+0x6d/0x309 mm/kasan/report.c:412 check_memory_region_inline mm/kasan/kasan.c:260 [inline] check_memory_region+0x13e/0x1b0 mm/kasan/kasan.c:267 kasan_check_read+0x11/0x20 mm/kasan/kasan.c:272 atomic_read include/asm-generic/atomic-instrumented.h:21 [inline] refcount_sub_and_test_checked+0x9d/0x310 lib/refcount.c:179 refcount_dec_and_test_checked+0x1a/0x20 lib/refcount.c:212 ip_fib_metrics_put include/net/ip.h:428 [inline] fib6_info_destroy_rcu+0x2ef/0x3e0 net/ipv6/ip6_fib.c:204 __rcu_reclaim kernel/rcu/rcu.h:236 [inline] rcu_do_batch kernel/rcu/tree.c:2576 [inline] invoke_rcu_callbacks kernel/rcu/tree.c:2880 [inline] __rcu_process_callbacks kernel/rcu/tree.c:2847 [inline] rcu_process_callbacks+0xf23/0x2670 kernel/rcu/tree.c:2864 __do_softirq+0x30b/0xad8 kernel/softirq.c:292 invoke_softirq kernel/softirq.c:372 [inline] irq_exit+0x17f/0x1c0 kernel/softirq.c:412 exiting_irq arch/x86/include/asm/apic.h:536 [inline] smp_apic_timer_interrupt+0x1cb/0x760 arch/x86/kernel/apic/apic.c:1056 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:864 RIP: 0010:debug_spin_lock_before kernel/locking/spinlock_debug.c:83 [inline] RIP: 0010:do_raw_spin_lock+0x47/0x200 kernel/locking/spinlock_debug.c:112 Code: 89 fa 48 83 ec 08 48 c1 ea 03 0f b6 14 02 48 89 f8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 7b 01 00 00 81 7b 04 ad 4e ad de <0f> 85 f2 00 00 00 4c 8d 6b 10 48 b8 00 00 00 00 00 fc ff df 4c 89 Dead loop on virtual device ip6_vti0, fix it urgently! RSP: 0018:ffff8801a040f260 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13 RAX: 0000000000000007 RBX: ffff8801d154ca50 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff8801d154ca54 RBP: ffff8801a040f288 R08: 0000000000000001 R09: 0000000000000000 R10: fffffbfff1277a6a R11: 0000000000000000 R12: ffff8801a040f540 R13: 0000000000000000 R14: ffff8801a040f360 R15: ffffea00065c4e40 __raw_spin_lock include/linux/spinlock_api_smp.h:143 [inline] _raw_spin_lock+0x35/0x40 kernel/locking/spinlock.c:144 spin_lock include/linux/spinlock.h:329 [inline] do_anonymous_page mm/memory.c:3191 [inline] handle_pte_fault mm/memory.c:3981 [inline] __handle_mm_fault+0x2983/0x53e0 mm/memory.c:4107 handle_mm_fault+0x54f/0xc70 mm/memory.c:4144 __do_page_fault+0x67d/0xed0 arch/x86/mm/fault.c:1395 do_page_fault+0xf2/0x7e0 arch/x86/mm/fault.c:1470 page_fault+0x1e/0x30 arch/x86/entry/entry_64.S:1161 RIP: 0010:copy_user_generic_unrolled+0xa0/0xc0 arch/x86/lib/copy_user_64.S:75 Code: 7f 40 ff c9 75 b6 89 d1 83 e2 07 c1 e9 03 74 12 4c 8b 06 4c 89 07 48 8d 76 08 48 8d 7f 08 ff c9 75 ee 21 d2 74 10 89 d1 8a 06 <88> 07 48 ff c6 48 ff c7 ff c9 75 f2 31 c0 0f 1f 00 c3 0f 1f 40 00 RSP: 0018:ffff8801a040f910 EFLAGS: 00010202 RAX: 0000000000000078 RBX: 00007fffb0f1e629 RCX: 0000000000000007 RDX: 0000000000000007 RSI: ffffffff88165040 RDI: 00007fffb0f1e629 RBP: ffff8801a040fac0 R08: fffffbfff102ca09 R09: fffffbfff102ca08 R10: fffffbfff102ca08 R11: 0000000000000006 R12: 00007fffb0f1e630 R13: ffff8801a040fa18 R14: ffff8801bf4a53c0 R15: ffff8801c8fff8c0 search_binary_handler+0x17d/0x570 fs/exec.c:1653 exec_binprm fs/exec.c:1695 [inline] __do_execve_file.isra.33+0x162f/0x2540 fs/exec.c:1819 do_execveat_common fs/exec.c:1866 [inline] do_execve fs/exec.c:1883 [inline] __do_sys_execve fs/exec.c:1964 [inline] __se_sys_execve fs/exec.c:1959 [inline] __x64_sys_execve+0x8f/0xc0 fs/exec.c:1959 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f486830b207 Code: Bad RIP value. RSP: 002b:00007ffeea4f6d28 EFLAGS: 00000206 ORIG_RAX: 000000000000003b RAX: ffffffffffffffda RBX: 00000000ffffffff RCX: 00007f486830b207 RDX: 0000000000b2ea70 RSI: 00007ffeea4f6e20 RDI: 00007ffeea4f7e30 RBP: 0000000000625500 R08: 000000000000590f R09: 000000000000590f R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000b2ea70 R13: 0000000000000007 R14: 0000000000b1d250 R15: 0000000000000005 ==================================================================