------------[ cut here ]------------ WARNING: CPU: 0 PID: 4678 at net/ipv4/route.c:1241 ip_rt_bug+0x2c/0x110 net/ipv4/route.c:1241 Modules linked in: CPU: 0 UID: 0 PID: 4678 Comm: udevd Not tainted 6.11.0-rc5-syzkaller-00015-g3e9bff3bbe13 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/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 db c0 81 f7 66 90 e8 d4 c0 81 f7 31 ff 48 89 de ba 02 00 00 00 e8 75 94 6b 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:ffffc90000007680 EFLAGS: 00010286 RAX: e8adb7e843be2400 RBX: ffff888062b62640 RCX: ffffffff81703f6a RDX: dffffc0000000000 RSI: ffffffff8c0ad560 RDI: ffffffff8c606f40 RBP: 0000000000000001 R08: ffffffff937348df R09: 1ffffffff26e691b R10: dffffc0000000000 R11: fffffbfff26e691c R12: dffffc0000000000 R13: dffffc0000000000 R14: ffff8880262b1dc0 R15: ffff888017f11a00 FS: 00007f17b6594c80(0000) GS:ffff8880b9200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f27e00456c0 CR3: 000000007de50000 CR4: 00000000003506f0 DR0: 0000000000000200 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:1495 [inline] ip_push_pending_frames+0xbf/0x150 net/ipv4/ip_output.c:1515 __icmp_send+0xf89/0x14e0 net/ipv4/icmp.c:777 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:1792 expire_timers kernel/time/timer.c:1843 [inline] __run_timers kernel/time/timer.c:2417 [inline] __run_timer_base+0x66a/0x8e0 kernel/time/timer.c:2428 run_timer_base kernel/time/timer.c:2437 [inline] run_timer_softirq+0xb7/0x170 kernel/time/timer.c:2447 handle_softirqs+0x2c4/0x970 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: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:lock_release+0x658/0xa30 kernel/locking/lockdep.c:5784 Code: 3c 3b 00 74 08 4c 89 f7 e8 15 d6 8a 00 f6 84 24 91 00 00 00 02 75 77 41 f7 c5 00 02 00 00 74 01 fb 48 c7 44 24 60 0e 36 e0 45 <4b> c7 04 27 00 00 00 00 4b c7 44 27 08 00 00 00 00 65 48 8b 04 25 RSP: 0018:ffffc900032bf280 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 1ffff92000657e62 RCX: ffffc900032bf303 RDX: 0000000000000001 RSI: ffffffff8c0ae6e0 RDI: ffffffff8c606f40 RBP: ffffc900032bf3b0 R08: ffffffff9017f86f R09: 1ffffffff202ff0d R10: dffffc0000000000 R11: fffffbfff202ff0e R12: 1ffff92000657e5c R13: 0000000000000246 R14: ffffc900032bf310 R15: dffffc0000000000 rcu_lock_release include/linux/rcupdate.h:336 [inline] rcu_read_unlock include/linux/rcupdate.h:869 [inline] is_bpf_text_address+0x280/0x2a0 kernel/bpf/core.c:769 kernel_text_address+0xa7/0xe0 kernel/extable.c:125 __kernel_text_address+0xd/0x40 kernel/extable.c:79 unwind_get_return_address+0x5d/0xc0 arch/x86/kernel/unwind_orc.c:369 arch_stack_walk+0x125/0x1b0 arch/x86/kernel/stacktrace.c:26 stack_trace_save+0x118/0x1d0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:47 [inline] kasan_save_track+0x3f/0x80 mm/kasan/common.c:68 kasan_save_free_info+0x40/0x50 mm/kasan/generic.c:579 poison_slab_object+0xe0/0x150 mm/kasan/common.c:240 __kasan_slab_free+0x37/0x60 mm/kasan/common.c:256 kasan_slab_free include/linux/kasan.h:184 [inline] slab_free_hook mm/slub.c:2252 [inline] slab_free mm/slub.c:4473 [inline] kfree+0x149/0x360 mm/slub.c:4594 tomoyo_realpath_from_path+0x5a9/0x5e0 security/tomoyo/realpath.c:286 tomoyo_get_realpath security/tomoyo/file.c:151 [inline] tomoyo_path_perm+0x2b7/0x740 security/tomoyo/file.c:822 security_inode_getattr+0xd8/0x130 security/security.c:2269 vfs_getattr+0x45/0x430 fs/stat.c:204 vfs_statx_path fs/stat.c:251 [inline] vfs_statx+0x199/0x490 fs/stat.c:315 vfs_fstatat+0x145/0x190 fs/stat.c:341 __do_sys_newfstatat fs/stat.c:505 [inline] __se_sys_newfstatat fs/stat.c:499 [inline] __x64_sys_newfstatat+0x11d/0x1a0 fs/stat.c:499 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f17b61165f4 Code: 64 c7 00 09 00 00 00 83 c8 ff c3 48 89 f2 b9 00 01 00 00 48 89 fe bf 9c ff ff ff e9 00 00 00 00 41 89 ca b8 06 01 00 00 0f 05 <45> 31 c0 3d 00 f0 ff ff 76 10 48 8b 15 03 a8 0d 00 f7 d8 41 83 c8 RSP: 002b:00007ffcb3282638 EFLAGS: 00000246 ORIG_RAX: 0000000000000106 RAX: ffffffffffffffda RBX: 00007ffcb3283fd8 RCX: 00007f17b61165f4 RDX: 00007ffcb3282648 RSI: 00007ffcb3282ad8 RDI: 00000000ffffff9c RBP: 00007ffcb32826d8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffcb3282ad8 R13: 00007ffcb3282648 R14: 0000565357f97910 R15: 0000000000000000 ---------------- Code disassembly (best guess): 0: 3c 3b cmp $0x3b,%al 2: 00 74 08 4c add %dh,0x4c(%rax,%rcx,1) 6: 89 f7 mov %esi,%edi 8: e8 15 d6 8a 00 call 0x8ad622 d: f6 84 24 91 00 00 00 testb $0x2,0x91(%rsp) 14: 02 15: 75 77 jne 0x8e 17: 41 f7 c5 00 02 00 00 test $0x200,%r13d 1e: 74 01 je 0x21 20: fb sti 21: 48 c7 44 24 60 0e 36 movq $0x45e0360e,0x60(%rsp) 28: e0 45 * 2a: 4b c7 04 27 00 00 00 movq $0x0,(%r15,%r12,1) <-- trapping instruction 31: 00 32: 4b c7 44 27 08 00 00 movq $0x0,0x8(%r15,%r12,1) 39: 00 00 3b: 65 gs 3c: 48 rex.W 3d: 8b .byte 0x8b 3e: 04 25 add $0x25,%al