general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] CPU: 0 PID: 29331 Comm: syz-executor.0 Not tainted 5.12.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:dst_dev_put+0x1f/0x2a0 net/core/dst.c:156 Code: 1f 84 00 00 00 00 00 0f 1f 40 00 41 55 41 54 55 53 48 89 fb e8 e2 dc 72 fa 48 89 da 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <80> 3c 02 00 0f 85 61 02 00 00 48 8d 7b 3a 4c 8b 23 48 b8 00 00 00 RSP: 0018:ffffc90000007d78 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: 0000000000000001 RCX: 0000000000000100 RDX: 0000000000000000 RSI: ffffffff8701197e RDI: 0000000000000001 RBP: 0000000000000000 R08: 0000000000000000 R09: ffff88802a08856b R10: ffffffff878fb2a5 R11: 0000000000000000 R12: 0000000000000007 R13: fffffbfff1b8b58c R14: 0000607f4607d5c8 R15: 0000000000000001 FS: 0000000002f42400(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000004e4a64 CR3: 000000004d705000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: rt_fibinfo_free_cpus.part.0+0xda/0x140 net/ipv4/fib_semantics.c:202 rt_fibinfo_free_cpus net/ipv4/fib_semantics.c:194 [inline] fib_nh_common_release+0x10c/0x350 net/ipv4/fib_semantics.c:215 fib_nh_release net/ipv4/fib_semantics.c:227 [inline] free_fib_info_rcu+0x24b/0x4d0 net/ipv4/fib_semantics.c:239 rcu_do_batch kernel/rcu/tree.c:2559 [inline] rcu_core+0x74a/0x12f0 kernel/rcu/tree.c:2794 __do_softirq+0x29b/0x9f6 kernel/softirq.c:345 invoke_softirq kernel/softirq.c:221 [inline] __irq_exit_rcu kernel/softirq.c:422 [inline] irq_exit_rcu+0x134/0x200 kernel/softirq.c:434 sysvec_apic_timer_interrupt+0x93/0xc0 arch/x86/kernel/apic/apic.c:1100 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:632 RIP: 0010:check_kcov_mode+0xf/0x40 kernel/kcov.c:163 Code: 20 44 00 e9 a1 fe ff ff 48 8b 3c 24 e8 7a 20 44 00 e9 18 fe ff ff cc cc cc cc cc 65 8b 05 99 01 8e 7e 89 c2 81 e2 00 01 00 00 00 01 ff 00 74 10 31 c0 85 d2 74 15 8b 96 34 15 00 00 85 d2 74 RSP: 0018:ffffc90001e178e8 EFLAGS: 00000246 RAX: 0000000080000000 RBX: 0000000000000007 RCX: ffff88802586d4c0 RDX: 0000000000000000 RSI: ffff88802586d4c0 RDI: 0000000000000003 RBP: ffff888030638480 R08: 0000000000000000 R09: 0000000000000007 R10: ffffffff8393418a R11: 0000000000000010 R12: 0000000000000062 R13: 00000000000003df R14: dffffc0000000000 R15: 0000000000000001 write_comp_data kernel/kcov.c:218 [inline] __sanitizer_cov_trace_const_cmp1+0x22/0x80 kernel/kcov.c:270 tomoyo_domain_quota_is_ok+0x32a/0x550 security/tomoyo/util.c:1092 tomoyo_supervisor+0x2f2/0xf00 security/tomoyo/common.c:2089 tomoyo_audit_path_log security/tomoyo/file.c:168 [inline] tomoyo_path_permission security/tomoyo/file.c:587 [inline] tomoyo_path_permission+0x270/0x3a0 security/tomoyo/file.c:573 tomoyo_path_perm+0x33b/0x400 security/tomoyo/file.c:838 tomoyo_path_rmdir+0x8e/0xd0 security/tomoyo/tomoyo.c:183 security_path_rmdir+0xd7/0x150 security/security.c:1103 do_rmdir+0x2ae/0x480 fs/namei.c:3958 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x465dc7 Code: 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 54 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffc7162a978 EFLAGS: 00000207 ORIG_RAX: 0000000000000054 RAX: ffffffffffffffda RBX: 0000000000000065 RCX: 0000000000465dc7 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00007ffc7162bb10 RBP: 00007ffc7162aa40 R08: 0000000000000000 R09: 00007ffc7162a810 R10: 0000000002f438f3 R11: 0000000000000207 R12: 00000000004bebb2 R13: 00007ffc7162bb10 R14: 0000000002f43810 R15: 00007ffc7162bb50 Modules linked in: ---[ end trace ff634608aee7ec3e ]--- RIP: 0010:dst_dev_put+0x1f/0x2a0 net/core/dst.c:156 Code: 1f 84 00 00 00 00 00 0f 1f 40 00 41 55 41 54 55 53 48 89 fb e8 e2 dc 72 fa 48 89 da 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <80> 3c 02 00 0f 85 61 02 00 00 48 8d 7b 3a 4c 8b 23 48 b8 00 00 00 RSP: 0018:ffffc90000007d78 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: 0000000000000001 RCX: 0000000000000100 RDX: 0000000000000000 RSI: ffffffff8701197e RDI: 0000000000000001 RBP: 0000000000000000 R08: 0000000000000000 R09: ffff88802a08856b R10: ffffffff878fb2a5 R11: 0000000000000000 R12: 0000000000000007 R13: fffffbfff1b8b58c R14: 0000607f4607d5c8 R15: 0000000000000001 FS: 0000000002f42400(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000004e4a64 CR3: 000000004d705000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600