syzbot


WARNING in ip_rt_bug

Status: upstream: reported C repro on 2020/04/15 03:43
Reported-by: syzbot+ebf0599539716fed62b3@syzkaller.appspotmail.com
First crash: 1026d, last: 966d

Fix bisection: the fix commit could be any of (bisect log):
  c10b57a567e4 Linux 4.14.176
  56dfe6252c68 Linux 4.14.188
similar bugs (3):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 WARNING in ip_rt_bug C error 2 489d 1038d 0/1 upstream: reported C repro on 2020/04/03 11:53
upstream WARNING in ip_rt_bug (2) C done error 33 4h42m 115d 0/24 upstream: reported C repro on 2022/10/12 18:26
upstream WARNING in ip_rt_bug 1 1771d 1763d 0/24 auto-closed as invalid on 2019/02/22 10:34
Last patch testing requests:
Created Duration User Patch Repo Result
2023/01/26 04:32 17m retest repro linux-4.14.y report log
2022/09/08 01:27 9m retest repro linux-4.14.y report log

Sample crash report:
syz-executor690 uses obsolete (PF_INET,SOCK_PACKET)
------------[ cut here ]------------
WARNING: CPU: 0 PID: 6314 at net/ipv4/route.c:1244 ip_rt_bug+0x11/0x20 net/ipv4/route.c:1243
Kernel panic - not syncing: panic_on_warn set ...

CPU: 0 PID: 6314 Comm: syz-executor690 Not tainted 4.14.176-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0x13e/0x194 lib/dump_stack.c:58
 panic+0x1f9/0x42d kernel/panic.c:183
 __warn.cold+0x2f/0x30 kernel/panic.c:547
 report_bug+0x20a/0x248 lib/bug.c:186
 fixup_bug arch/x86/kernel/traps.c:177 [inline]
 fixup_bug arch/x86/kernel/traps.c:172 [inline]
 do_error_trap+0x195/0x2d0 arch/x86/kernel/traps.c:295
 invalid_op+0x1b/0x40 arch/x86/entry/entry_64.S:963
RIP: 0010:ip_rt_bug+0x11/0x20 net/ipv4/route.c:1244
RSP: 0018:ffff88809afa73b8 EFLAGS: 00010297
RAX: ffff888097d70500 RBX: ffffffff886d9b80 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff87d842e0 RDI: 0000000000000282
RBP: ffff88809ef05e80 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffff88809dd592c0
R13: ffff88809ef05e80 R14: ffff8880a66aabc0 R15: ffff88809ef05ed8
 dst_output include/net/dst.h:462 [inline]
 ip_local_out+0x93/0x170 net/ipv4/ip_output.c:124
 ip_send_skb+0x3a/0xc0 net/ipv4/ip_output.c:1422
 ip_push_pending_frames+0x5f/0x80 net/ipv4/ip_output.c:1442
 icmp_push_reply+0x381/0x4f0 net/ipv4/icmp.c:395
 __icmp_send+0x90f/0x1110 net/ipv4/icmp.c:743
 icmp_send include/net/icmp.h:47 [inline]
 ip_options_compile+0x93/0xc0 net/ipv4/ip_options.c:485
 ip_rcv_options net/ipv4/ip_input.c:283 [inline]
 ip_rcv_finish+0x657/0x1a10 net/ipv4/ip_input.c:364
 NF_HOOK include/linux/netfilter.h:250 [inline]
 NF_HOOK include/linux/netfilter.h:244 [inline]
 ip_rcv+0x9d8/0xfec net/ipv4/ip_input.c:493
 __netif_receive_skb_core+0x1e50/0x2c00 net/core/dev.c:4477
 __netif_receive_skb+0x27/0x1a0 net/core/dev.c:4515
 netif_receive_skb_internal+0xd7/0x580 net/core/dev.c:4588
 tun_rx_batched.isra.0+0x46c/0x7a0 drivers/net/tun.c:1221
 tun_get_user+0xcde/0x3880 drivers/net/tun.c:1581
 tun_chr_write_iter+0xcf/0x179 drivers/net/tun.c:1608
 call_write_iter include/linux/fs.h:1778 [inline]
 new_sync_write fs/read_write.c:469 [inline]
 __vfs_write+0x44e/0x630 fs/read_write.c:482
 vfs_write+0x192/0x4e0 fs/read_write.c:544
 SYSC_write fs/read_write.c:590 [inline]
 SyS_write+0xf2/0x210 fs/read_write.c:582
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x42/0xb7
RIP: 0033:0x440699
RSP: 002b:00007fff0b9f57f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000440699
RDX: 000000000000100c RSI: 0000000020000240 RDI: 0000000000000005
RBP: 0000000000000000 R08: 0000000000002c00 R09: 00007fff0000000d
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000401f20
R13: 0000000000401fb0 R14: 0000000000000000 R15: 0000000000000000
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (1):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets Title
ci2-linux-4-14 2020/04/15 03:42 linux-4.14.y c10b57a567e4 3f3c5574 .config console log report syz C
* Struck through repros no longer work on HEAD.