------------[ cut here ]------------
WARNING: CPU: 1 PID: 4437 at net/ipv4/route.c:1259 kfree_skb include/linux/skbuff.h:1218 [inline]
WARNING: CPU: 1 PID: 4437 at net/ipv4/route.c:1259 ip_rt_bug+0x28/0x120 net/ipv4/route.c:1258
Modules linked in:
CPU: 1 PID: 4437 Comm: udevd Not tainted 6.2.0-rc8-syzkaller-00202-gec35307e18ba #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023
RIP: 0010:ip_rt_bug+0x28/0x120 net/ipv4/route.c:1259
Code: 00 00 f3 0f 1e fa 41 54 55 48 89 d5 53 48 83 ec 08 e8 8c 94 33 f9 66 90 e8 85 94 33 f9 be 02 00 00 00 48 89 ef e8 78 d4 78 ff <0f> 0b 48 83 c4 08 31 c0 5b 5d 41 5c c3 e8 66 94 33 f9 48 8d 7d 10
RSP: 0018:ffffc900001e0870 EFLAGS: 00010246
RAX: 0000000000000000 RBX: ffff88807dc50000 RCX: 0000000000000100
RDX: ffff88807cc69d40 RSI: ffffffff884d7498 RDI: 0000000000000000
RBP: ffff888028addc80 R08: 0000000000000000 R09: ffffffff9136bb57
R10: 0000000000000001 R11: 0000000000000001 R12: ffff8880218c1a00
R13: ffff888028addc80 R14: 0000000000000000 R15: ffff888028addcd8
FS: 00007fae1bfa2840(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fbd3a6d5720 CR3: 000000002bbf7000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
dst_output include/net/dst.h:444 [inline]
ip_local_out net/ipv4/ip_output.c:126 [inline]
ip_send_skb net/ipv4/ip_output.c:1586 [inline]
ip_push_pending_frames+0x129/0x2b0 net/ipv4/ip_output.c:1606
icmp_push_reply+0x319/0x440 net/ipv4/icmp.c:386
__icmp_send+0xb80/0x13f0 net/ipv4/icmp.c:762
ipv4_send_dest_unreach net/ipv4/route.c:1239 [inline]
ipv4_link_failure+0x5aa/0x9b0 net/ipv4/route.c:1246
dst_link_failure include/net/dst.h:423 [inline]
arp_error_report+0xcb/0x1c0 net/ipv4/arp.c:296
neigh_invalidate+0x20d/0x560 net/core/neighbour.c:1079
neigh_timer_handler+0xd9e/0x1150 net/core/neighbour.c:1166
call_timer_fn+0x1da/0x7c0 kernel/time/timer.c:1700
expire_timers+0x2c6/0x5c0 kernel/time/timer.c:1751
__run_timers kernel/time/timer.c:2022 [inline]
__run_timers kernel/time/timer.c:1995 [inline]
run_timer_softirq+0x326/0x910 kernel/time/timer.c:2035
__do_softirq+0x1fb/0xadc kernel/softirq.c:571
invoke_softirq kernel/softirq.c:445 [inline]
__irq_exit_rcu+0x123/0x180 kernel/softirq.c:650
irq_exit_rcu+0x9/0x20 kernel/softirq.c:662
sysvec_apic_timer_interrupt+0x97/0xc0 arch/x86/kernel/apic/apic.c:1107
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:649
RIP: 0010:unwind_done arch/x86/include/asm/unwind.h:50 [inline]
RIP: 0010:unwind_get_return_address+0x12/0xa0 arch/x86/kernel/unwind_orc.c:339
Code: ff ff ff e8 00 d5 98 00 eb b4 e8 f9 d4 98 00 eb 80 0f 1f 80 00 00 00 00 f3 0f 1e fa 48 b8 00 00 00 00 00 fc ff df 48 89 fa 55 <48> c1 ea 03 53 48 89 fb 0f b6 04 02 84 c0 74 04 3c 03 7e 51 8b 03
RSP: 0018:ffffc900031af790 EFLAGS: 00000202
RAX: dffffc0000000000 RBX: ffffffff816f50e0 RCX: ffffc900031af830
RDX: ffffc900031af7a0 RSI: ffffc900031af828 RDI: ffffc900031af7a0
RBP: ffffc900031af828 R08: ffffffff8ef86158 R09: ffffc900031af7d4
R10: fffff52000635eff R11: ffffc900031af830 R12: ffffc900031af858
R13: 0000000000000000 R14: ffff88807cc69d40 R15: ffffea00010ed600
arch_stack_walk+0x97/0xf0 arch/x86/kernel/stacktrace.c:26
stack_trace_save+0x90/0xc0 kernel/stacktrace.c:122
kasan_save_stack+0x22/0x40 mm/kasan/common.c:45
kasan_set_track+0x25/0x30 mm/kasan/common.c:52
kasan_save_free_info+0x2e/0x40 mm/kasan/generic.c:523
____kasan_slab_free mm/kasan/common.c:236 [inline]
____kasan_slab_free+0x160/0x1c0 mm/kasan/common.c:200
kasan_slab_free include/linux/kasan.h:177 [inline]
slab_free_hook mm/slub.c:1781 [inline]
slab_free_freelist_hook+0x8b/0x1c0 mm/slub.c:1807
slab_free mm/slub.c:3787 [inline]
__kmem_cache_free+0xaf/0x3b0 mm/slub.c:3800
tomoyo_realpath_from_path+0x190/0x600 security/tomoyo/realpath.c:286
tomoyo_get_realpath security/tomoyo/file.c:151 [inline]
tomoyo_path_number_perm+0x217/0x570 security/tomoyo/file.c:723
security_file_ioctl+0x54/0xb0 security/security.c:1624
__do_sys_ioctl fs/ioctl.c:864 [inline]
__se_sys_ioctl fs/ioctl.c:856 [inline]
__x64_sys_ioctl+0xb7/0x210 fs/ioctl.c:856
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7fae1bb2b0e7
Code: 3c 1c e8 1c ff ff ff 85 c0 79 87 49 c7 c4 ff ff ff ff 5b 5d 4c 89 e0 41 5c c3 66 0f 1f 84 00 00 00 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 61 9d 0c 00 f7 d8 64 89 01 48
RSP: 002b:00007ffe65a8e438 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fae1bb2b0e7
RDX: 0000000000000000 RSI: 000000000000125f RDI: 000000000000000c
RBP: 0000557734118a50 R08: 0000000000000008 R09: 00005577341308d0
R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffe65a8e648
R13: 000000000000000c R14: 0000557734118a50 R15: 0000000000000000
----------------
Code disassembly (best guess), 3 bytes skipped:
0: e8 00 d5 98 00 callq 0x98d505
5: eb b4 jmp 0xffffffbb
7: e8 f9 d4 98 00 callq 0x98d505
c: eb 80 jmp 0xffffff8e
e: 0f 1f 80 00 00 00 00 nopl 0x0(%rax)
15: f3 0f 1e fa endbr64
19: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax
20: fc ff df
23: 48 89 fa mov %rdi,%rdx
26: 55 push %rbp
* 27: 48 c1 ea 03 shr $0x3,%rdx <-- trapping instruction
2b: 53 push %rbx
2c: 48 89 fb mov %rdi,%rbx
2f: 0f b6 04 02 movzbl (%rdx,%rax,1),%eax
33: 84 c0 test %al,%al
35: 74 04 je 0x3b
37: 3c 03 cmp $0x3,%al
39: 7e 51 jle 0x8c
3b: 8b 03 mov (%rbx),%eax