------------[ cut here ]------------ WARNING: CPU: 1 PID: 10052 at net/ipv4/route.c:1241 ip_rt_bug+0x2c/0x110 net/ipv4/route.c:1241 Modules linked in: CPU: 1 UID: 0 PID: 10052 Comm: syz.8.1211 Not tainted 6.12.0-syzkaller-00239-gc6d64479d609 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 RIP: 0010:ip_rt_bug+0x2c/0x110 net/ipv4/route.c:1241 Code: 1e fa 41 57 41 56 41 55 41 54 53 48 89 d3 e8 bb d2 72 f7 66 90 e8 b4 d2 72 f7 31 ff 48 89 de ba 02 00 00 00 e8 65 b4 6a 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:ffffc90000a18680 EFLAGS: 00010286 RAX: 78e31174ec3e3400 RBX: ffff88807dfad500 RCX: ffffffff8170d01a RDX: dffffc0000000000 RSI: ffffffff8c0acc00 RDI: ffffffff8c611a00 RBP: 0000000000000001 R08: ffffffff942d989f R09: ffffffff8a221e6b R10: dffffc0000000000 R11: fffffbfff285b314 R12: dffffc0000000000 R13: ffffc90000a188f8 R14: ffff888060753b00 R15: ffff888144e821c0 FS: 00007fdd348f06c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd87e3d4f98 CR3: 000000004c39c000 CR4: 00000000003526f0 Call Trace: ip_local_out net/ipv4/ip_output.c:130 [inline] ip_send_skb net/ipv4/ip_output.c:1496 [inline] ip_push_pending_frames+0xbf/0x150 net/ipv4/ip_output.c:1516 __icmp_send+0x1017/0x15c0 net/ipv4/icmp.c:780 ipv4_send_dest_unreach net/ipv4/route.c:1221 [inline] ipv4_link_failure+0x62f/0xa10 net/ipv4/route.c:1228 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:1061 neigh_timer_handler+0x8a5/0xfe0 net/core/neighbour.c:1148 call_timer_fn+0x18e/0x650 kernel/time/timer.c:1794 expire_timers kernel/time/timer.c:1845 [inline] __run_timers kernel/time/timer.c:2419 [inline] __run_timer_base+0x66a/0x8e0 kernel/time/timer.c:2430 run_timer_base kernel/time/timer.c:2439 [inline] run_timer_softirq+0xb7/0x170 kernel/time/timer.c:2449 handle_softirqs+0x2c5/0x980 kernel/softirq.c:554 __do_softirq kernel/softirq.c:588 [inline] invoke_softirq kernel/softirq.c:428 [inline] __irq_exit_rcu+0xf4/0x1c0 kernel/softirq.c:637 irq_exit_rcu+0x9/0x30 kernel/softirq.c:649 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1049 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:160 [inline] RIP: 0010:_raw_spin_unlock_irq+0x29/0x50 kernel/locking/spinlock.c:202 Code: 90 f3 0f 1e fa 53 48 89 fb 48 83 c7 18 48 8b 74 24 08 e8 ba 78 9e f5 48 89 df e8 d2 be 9f f5 e8 9d b3 ca f5 fb bf 01 00 00 00 e2 39 91 f5 65 8b 05 a3 d1 31 74 85 c0 74 06 5b c3 cc cc cc cc RSP: 0018:ffffc900131ef618 EFLAGS: 00000286 RAX: 78e31174ec3e3400 RBX: ffff888054935f18 RCX: ffffffff8170d01a RDX: dffffc0000000000 RSI: ffffffff8c0acc00 RDI: 0000000000000001 RBP: 1ffff1100a926be2 R08: ffffffff942d9817 R09: 1ffffffff285b302 R10: dffffc0000000000 R11: fffffbfff285b303 R12: ffffc900131ef828 R13: ffffea00013c03c0 R14: ffffea00013c03c0 R15: ffff888054935f10 spin_unlock_irq include/linux/spinlock.h:401 [inline] filemap_remove_folio+0x110/0x2e0 mm/filemap.c:266 truncate_inode_folio+0x5d/0x70 mm/truncate.c:177 shmem_undo_range+0x43c/0x1cf0 mm/shmem.c:1033 shmem_truncate_range mm/shmem.c:1149 [inline] shmem_evict_inode+0x29b/0xa80 mm/shmem.c:1277 evict+0x4e8/0x9a0 fs/inode.c:796 __dentry_kill+0x20d/0x630 fs/dcache.c:625 dput+0x19f/0x2b0 fs/dcache.c:867 __fput+0x5ba/0xa50 fs/file_table.c:458 task_work_run+0x24f/0x310 kernel/task_work.c:239 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop kernel/entry/common.c:114 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x168/0x370 kernel/entry/common.c:218 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fdd33b7e759 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fdd348f0038 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: 0000000020000000 RBX: 00007fdd33d35f80 RCX: 00007fdd33b7e759 RDX: 000000000300000b RSI: 0000000000fbe000 RDI: 0000000020000000 RBP: 00007fdd33bf175e R08: ffffffffffffffff R09: 0000000000000000 R10: 0000000000004031 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fdd33d35f80 R15: 00007fdd33e5fa28 ---------------- Code disassembly (best guess): 0: 90 nop 1: f3 0f 1e fa endbr64 5: 53 push %rbx 6: 48 89 fb mov %rdi,%rbx 9: 48 83 c7 18 add $0x18,%rdi d: 48 8b 74 24 08 mov 0x8(%rsp),%rsi 12: e8 ba 78 9e f5 call 0xf59e78d1 17: 48 89 df mov %rbx,%rdi 1a: e8 d2 be 9f f5 call 0xf59fbef1 1f: e8 9d b3 ca f5 call 0xf5cab3c1 24: fb sti 25: bf 01 00 00 00 mov $0x1,%edi * 2a: e8 e2 39 91 f5 call 0xf5913a11 <-- trapping instruction 2f: 65 8b 05 a3 d1 31 74 mov %gs:0x7431d1a3(%rip),%eax # 0x7431d1d9 36: 85 c0 test %eax,%eax 38: 74 06 je 0x40 3a: 5b pop %rbx 3b: c3 ret 3c: cc int3 3d: cc int3 3e: cc int3 3f: cc int3