general protection fault, probably for non-canonical address 0xdffffc0000000018: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x00000000000000c0-0x00000000000000c7] CPU: 0 PID: 2971 Comm: systemd-udevd Not tainted 5.15.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:dst_dev_put+0x1f/0x2b0 net/core/dst.c:154 Code: 0f 1f 84 00 00 00 00 00 0f 1f 00 41 55 41 54 55 53 48 89 fb e8 12 23 54 fa 48 89 da 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <80> 3c 02 00 0f 85 29 02 00 00 48 8d 7b 3a 4c 8b 23 48 b8 00 00 00 RSP: 0018:ffffc90000007d50 EFLAGS: 00010207 RAX: dffffc0000000000 RBX: 00000000000000c7 RCX: 0000000000000100 RDX: 0000000000000018 RSI: ffffffff8721e63e RDI: 00000000000000c7 RBP: 0000000000000000 R08: 0000000000000000 R09: ffff88807d6f85ab R10: ffffffff87b50c40 R11: 1ffff11017386537 R12: dffffc0000000000 R13: 0000607f4608a110 R14: ffffffff8d6e8fa4 R15: 00000000000000c7 FS: 00007f9fa9f508c0(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b33521000 CR3: 000000001a447000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: rt_fibinfo_free_cpus.part.0+0xf5/0x180 net/ipv4/fib_semantics.c:202 rt_fibinfo_free_cpus net/ipv4/fib_semantics.c:194 [inline] fib_nh_common_release+0x10c/0x330 net/ipv4/fib_semantics.c:213 fib_nh_release net/ipv4/fib_semantics.c:225 [inline] free_fib_info_rcu+0x24b/0x4e0 net/ipv4/fib_semantics.c:237 rcu_do_batch kernel/rcu/tree.c:2508 [inline] rcu_core+0x7ab/0x1470 kernel/rcu/tree.c:2743 __do_softirq+0x29b/0x9c2 kernel/softirq.c:558 invoke_softirq kernel/softirq.c:432 [inline] __irq_exit_rcu+0x123/0x180 kernel/softirq.c:636 irq_exit_rcu+0x5/0x20 kernel/softirq.c:648 sysvec_apic_timer_interrupt+0x93/0xc0 arch/x86/kernel/apic/apic.c:1097 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:tomoyo_path_matches_pattern+0x49/0x280 security/tomoyo/util.c:941 Code: fc ff df 48 c1 ea 03 80 3c 02 00 0f 85 33 02 00 00 48 89 da 4c 8b 6d 00 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 80 3c 02 00 <0f> 85 21 02 00 00 48 8d 7b 0f 4c 8b 33 48 b8 00 00 00 00 00 fc ff RSP: 0018:ffffc9000206f6e8 EFLAGS: 00000246 RAX: dffffc0000000000 RBX: ffff888025998898 RCX: 0000000000000000 RDX: 1ffff11004b33113 RSI: ffffffff83a25145 RDI: ffffc9000206f830 RBP: ffffc9000206f830 R08: 0000000000000000 R09: 0000000000000001 R10: ffffffff83a12cc2 R11: 000000000000001f R12: ffff8880192d6180 R13: ffff888144197b40 R14: 0000000000000000 R15: ffff8880192d61a0 tomoyo_compare_name_union security/tomoyo/file.c:87 [inline] tomoyo_compare_name_union security/tomoyo/file.c:82 [inline] tomoyo_check_path_acl security/tomoyo/file.c:260 [inline] tomoyo_check_path_acl+0x180/0x210 security/tomoyo/file.c:252 tomoyo_check_acl+0x13c/0x450 security/tomoyo/domain.c:175 tomoyo_path_permission security/tomoyo/file.c:586 [inline] tomoyo_path_permission+0x1ff/0x3a0 security/tomoyo/file.c:573 tomoyo_check_open_permission+0x33e/0x380 security/tomoyo/file.c:777 tomoyo_file_open security/tomoyo/tomoyo.c:311 [inline] tomoyo_file_open+0xa3/0xd0 security/tomoyo/tomoyo.c:306 security_file_open+0x45/0xb0 security/security.c:1634 do_dentry_open+0x353/0x11d0 fs/open.c:809 do_open fs/namei.c:3428 [inline] path_openat+0x1c9a/0x2740 fs/namei.c:3561 do_filp_open+0x1aa/0x400 fs/namei.c:3588 do_sys_openat2+0x16d/0x4d0 fs/open.c:1200 do_sys_open fs/open.c:1216 [inline] __do_sys_open fs/open.c:1224 [inline] __se_sys_open fs/open.c:1220 [inline] __x64_sys_open+0x119/0x1c0 fs/open.c:1220 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f9fa9096840 Code: 73 01 c3 48 8b 0d 68 77 20 00 f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 83 3d 89 bb 20 00 00 75 10 b8 02 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 31 c3 48 83 ec 08 e8 1e f6 ff ff 48 89 04 24 RSP: 002b:00007ffef32ae048 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007ffef32ae110 RCX: 00007f9fa9096840 RDX: 0000559c565dafe3 RSI: 00000000000a0800 RDI: 0000559c579c5e10 RBP: 0000000000000000 R08: 0000559c565da670 R09: 0000000000000010 R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffef32ae1f0 R13: 0000559c57995010 R14: 0000559c579bd960 R15: 00007ffef32ae0c0 Modules linked in: ---[ end trace bdfc6af571dd7113 ]--- RIP: 0010:dst_dev_put+0x1f/0x2b0 net/core/dst.c:154 Code: 0f 1f 84 00 00 00 00 00 0f 1f 00 41 55 41 54 55 53 48 89 fb e8 12 23 54 fa 48 89 da 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <80> 3c 02 00 0f 85 29 02 00 00 48 8d 7b 3a 4c 8b 23 48 b8 00 00 00 RSP: 0018:ffffc90000007d50 EFLAGS: 00010207 RAX: dffffc0000000000 RBX: 00000000000000c7 RCX: 0000000000000100 RDX: 0000000000000018 RSI: ffffffff8721e63e RDI: 00000000000000c7 RBP: 0000000000000000 R08: 0000000000000000 R09: ffff88807d6f85ab R10: ffffffff87b50c40 R11: 1ffff11017386537 R12: dffffc0000000000 R13: 0000607f4608a110 R14: ffffffff8d6e8fa4 R15: 00000000000000c7 FS: 00007f9fa9f508c0(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b33521000 CR3: 000000001a447000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 ---------------- Code disassembly (best guess): 0: 0f 1f 84 00 00 00 00 nopl 0x0(%rax,%rax,1) 7: 00 8: 0f 1f 00 nopl (%rax) b: 41 55 push %r13 d: 41 54 push %r12 f: 55 push %rbp 10: 53 push %rbx 11: 48 89 fb mov %rdi,%rbx 14: e8 12 23 54 fa callq 0xfa54232b 19: 48 89 da mov %rbx,%rdx 1c: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 23: fc ff df 26: 48 c1 ea 03 shr $0x3,%rdx * 2a: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction 2e: 0f 85 29 02 00 00 jne 0x25d 34: 48 8d 7b 3a lea 0x3a(%rbx),%rdi 38: 4c 8b 23 mov (%rbx),%r12 3b: 48 rex.W 3c: b8 .byte 0xb8 3d: 00 00 add %al,(%rax)