------------[ cut here ]------------ WARNING: CPU: 1 PID: 5626 at net/ipv4/route.c:1261 ip_rt_bug+0x2a/0x110 net/ipv4/route.c:1261 Modules linked in: CPU: 1 PID: 5626 Comm: syz-executor.2 Not tainted 6.8.0-syzkaller-08073-g480e035fc4c7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:ip_rt_bug+0x2a/0x110 net/ipv4/route.c:1261 Code: f3 0f 1e fa 41 57 41 56 41 55 41 54 53 48 89 d3 e8 0b e1 c0 f7 66 90 e8 04 e1 c0 f7 48 89 df be 02 00 00 00 e8 27 80 6e ff 90 <0f> 0b 90 31 c0 5b 41 5c 41 5d 41 5e 41 5f c3 cc cc cc cc f3 0f 1e RSP: 0018:ffffc90000a08680 EFLAGS: 00010286 RAX: 1a90e9ae24a98700 RBX: ffff8880236cda00 RCX: ffffffff81720c2a RDX: dffffc0000000000 RSI: ffffffff8baac1e0 RDI: ffffffff8bfed360 RBP: 0000000000000001 R08: ffffffff92ce1597 R09: 1ffffffff259c2b2 R10: dffffc0000000000 R11: fffffbfff259c2b3 R12: dffffc0000000000 R13: dffffc0000000000 R14: ffff8880213d1cc0 R15: ffff888017369380 FS: 00007f9297fa96c0(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b30d24000 CR3: 00000000287e2000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ip_local_out net/ipv4/ip_output.c:129 [inline] ip_send_skb net/ipv4/ip_output.c:1493 [inline] ip_push_pending_frames+0xbf/0x150 net/ipv4/ip_output.c:1513 __icmp_send+0xfb0/0x1500 net/ipv4/icmp.c:770 ipv4_send_dest_unreach net/ipv4/route.c:1241 [inline] ipv4_link_failure+0x62f/0xa10 net/ipv4/route.c:1248 dst_link_failure include/net/dst.h:429 [inline] arp_error_report+0x114/0x160 net/ipv4/arp.c:296 neigh_invalidate+0x244/0x470 net/core/neighbour.c:1059 neigh_timer_handler+0x8a5/0xfb0 net/core/neighbour.c:1146 call_timer_fn+0x17e/0x600 kernel/time/timer.c:1792 expire_timers kernel/time/timer.c:1843 [inline] __run_timers kernel/time/timer.c:2408 [inline] __run_timer_base+0x66a/0x8e0 kernel/time/timer.c:2419 run_timer_base kernel/time/timer.c:2428 [inline] run_timer_softirq+0xb7/0x170 kernel/time/timer.c:2438 __do_softirq+0x2bc/0x943 kernel/softirq.c:554 invoke_softirq kernel/softirq.c:428 [inline] __irq_exit_rcu+0xf2/0x1c0 kernel/softirq.c:633 irq_exit_rcu+0x9/0x30 kernel/softirq.c:645 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1043 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:tomoyo_check_acl+0xb2/0x3f0 security/tomoyo/domain.c:173 Code: 03 42 0f b6 04 28 84 c0 0f 85 c3 02 00 00 4d 8b 37 4d 39 fe 0f 84 eb 01 00 00 49 8d 6e 18 48 89 e8 48 c1 e8 03 42 0f b6 04 28 <84> c0 0f 85 0f 01 00 00 0f b6 6d 00 31 ff 89 ee e8 a9 56 39 fd 85 RSP: 0018:ffffc9000ad9fb80 EFLAGS: 00000a02 RAX: 0000000000000000 RBX: 0000000000000002 RCX: 0000000000040000 RDX: ffffc90005e12000 RSI: 0000000000007e86 RDI: 0000000000007e87 RBP: ffff888140003d98 R08: ffffffff845c00ef R09: ffffffff845d489c R10: 0000000000000002 R11: ffffffff845bff90 R12: 0000000000000000 R13: dffffc0000000000 R14: ffff888140003d80 R15: ffff888028711210 tomoyo_path_number_perm+0x459/0x880 security/tomoyo/file.c:733 security_file_ioctl+0x75/0xb0 security/security.c:2758 __do_sys_ioctl fs/ioctl.c:898 [inline] __se_sys_ioctl+0x47/0x170 fs/ioctl.c:890 do_syscall_64+0xfb/0x240 entry_SYSCALL_64_after_hwframe+0x6d/0x75 RIP: 0033:0x7f929727dbcb Code: 00 48 89 44 24 18 31 c0 48 8d 44 24 60 c7 04 24 10 00 00 00 48 89 44 24 08 48 8d 44 24 20 48 89 44 24 10 b8 10 00 00 00 0f 05 <89> c2 3d 00 f0 ff ff 77 1c 48 8b 44 24 18 64 48 2b 04 25 28 00 00 RSP: 002b:00007f9297fa7520 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f9297fa7c70 RCX: 00007f929727dbcb RDX: 00007f9297fa7c70 RSI: 000000004020ae46 RDI: 0000000000000005 RBP: 0000000000000005 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000005 R11: 0000000000000246 R12: 0000000000000006 R13: 0000000020fee000 R14: 0000000020fe8000 R15: 00000000fec00000 ---------------- Code disassembly (best guess): 0: 03 42 0f add 0xf(%rdx),%eax 3: b6 04 mov $0x4,%dh 5: 28 84 c0 0f 85 c3 02 sub %al,0x2c3850f(%rax,%rax,8) c: 00 00 add %al,(%rax) e: 4d 8b 37 mov (%r15),%r14 11: 4d 39 fe cmp %r15,%r14 14: 0f 84 eb 01 00 00 je 0x205 1a: 49 8d 6e 18 lea 0x18(%r14),%rbp 1e: 48 89 e8 mov %rbp,%rax 21: 48 c1 e8 03 shr $0x3,%rax 25: 42 0f b6 04 28 movzbl (%rax,%r13,1),%eax * 2a: 84 c0 test %al,%al <-- trapping instruction 2c: 0f 85 0f 01 00 00 jne 0x141 32: 0f b6 6d 00 movzbl 0x0(%rbp),%ebp 36: 31 ff xor %edi,%edi 38: 89 ee mov %ebp,%esi 3a: e8 a9 56 39 fd call 0xfd3956e8 3f: 85 .byte 0x85