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: 143d, last: 3d18h
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 1317d 1865d 0/1 upstream: reported C repro on 2020/04/03 11:53
linux-4.14 WARNING in ip_rt_bug C inconclusive 1 1794d 1854d 0/1 upstream: reported C repro on 2020/04/15 03:43
linux-6.1 WARNING in ip_rt_bug (2) 1 404d 404d 0/3 auto-obsoleted due to no activity on 2024/07/13 04:22
linux-6.1 WARNING in ip_rt_bug 1 634d 634d 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 6d00h 943d 0/28 upstream: reported C repro on 2022/10/12 18:26
linux-5.15 WARNING in ip_rt_bug 7 7d11h 127d 0/3 upstream: reported on 2025/01/06 01:15
upstream WARNING in ip_rt_bug net 1 2598d 2590d 0/28 auto-closed as invalid on 2019/02/22 10:34

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 8746 at net/ipv4/route.c:1274 kfree_skb include/linux/skbuff.h:1220 [inline]
WARNING: CPU: 0 PID: 8746 at net/ipv4/route.c:1274 ip_rt_bug+0x25/0xf0 net/ipv4/route.c:1273
Modules linked in:
CPU: 0 PID: 8746 Comm: syz.2.1548 Not tainted 6.1.138-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/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 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: aa902707e14c2000 RBX: ffff888028dd7c80 RCX: aa902707e14c2000
RDX: dffffc0000000000 RSI: ffffffff8a6bfe00 RDI: ffffffff8abf0da0
RBP: ffff888073f52600 R08: dffffc0000000000 R09: fffffbfff211705b
R10: fffffbfff211705b R11: 1ffffffff211705a R12: ffff888073f52630
R13: ffff888028dd7cd8 R14: ffff888028dd7c80 R15: ffff888144298d00
FS:  0000000000000000(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fe08a89f000 CR3: 000000005e679000 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:_compound_head include/linux/page-flags.h:253 [inline]
RIP: 0010:PageSlab include/linux/page-flags.h:487 [inline]
RIP: 0010:page_table_check_clear+0xf1/0x6b0 mm/page_table_check.c:76
Code: 6d 00 48 c7 c7 ff ff ff ff 4c 89 ee e8 78 6b a4 ff 49 83 fd ff 0f 84 19 03 00 00 48 b8 00 00 00 00 00 fc ff df 80 7c 05 00 00 <74> 08 4c 89 e7 e8 d5 da f5 ff 4d 8b 2c 24 4c 89 ee 48 83 e6 01 31
RSP: 0018:ffffc9000c547460 EFLAGS: 00000246
RAX: dffffc0000000000 RBX: 0000000000000001 RCX: ffff88802696bb80
RDX: 0000000000000000 RSI: 00fff1800000004a RDI: ffffffffffffffff
RBP: 1ffffd400034fdd1 R08: dffffc0000000000 R09: fffffbfff2117049
R10: fffffbfff2117049 R11: 1ffffffff2117048 R12: ffffea0001a7ee88
R13: 00fff1800000004a R14: ffff88801b88ec50 R15: ffffea0001a7ee80
 ptep_get_and_clear_full arch/x86/include/asm/jump_label.h:-1 [inline]
 zap_pte_range mm/memory.c:1435 [inline]
 zap_pmd_range mm/memory.c:1574 [inline]
 zap_pud_range mm/memory.c:1603 [inline]
 zap_p4d_range mm/memory.c:1624 [inline]
 unmap_page_range+0x1924/0x2500 mm/memory.c:1645
 unmap_vmas+0x22c/0x330 mm/memory.c:1730
 exit_mmap+0x1cc/0x8e0 mm/mmap.c:3238
 __mmput+0x118/0x3c0 kernel/fork.c:1200
 exit_mm+0x1e6/0x2c0 kernel/exit.c:565
 do_exit+0x8b9/0x2400 kernel/exit.c:858
 do_group_exit+0x217/0x2d0 kernel/exit.c:1021
 get_signal+0x1272/0x1350 kernel/signal.c:2871
 arch_do_signal_or_restart+0xb0/0x1230 arch/x86/kernel/signal.c:871
 exit_to_user_mode_loop+0x70/0x110 kernel/entry/common.c:174
 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:210
 __syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline]
 syscall_exit_to_user_mode+0x16/0x40 kernel/entry/common.c:303
 do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:87
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7feaf098e969
Code: Unable to access opcode bytes at 0x7feaf098e93f.
RSP: 002b:00007feaf17100e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: fffffffffffffe00 RBX: 00007feaf0bb5fa8 RCX: 00007feaf098e969
RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007feaf0bb5fa8
RBP: 00007feaf0bb5fa0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007feaf0bb5fac
R13: 0000000000000000 R14: 00007ffef450f460 R15: 00007ffef450f548
 </TASK>
----------------
Code disassembly (best guess), 2 bytes skipped:
   0:	48 c7 c7 ff ff ff ff 	mov    $0xffffffffffffffff,%rdi
   7:	4c 89 ee             	mov    %r13,%rsi
   a:	e8 78 6b a4 ff       	call   0xffa46b87
   f:	49 83 fd ff          	cmp    $0xffffffffffffffff,%r13
  13:	0f 84 19 03 00 00    	je     0x332
  19:	48 b8 00 00 00 00 00 	movabs $0xdffffc0000000000,%rax
  20:	fc ff df
  23:	80 7c 05 00 00       	cmpb   $0x0,0x0(%rbp,%rax,1)
* 28:	74 08                	je     0x32 <-- trapping instruction
  2a:	4c 89 e7             	mov    %r12,%rdi
  2d:	e8 d5 da f5 ff       	call   0xfff5db07
  32:	4d 8b 2c 24          	mov    (%r12),%r13
  36:	4c 89 ee             	mov    %r13,%rsi
  39:	48 83 e6 01          	and    $0x1,%rsi
  3d:	31                   	.byte 0x31

Crashes (18):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
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.