syzbot


WARNING in ip_rt_bug

Status: auto-obsoleted due to no activity on 2023/11/25 06:32
Reported-by: syzbot+9d9cf4f542d3ca2cd29f@syzkaller.appspotmail.com
First crash: 484d, last: 484d
Similar bugs (5)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 WARNING in ip_rt_bug C error 2 1167d 1715d 0/1 upstream: reported C repro on 2020/04/03 11:53
linux-4.14 WARNING in ip_rt_bug C inconclusive 1 1643d 1703d 0/1 upstream: reported C repro on 2020/04/15 03:43
linux-6.1 WARNING in ip_rt_bug (2) 1 253d 253d 0/3 auto-obsoleted due to no activity on 2024/07/13 04:22
upstream WARNING in ip_rt_bug (2) net C done error 364 10d 793d 0/28 upstream: reported C repro on 2022/10/12 18:26
upstream WARNING in ip_rt_bug net 1 2448d 2440d 0/28 auto-closed as invalid on 2019/02/22 10:34

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 19637 at net/ipv4/route.c:1259 kfree_skb include/linux/skbuff.h:1217 [inline]
WARNING: CPU: 0 PID: 19637 at net/ipv4/route.c:1259 ip_rt_bug+0x25/0xf0 net/ipv4/route.c:1258
Modules linked in:
CPU: 0 PID: 19637 Comm: syz-executor.4 Not tainted 6.1.46-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023
RIP: 0010:ip_rt_bug+0x25/0xf0 net/ipv4/route.c:1259
Code: ff ff 0f 1f 00 41 57 41 56 41 55 41 54 53 48 89 d3 e8 4f c9 84 f8 66 90 e8 48 c9 84 f8 48 89 df be 01 00 00 00 e8 8b 41 70 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: 00010296
RAX: 73c144860c1ffe01 RBX: ffff88805ca14780 RCX: ffffffff816a592a
RDX: dffffc0000000000 RSI: ffffffff8aebe220 RDI: ffffffff8b3ceae0
RBP: dffffc0000000000 R08: dffffc0000000000 R09: fffffbfff2093457
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88805ca14780
R13: ffff88805ca147d8 R14: ffff888088fd1c40 R15: ffff888142af8d00
FS:  00007fe7fb0026c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000002011b030 CR3: 000000007c98a000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 dst_output include/net/dst.h:444 [inline]
 ip_local_out net/ipv4/ip_output.c:126 [inline]
 ip_send_skb+0x113/0x1a0 net/ipv4/ip_output.c:1596
 __icmp_send+0xfb5/0x14f0 net/ipv4/icmp.c:767
 ipv4_send_dest_unreach net/ipv4/route.c:1239 [inline]
 ipv4_link_failure+0x4fa/0x8b0 net/ipv4/route.c:1246
 dst_link_failure include/net/dst.h:423 [inline]
 arp_error_report+0x112/0x160 net/ipv4/arp.c:296
 neigh_invalidate+0x240/0x460 net/core/neighbour.c:1048
 neigh_timer_handler+0x8a1/0x1010 net/core/neighbour.c:1135
 call_timer_fn+0x19e/0x6b0 kernel/time/timer.c:1474
 expire_timers kernel/time/timer.c:1519 [inline]
 __run_timers+0x67c/0x890 kernel/time/timer.c:1790
 run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1803
 __do_softirq+0x2e9/0xa4c kernel/softirq.c:571
 invoke_softirq kernel/softirq.c:445 [inline]
 __irq_exit_rcu+0x155/0x240 kernel/softirq.c:650
 irq_exit_rcu+0x5/0x20 kernel/softirq.c:662
 sysvec_apic_timer_interrupt+0x91/0xb0 arch/x86/kernel/apic/apic.c:1106
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:649
RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline]
RIP: 0010:_raw_spin_unlock_irqrestore+0xd4/0x130 kernel/locking/spinlock.c:194
Code: 9c 8f 44 24 20 42 80 3c 23 00 74 08 4c 89 f7 e8 72 c0 51 f7 f6 44 24 21 02 75 4e 41 f7 c7 00 02 00 00 74 01 fb bf 01 00 00 00 <e8> 37 34 cf f6 65 8b 05 f8 9e 73 75 85 c0 74 3f 48 c7 04 24 0e 36
RSP: 0018:ffffc9001013f5c0 EFLAGS: 00000206
RAX: 73c144860c1ffe00 RBX: 1ffff92002027ebc RCX: ffffffff816a592a
RDX: dffffc0000000000 RSI: ffffffff8aebe220 RDI: 0000000000000001
RBP: ffffc9001013f650 R08: dffffc0000000000 R09: fffffbfff2093459
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: 1ffff92002027eb8 R14: ffffc9001013f5e0 R15: 0000000000000246
 spin_unlock_irqrestore include/linux/spinlock.h:405 [inline]
 __wake_up_common_lock kernel/sched/wait.c:140 [inline]
 __wake_up_sync_key+0x121/0x1c0 kernel/sched/wait.c:208
 __unix_dgram_recvmsg+0x5fe/0x1260 net/unix/af_unix.c:2478
 ____sys_recvmsg+0x285/0x530
 ___sys_recvmsg net/socket.c:2743 [inline]
 do_recvmmsg+0x46d/0xad0 net/socket.c:2837
 __sys_recvmmsg net/socket.c:2916 [inline]
 __do_sys_recvmmsg net/socket.c:2939 [inline]
 __se_sys_recvmmsg net/socket.c:2932 [inline]
 __x64_sys_recvmmsg+0x195/0x240 net/socket.c:2932
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7fe7fa27cae9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fe7fb0020c8 EFLAGS: 00000246 ORIG_RAX: 000000000000012b
RAX: ffffffffffffffda RBX: 00007fe7fa39c120 RCX: 00007fe7fa27cae9
RDX: 0000000000010106 RSI: 00000000200000c0 RDI: 0000000000000003
RBP: 00007fe7fa2c847a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000006e R14: 00007fe7fa39c120 R15: 00007ffce2172998
 </TASK>
----------------
Code disassembly (best guess):
   0:	9c                   	pushf
   1:	8f 44 24 20          	pop    0x20(%rsp)
   5:	42 80 3c 23 00       	cmpb   $0x0,(%rbx,%r12,1)
   a:	74 08                	je     0x14
   c:	4c 89 f7             	mov    %r14,%rdi
   f:	e8 72 c0 51 f7       	call   0xf751c086
  14:	f6 44 24 21 02       	testb  $0x2,0x21(%rsp)
  19:	75 4e                	jne    0x69
  1b:	41 f7 c7 00 02 00 00 	test   $0x200,%r15d
  22:	74 01                	je     0x25
  24:	fb                   	sti
  25:	bf 01 00 00 00       	mov    $0x1,%edi
* 2a:	e8 37 34 cf f6       	call   0xf6cf3466 <-- trapping instruction
  2f:	65 8b 05 f8 9e 73 75 	mov    %gs:0x75739ef8(%rip),%eax        # 0x75739f2e
  36:	85 c0                	test   %eax,%eax
  38:	74 3f                	je     0x79
  3a:	48                   	rex.W
  3b:	c7                   	.byte 0xc7
  3c:	04 24                	add    $0x24,%al
  3e:	0e                   	(bad)
  3f:	36                   	ss

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/08/17 06:32 linux-6.1.y 6c44e13dc284 74b106b6 .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.