------------[ cut here ]------------ WARNING: CPU: 1 PID: 8421 at net/ipv4/route.c:1261 ip_rt_bug+0x29/0x120 net/ipv4/route.c:1261 Modules linked in: CPU: 1 PID: 8421 Comm: syz-executor.5 Not tainted 6.7.0-rc3-syzkaller-00690-g8470e4368b0f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 RIP: 0010:ip_rt_bug+0x29/0x120 net/ipv4/route.c:1261 Code: 90 f3 0f 1e fa 41 54 55 53 48 89 d3 48 83 ec 08 e8 fc 9d 99 f8 66 90 e8 f5 9d 99 f8 be 02 00 00 00 48 89 df e8 28 27 7b ff 90 <0f> 0b 90 48 83 c4 08 31 c0 5b 5d 41 5c c3 e8 d4 9d 99 f8 48 8d 7b RSP: 0018:ffffc900001f07c8 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff888039d18b40 RCX: ffffc900001f0740 RDX: ffff88805a1c9dc0 RSI: ffffffff88edf468 RDI: ffffffff8b2f13c0 RBP: ffff888039d18b40 R08: 0000000000000001 R09: fffffbfff23e29e2 R10: ffffffff91f14f17 R11: ffffffff81de4c43 R12: ffff88807ce69d80 R13: ffff888016ea9380 R14: 0000000000000000 R15: ffff888039d18b98 FS: 00007f18e0b3f6c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffcafabee78 CR3: 000000003903e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: dst_output include/net/dst.h:451 [inline] ip_local_out net/ipv4/ip_output.c:129 [inline] ip_send_skb net/ipv4/ip_output.c:1489 [inline] ip_push_pending_frames+0x125/0x2a0 net/ipv4/ip_output.c:1509 icmp_push_reply+0x313/0x460 net/ipv4/icmp.c:389 __icmp_send+0xd76/0x1760 net/ipv4/icmp.c:770 ipv4_send_dest_unreach net/ipv4/route.c:1241 [inline] ipv4_link_failure+0x408/0xb60 net/ipv4/route.c:1248 dst_link_failure include/net/dst.h:430 [inline] arp_error_report+0xcf/0x1c0 net/ipv4/arp.c:296 neigh_invalidate+0x21c/0x560 net/core/neighbour.c:1052 neigh_timer_handler+0xbd9/0xf50 net/core/neighbour.c:1139 call_timer_fn+0x193/0x590 kernel/time/timer.c:1700 expire_timers kernel/time/timer.c:1751 [inline] __run_timers+0x764/0xb20 kernel/time/timer.c:2022 run_timer_softirq+0x58/0xd0 kernel/time/timer.c:2035 __do_softirq+0x21a/0x8de kernel/softirq.c:553 invoke_softirq kernel/softirq.c:427 [inline] __irq_exit_rcu kernel/softirq.c:632 [inline] irq_exit_rcu+0xb7/0x120 kernel/softirq.c:644 sysvec_apic_timer_interrupt+0x95/0xb0 arch/x86/kernel/apic/apic.c:1076 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:__sanitizer_cov_trace_switch+0x3b/0x90 kernel/kcov.c:341 Code: 53 48 8b 46 08 48 83 f8 20 74 63 77 44 48 83 f8 08 74 53 48 83 f8 10 75 2f 41 bd 03 00 00 00 4c 8b 75 00 31 db 4d 85 f6 74 1e <48> 8b 74 dd 10 4c 89 e2 4c 89 ef 48 83 c3 01 48 8b 4c 24 28 e8 2c RSP: 0018:ffffc9000be36c40 EFLAGS: 00000202 RAX: 0000000000000002 RBX: 0000000000000001 RCX: ffffffff8139fcf5 RDX: ffff88805a1c9dc0 RSI: 0000000000000002 RDI: 0000000000000001 RBP: ffffffff8ac9d500 R08: 0000000000000001 R09: 0000000000000002 R10: 0000000000000005 R11: 0000000000000002 R12: 0000000000000005 R13: 0000000000000001 R14: 0000000000000008 R15: ffffc9000be36d25 unwind_next_frame+0x6b5/0x2390 arch/x86/kernel/unwind_orc.c:515 arch_stack_walk+0xfa/0x170 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x96/0xd0 kernel/stacktrace.c:122 kasan_save_stack+0x33/0x50 mm/kasan/common.c:45 kasan_set_track+0x25/0x30 mm/kasan/common.c:52 kasan_save_free_info+0x2b/0x40 mm/kasan/generic.c:522 ____kasan_slab_free mm/kasan/common.c:236 [inline] ____kasan_slab_free+0x15b/0x1b0 mm/kasan/common.c:200 kasan_slab_free include/linux/kasan.h:164 [inline] slab_free_hook mm/slub.c:1800 [inline] slab_free_freelist_hook+0x114/0x1e0 mm/slub.c:1826 slab_free mm/slub.c:3809 [inline] kmem_cache_free+0xf8/0x350 mm/slub.c:3831 jbd2_free_handle include/linux/jbd2.h:1597 [inline] jbd2_journal_stop+0x708/0xe20 fs/jbd2/transaction.c:1959 __ext4_journal_stop+0xdd/0x200 fs/ext4/ext4_jbd2.c:134 ext4_iomap_alloc fs/ext4/inode.c:3330 [inline] ext4_iomap_begin+0x48a/0x7d0 fs/ext4/inode.c:3370 iomap_iter+0x488/0xfe0 fs/iomap/iter.c:91 __iomap_dio_rw+0x6c4/0x1bc0 fs/iomap/direct-io.c:658 iomap_dio_rw+0x40/0xa0 fs/iomap/direct-io.c:748 ext4_dio_write_iter fs/ext4/file.c:575 [inline] ext4_file_write_iter+0x12c2/0x1950 fs/ext4/file.c:694 call_write_iter include/linux/fs.h:2020 [inline] do_iter_readv_writev+0x21e/0x3c0 fs/read_write.c:735 do_iter_write+0x17f/0x7f0 fs/read_write.c:860 vfs_iter_write+0x7a/0xb0 fs/read_write.c:901 iter_file_splice_write+0x698/0xc00 fs/splice.c:736 do_splice_from fs/splice.c:933 [inline] direct_splice_actor+0x118/0x180 fs/splice.c:1142 splice_direct_to_actor+0x347/0xa30 fs/splice.c:1088 do_splice_direct+0x1af/0x280 fs/splice.c:1194 do_sendfile+0xb3e/0x1310 fs/read_write.c:1254 __do_sys_sendfile64 fs/read_write.c:1322 [inline] __se_sys_sendfile64 fs/read_write.c:1308 [inline] __x64_sys_sendfile64+0x1d6/0x220 fs/read_write.c:1308 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x40/0x110 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f18dfe7cae9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f18e0b3f0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007f18dff9c050 RCX: 00007f18dfe7cae9 RDX: 0000000000000000 RSI: 0000000000000008 RDI: 0000000000000007 RBP: 00007f18dfec847a R08: 0000000000000000 R09: 0000000000000000 R10: 00000000f03b0000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f18dff9c050 R15: 00007fff06d284b8 ---------------- Code disassembly (best guess): 0: 53 push %rbx 1: 48 8b 46 08 mov 0x8(%rsi),%rax 5: 48 83 f8 20 cmp $0x20,%rax 9: 74 63 je 0x6e b: 77 44 ja 0x51 d: 48 83 f8 08 cmp $0x8,%rax 11: 74 53 je 0x66 13: 48 83 f8 10 cmp $0x10,%rax 17: 75 2f jne 0x48 19: 41 bd 03 00 00 00 mov $0x3,%r13d 1f: 4c 8b 75 00 mov 0x0(%rbp),%r14 23: 31 db xor %ebx,%ebx 25: 4d 85 f6 test %r14,%r14 28: 74 1e je 0x48 * 2a: 48 8b 74 dd 10 mov 0x10(%rbp,%rbx,8),%rsi <-- trapping instruction 2f: 4c 89 e2 mov %r12,%rdx 32: 4c 89 ef mov %r13,%rdi 35: 48 83 c3 01 add $0x1,%rbx 39: 48 8b 4c 24 28 mov 0x28(%rsp),%rcx 3e: e8 .byte 0xe8 3f: 2c .byte 0x2c