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: 147d, last: 22h30m
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 1322d 1870d 0/1 upstream: reported C repro on 2020/04/03 11:53
linux-4.14 WARNING in ip_rt_bug C inconclusive 1 1798d 1858d 0/1 upstream: reported C repro on 2020/04/15 03:43
linux-6.1 WARNING in ip_rt_bug (2) 1 408d 408d 0/3 auto-obsoleted due to no activity on 2024/07/13 04:22
linux-6.1 WARNING in ip_rt_bug 1 639d 639d 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 948d 0/28 upstream: reported C repro on 2022/10/12 18:26
linux-5.15 WARNING in ip_rt_bug 7 12d 131d 0/3 upstream: reported on 2025/01/06 01:15
upstream WARNING in ip_rt_bug net 1 2603d 2595d 0/28 auto-closed as invalid on 2019/02/22 10:34

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 7313 at net/ipv4/route.c:1274 kfree_skb include/linux/skbuff.h:1220 [inline]
WARNING: CPU: 0 PID: 7313 at net/ipv4/route.c:1274 ip_rt_bug+0x25/0xf0 net/ipv4/route.c:1273
Modules linked in:
CPU: 0 PID: 7313 Comm: kworker/u4:12 Not tainted 6.1.138-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025
Workqueue: bat_events batadv_nc_worker
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 af 74 eb f8 66 90 e8 a8 74 eb f8 48 89 df be 01 00 00 00 e8 9b b1 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:ffffc90000007638 EFLAGS: 00010292
RAX: 9434760a4b912400 RBX: ffff888066f6b000 RCX: 9434760a4b912400
RDX: dffffc0000000000 RSI: ffffffff8a6bfe00 RDI: ffffffff8abf0da0
RBP: ffff888057318100 R08: dffffc0000000000 R09: fffffbfff211705b
R10: fffffbfff211705b R11: 1ffffffff211705a R12: ffff888057318130
R13: ffff888066f6b058 R14: ffff888066f6b000 R15: ffff888144ee0d00
FS:  0000000000000000(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f62e4800000 CR3: 0000000023946000 CR4: 00000000003506f0
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 80 dd 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:ffffc900051cf738 EFLAGS: 00000282
RAX: 9434760a4b912400 RBX: 0000000000000000 RCX: 9434760a4b912400
RDX: dffffc0000000000 RSI: ffffffff8a6bfe00 RDI: ffffffff8abf0da0
RBP: ffffc900051cf790 R08: dffffc0000000000 R09: fffffbfff2117064
R10: fffffbfff2117064 R11: 1ffffffff2117063 R12: ffff88807e738000
R13: dffffc0000000000 R14: ffff88805ffe9dc0 R15: ffff8880b8e3b510
 context_switch kernel/sched/core.c:5247 [inline]
 __schedule+0x10f1/0x40d0 kernel/sched/core.c:6561
 preempt_schedule_irq+0xb1/0x150 kernel/sched/core.c:6873
 irqentry_exit+0x63/0x70 kernel/entry/common.c:439
 asm_sysvec_reschedule_ipi+0x16/0x20 arch/x86/include/asm/idtentry.h:696
RIP: 0010:should_resched arch/x86/include/asm/preempt.h:103 [inline]
RIP: 0010:__local_bh_enable_ip+0x132/0x1b0 kernel/softirq.c:410
Code: 8a e8 a2 fb c0 08 65 66 8b 05 8a 44 b5 7e 66 85 c0 75 54 bf 01 00 00 00 e8 fb 4e 09 00 e8 46 d4 38 00 fb 65 8b 05 f6 13 b4 7e <85> c0 75 05 e8 45 25 b2 ff 48 c7 04 24 0e 36 e0 45 4b c7 04 37 00
RSP: 0018:ffffc900051cfaa0 EFLAGS: 00000286
RAX: 0000000080000000 RBX: 0000000000000201 RCX: 9434760a4b912400
RDX: dffffc0000000000 RSI: ffffffff8a6bfe00 RDI: ffffffff8abf0da0
RBP: ffffc900051cfb38 R08: dffffc0000000000 R09: fffffbfff2117064
R10: fffffbfff2117064 R11: 1ffffffff2117063 R12: ffffffff89d9a796
R13: dffffc0000000000 R14: dffffc0000000000 R15: 1ffff92000a39f54
 spin_unlock_bh include/linux/spinlock.h:396 [inline]
 batadv_nc_purge_paths+0x316/0x3b0 net/batman-adv/network-coding.c:471
 batadv_nc_worker+0x365/0x600 net/batman-adv/network-coding.c:722
 process_one_work+0x898/0x1160 kernel/workqueue.c:2292
 worker_thread+0xaa2/0x1250 kernel/workqueue.c:2439
 kthread+0x29d/0x330 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
 </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 80 dd c0 08       	call   0x8c0dda0
  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 (21):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
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
* Struck through repros no longer work on HEAD.