syzbot


WARNING in ip_rt_bug (3)

Status: upstream: reported on 2024/12/21 00:20
Reported-by: syzbot+68d0c7f82923d01a671f@syzkaller.appspotmail.com
First crash: 176d, last: 9d00h
Similar bugs (7)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 WARNING in ip_rt_bug C error 2 1351d 1899d 0/1 upstream: reported C repro on 2020/04/03 11:53
linux-4.14 WARNING in ip_rt_bug C inconclusive 1 1827d 1887d 0/1 upstream: reported C repro on 2020/04/15 03:43
linux-6.1 WARNING in ip_rt_bug (2) 1 437d 437d 0/3 auto-obsoleted due to no activity on 2024/07/13 04:22
linux-6.1 WARNING in ip_rt_bug 1 668d 668d 0/3 auto-obsoleted due to no activity on 2023/11/25 06:32
upstream WARNING in ip_rt_bug (2) net C done error 364 10d 976d 0/28 upstream: reported C repro on 2022/10/12 18:26
linux-5.15 WARNING in ip_rt_bug 7 40d 160d 0/3 upstream: reported on 2025/01/06 01:15
upstream WARNING in ip_rt_bug net 1 2632d 2624d 0/28 auto-closed as invalid on 2019/02/22 10:34

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 12462 at net/ipv4/route.c:1274 kfree_skb include/linux/skbuff.h:1220 [inline]
WARNING: CPU: 1 PID: 12462 at net/ipv4/route.c:1274 ip_rt_bug+0x25/0xf0 net/ipv4/route.c:1273
Modules linked in:
CPU: 1 PID: 12462 Comm: syz.6.2535 Not tainted 6.1.139-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
RIP: 0010:ip_rt_bug+0x25/0xf0 net/ipv4/route.c:1274
Code: 41 ff ff ff 90 41 57 41 56 41 55 41 54 53 48 89 d3 e8 df 9d eb f8 66 90 e8 d8 9d eb f8 48 89 df be 01 00 00 00 e8 1b e3 7e ff <0f> 0b 31 c0 5b 41 5c 41 5d 41 5e 41 5f c3 49 bd 00 00 00 00 00 fc
RSP: 0018:ffffc900001e0638 EFLAGS: 00010292
RAX: 2f72319d5ce96200 RBX: ffff8880737c7280 RCX: 2f72319d5ce96200
RDX: dffffc0000000000 RSI: ffffffff8a6c0000 RDI: ffffffff8abf1020
RBP: ffff88807b206400 R08: dffffc0000000000 R09: fffffbfff211705b
R10: fffffbfff211705b R11: 1ffffffff211705a R12: ffff88807b206430
R13: ffff8880737c72d8 R14: ffff8880737c7280 R15: ffff88801fad9380
FS:  000055558b896500(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000021000 CR3: 000000001ff61000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 dst_output include/net/dst.h:453 [inline]
 ip_local_out net/ipv4/ip_output.c:126 [inline]
 ip_send_skb+0x129/0x1c0 net/ipv4/ip_output.c:1599
 __icmp_send+0xfbb/0x1320 net/ipv4/icmp.c:785
 ipv4_send_dest_unreach net/ipv4/route.c:1254 [inline]
 ipv4_link_failure+0x65c/0xa10 net/ipv4/route.c:1261
 dst_link_failure include/net/dst.h:423 [inline]
 arp_error_report+0x10e/0x160 net/ipv4/arp.c:296
 neigh_invalidate+0x22c/0x450 net/core/neighbour.c:1059
 neigh_timer_handler+0x911/0x1080 net/core/neighbour.c:1146
 call_timer_fn+0x1a0/0x670 kernel/time/timer.c:1504
 expire_timers kernel/time/timer.c:1549 [inline]
 __run_timers+0x525/0x7c0 kernel/time/timer.c:1820
 run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1833
 handle_softirqs+0x2a1/0x920 kernel/softirq.c:578
 __do_softirq kernel/softirq.c:612 [inline]
 invoke_softirq kernel/softirq.c:452 [inline]
 __irq_exit_rcu+0x12f/0x220 kernel/softirq.c:661
 irq_exit_rcu+0x5/0x20 kernel/softirq.c:673
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1118 [inline]
 sysvec_apic_timer_interrupt+0xa0/0xc0 arch/x86/kernel/apic/apic.c:1118
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:691
RIP: 0010:finish_task_switch+0x26a/0x8f0 kernel/sched/core.c:5123
Code: 0f 84 3b 01 00 00 48 85 db 0f 85 5a 01 00 00 0f 1f 44 00 00 4c 8b 75 d0 4c 89 e7 e8 e0 b9 c0 08 e8 eb c1 2e 00 fb 4c 8b 65 c0 <49> 8d bc 24 f8 15 00 00 48 89 f8 48 c1 e8 03 42 0f b6 04 28 84 c0
RSP: 0018:ffffc900198c7898 EFLAGS: 00000282
RAX: 2f72319d5ce96200 RBX: 0000000000000000 RCX: 2f72319d5ce96200
RDX: dffffc0000000000 RSI: ffffffff8a6c0000 RDI: ffffffff8abf1020
RBP: ffffc900198c78f0 R08: dffffc0000000000 R09: ffffed10171e7549
R10: ffffed10171e7549 R11: 1ffff110171e7548 R12: ffff88807ca6bb80
R13: dffffc0000000000 R14: ffff888076e33b80 R15: ffff8880b8f3b510
 context_switch kernel/sched/core.c:5247 [inline]
 __schedule+0x10f1/0x40d0 kernel/sched/core.c:6561
 preempt_schedule_common+0x82/0xd0 kernel/sched/core.c:6730
 preempt_schedule+0xa7/0xb0 kernel/sched/core.c:6754
 preempt_schedule_thunk+0x16/0x18 arch/x86/entry/thunk_64.S:34
 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline]
 _raw_spin_unlock_irqrestore+0xf6/0x100 kernel/locking/spinlock.c:194
 hrtimer_start_expires include/linux/hrtimer.h:434 [inline]
 hrtimer_sleeper_start_expires kernel/time/hrtimer.c:1971 [inline]
 do_nanosleep+0x17b/0x5f0 kernel/time/hrtimer.c:2047
 hrtimer_nanosleep+0x289/0x4b0 kernel/time/hrtimer.c:2098
 __do_sys_clock_nanosleep kernel/time/posix-timers.c:1313 [inline]
 __se_sys_clock_nanosleep+0x2e6/0x370 kernel/time/posix-timers.c:1290
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f86b7bc1225
Code: 24 0c 89 3c 24 48 89 4c 24 18 e8 f6 54 ff ff 4c 8b 54 24 18 48 8b 54 24 10 41 89 c0 8b 74 24 0c 8b 3c 24 b8 e6 00 00 00 0f 05 <44> 89 c7 48 89 04 24 e8 4f 55 ff ff 48 8b 04 24 48 83 c4 28 f7 d8
RSP: 002b:00007ffd443a8890 EFLAGS: 00000293 ORIG_RAX: 00000000000000e6
RAX: ffffffffffffffda RBX: 00007f86b7db5fa0 RCX: 00007f86b7bc1225
RDX: 00007ffd443a88d0 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 00007f86b7db7ba0 R08: 0000000000000000 R09: 003920c40128e550
R10: 0000000000000000 R11: 0000000000000293 R12: 000000000007e887
R13: 00007ffd443a89f0 R14: ffffffffffffffff R15: 00007ffd443a8a10
 </TASK>
----------------
Code disassembly (best guess):
   0:	0f 84 3b 01 00 00    	je     0x141
   6:	48 85 db             	test   %rbx,%rbx
   9:	0f 85 5a 01 00 00    	jne    0x169
   f:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)
  14:	4c 8b 75 d0          	mov    -0x30(%rbp),%r14
  18:	4c 89 e7             	mov    %r12,%rdi
  1b:	e8 e0 b9 c0 08       	call   0x8c0ba00
  20:	e8 eb c1 2e 00       	call   0x2ec210
  25:	fb                   	sti
  26:	4c 8b 65 c0          	mov    -0x40(%rbp),%r12
* 2a:	49 8d bc 24 f8 15 00 	lea    0x15f8(%r12),%rdi <-- trapping instruction
  31:	00
  32:	48 89 f8             	mov    %rdi,%rax
  35:	48 c1 e8 03          	shr    $0x3,%rax
  39:	42 0f b6 04 28       	movzbl (%rax,%r13,1),%eax
  3e:	84 c0                	test   %al,%al

Crashes (26):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/05/22 05:21 linux-6.1.y 325285d9fc86 0919b50b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in ip_rt_bug
2025/05/19 15:54 linux-6.1.y 325285d9fc86 b84f0537 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in ip_rt_bug
2025/05/18 09:23 linux-6.1.y 325285d9fc86 f41472b0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in ip_rt_bug
2025/05/17 01:42 linux-6.1.y 02b72ccb5f9d f41472b0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in ip_rt_bug
2025/05/17 01:39 linux-6.1.y 02b72ccb5f9d f41472b0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in ip_rt_bug
2025/05/14 17:54 linux-6.1.y 02b72ccb5f9d a4fa04ef .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in ip_rt_bug
2025/05/09 10:59 linux-6.1.y 02b72ccb5f9d bb813bcc .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in ip_rt_bug
2025/05/05 17:21 linux-6.1.y ac7079a42ea5 6ca47dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in ip_rt_bug
2025/05/01 01:43 linux-6.1.y 535ec20c5027 ce7952f4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in ip_rt_bug
2025/05/01 01:42 linux-6.1.y 535ec20c5027 ce7952f4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in ip_rt_bug
2025/04/28 23:39 linux-6.1.y 535ec20c5027 aeb6ec69 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in ip_rt_bug
2025/04/25 14:42 linux-6.1.y 535ec20c5027 e3715315 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in ip_rt_bug
2025/04/23 22:26 linux-6.1.y 420102835862 73a168d0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in ip_rt_bug
2025/04/19 14:20 linux-6.1.y 420102835862 2a20f901 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in ip_rt_bug
2025/04/17 14:14 linux-6.1.y 420102835862 229db4cf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in ip_rt_bug
2025/04/17 01:25 linux-6.1.y 420102835862 a95239b1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in ip_rt_bug
2025/03/14 02:25 linux-6.1.y 344a09659766 e2826670 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in ip_rt_bug
2025/02/28 16:29 linux-6.1.y 3a8358583626 67cf5345 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in ip_rt_bug
2025/02/11 16:58 linux-6.1.y 0cbb5f65e52f f2baddf5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in ip_rt_bug
2025/02/06 19:01 linux-6.1.y 0cbb5f65e52f 8002dd28 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in ip_rt_bug
2025/01/29 02:26 linux-6.1.y 75cefdf153f5 865ef71e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in ip_rt_bug
2025/01/21 18:12 linux-6.1.y f4f677285b38 da72ac06 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in ip_rt_bug
2025/01/09 11:48 linux-6.1.y 7dc732d24ff7 9220929f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in ip_rt_bug
2024/12/21 00:19 linux-6.1.y 29f02ec58a94 d7f584ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in ip_rt_bug
2025/06/06 14:47 linux-6.1.y 58485ff1a74f 9fa58bba .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in ip_rt_bug
2025/05/23 21:23 linux-6.1.y da3c5173c55f f8cc0c83 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in ip_rt_bug
* Struck through repros no longer work on HEAD.