general protection fault, probably for non-canonical address 0xdffffc0000000008: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000040-0x0000000000000047] CPU: 0 PID: 5617 Comm: syz-executor.4 Not tainted 5.15.0-rc4-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 82 7d 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: 00010203 RAX: dffffc0000000000 RBX: 0000000000000046 RCX: 0000000000000100 RDX: 0000000000000008 RSI: ffffffff87225a8e RDI: 0000000000000046 RBP: 0000000000000000 R08: 0000000000000000 R09: ffff888026ace5ab R10: ffffffff87b59100 R11: 1ffff11017386537 R12: dffffc0000000000 R13: 0000607f460375a8 R14: ffffffff8d6e74a4 R15: 0000000000000046 FS: 00007f802af6f700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2ce21000 CR3: 0000000074e62000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 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:check_kcov_mode+0x31/0x40 kernel/kcov.c:175 Code: 89 c2 81 e2 00 01 00 00 a9 00 01 ff 00 74 10 31 c0 85 d2 74 15 8b 96 64 15 00 00 85 d2 74 0b 8b 86 40 15 00 00 39 f8 0f 94 c0 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 31 c0 65 8b 15 f7 1f RSP: 0018:ffffc90002d6f840 EFLAGS: 00000297 RAX: 0000000000000000 RBX: ffffc90002d6f948 RCX: ffff888023171c80 RDX: 0000000000000000 RSI: ffff888023171c80 RDI: 0000000000000003 RBP: 0000000000000001 R08: 0000000000004e24 R09: 0000000000000001 R10: ffffffff83a25ff5 R11: 0000000000000000 R12: ffff888027f68100 R13: 0000000000000010 R14: ffffc90002d6f96c R15: 0000000000000003 write_comp_data kernel/kcov.c:218 [inline] __sanitizer_cov_trace_const_cmp1+0x22/0x80 kernel/kcov.c:270 tomoyo_check_inet_acl+0x155/0x350 security/tomoyo/network.c:426 tomoyo_check_acl+0x13c/0x450 security/tomoyo/domain.c:175 tomoyo_inet_entry security/tomoyo/network.c:483 [inline] tomoyo_check_inet_address+0x5d3/0x710 security/tomoyo/network.c:532 tomoyo_socket_sendmsg_permission+0x29f/0x3a0 security/tomoyo/network.c:774 security_socket_sendmsg+0x50/0xb0 security/security.c:2206 sock_sendmsg+0x3f/0x120 net/socket.c:721 ____sys_sendmsg+0x6e8/0x810 net/socket.c:2409 ___sys_sendmsg+0xf3/0x170 net/socket.c:2463 __sys_sendmsg+0xe5/0x1b0 net/socket.c:2492 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:0x7f802d9f9a39 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 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:00007f802af6f188 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f802dafcf60 RCX: 00007f802d9f9a39 RDX: 0000000000008000 RSI: 0000000020000240 RDI: 0000000000000005 RBP: 00007f802da53c5f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fffccef4baf R14: 00007f802af6f300 R15: 0000000000022000 Modules linked in: ---[ end trace d144c458b26c3a14 ]--- 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 82 7d 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: 00010203 RAX: dffffc0000000000 RBX: 0000000000000046 RCX: 0000000000000100 RDX: 0000000000000008 RSI: ffffffff87225a8e RDI: 0000000000000046 RBP: 0000000000000000 R08: 0000000000000000 R09: ffff888026ace5ab R10: ffffffff87b59100 R11: 1ffff11017386537 R12: dffffc0000000000 R13: 0000607f460375a8 R14: ffffffff8d6e74a4 R15: 0000000000000046 FS: 00007f802af6f700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2ce21000 CR3: 0000000074e62000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 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 82 7d 54 fa callq 0xfa547d9b 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)