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: 1d01h, last: 1d01h
Similar bugs (6)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 WARNING in ip_rt_bug C error 2 1175d 1723d 0/1 upstream: reported C repro on 2020/04/03 11:53
linux-4.14 WARNING in ip_rt_bug C inconclusive 1 1651d 1711d 0/1 upstream: reported C repro on 2020/04/15 03:43
linux-6.1 WARNING in ip_rt_bug (2) 1 261d 261d 0/3 auto-obsoleted due to no activity on 2024/07/13 04:22
linux-6.1 WARNING in ip_rt_bug 1 492d 492d 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 4d04h 801d 0/28 upstream: reported C repro on 2022/10/12 18:26
upstream WARNING in ip_rt_bug net 1 2456d 2448d 0/28 auto-closed as invalid on 2019/02/22 10:34

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 5043 at net/ipv4/route.c:1253 kfree_skb include/linux/skbuff.h:1220 [inline]
WARNING: CPU: 1 PID: 5043 at net/ipv4/route.c:1253 ip_rt_bug+0x25/0xf0 net/ipv4/route.c:1252
Modules linked in:
CPU: 1 PID: 5043 Comm: kworker/1:10 Tainted: G        W          6.1.121-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/25/2024
Workqueue: events pwq_unbound_release_workfn
RIP: 0010:ip_rt_bug+0x25/0xf0 net/ipv4/route.c:1253
Code: ff ff 0f 1f 00 41 57 41 56 41 55 41 54 53 48 89 d3 e8 cf ed 60 f8 66 90 e8 c8 ed 60 f8 48 89 df be 01 00 00 00 e8 bb 35 76 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: 00010296
RAX: 2d31b4bf8966ce01 RBX: ffff888060158b40 RCX: ffffffff816b123a
RDX: dffffc0000000000 RSI: ffffffff8b0c0340 RDI: ffffffff8b5e6400
RBP: dffffc0000000000 R08: dffffc0000000000 R09: fffffbfff2249c5f
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888060158b40
R13: ffff888060158b98 R14: ffff888027ceb880 R15: ffff88801f699380
FS:  0000000000000000(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000563e11103600 CR3: 0000000065756000 CR4: 00000000003506e0
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:1599
 __icmp_send+0xf9e/0x15a0 net/ipv4/icmp.c:780
 ipv4_send_dest_unreach net/ipv4/route.c:1233 [inline]
 ipv4_link_failure+0x638/0xa10 net/ipv4/route.c:1240
 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:1059
 neigh_timer_handler+0x8a1/0x1010 net/core/neighbour.c:1146
 call_timer_fn+0x1ad/0x6b0 kernel/time/timer.c:1504
 expire_timers kernel/time/timer.c:1549 [inline]
 __run_timers+0x67c/0x890 kernel/time/timer.c:1820
 run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1833
 handle_softirqs+0x2ee/0xa40 kernel/softirq.c:571
 __do_softirq kernel/softirq.c:605 [inline]
 invoke_softirq kernel/softirq.c:445 [inline]
 __irq_exit_rcu+0x157/0x240 kernel/softirq.c:654
 irq_exit_rcu+0x5/0x20 kernel/softirq.c:666
 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:lockdep_unregister_key+0x562/0x600 kernel/locking/lockdep.c:6367
Code: 1f 91 48 c7 c6 b0 f2 6a 81 e8 4a b4 08 00 e8 85 c8 08 00 e9 ea fb ff ff e8 9b 52 47 09 41 f7 c7 00 02 00 00 74 d0 fb 45 84 f6 <75> cf eb e0 0f 0b 45 31 f6 e9 64 ff ff ff 0f 0b e9 a5 fe ff ff 0f
RSP: 0018:ffffc90004a5fb40 EFLAGS: 00000246
RAX: dffffc0000000000 RBX: 1ffff9200094bf70 RCX: ffffffff97355103
RDX: 0000000000000001 RSI: ffffffff8b0c1020 RDI: ffffffff8b5e6400
RBP: ffffc90004a5fc08 R08: dffffc0000000000 R09: fffffbfff2240148
R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc90004a5fb80
R13: 1ffff9200094bf6c R14: 0000000000000000 R15: 0000000000000a02
 wq_unregister_lockdep kernel/workqueue.c:3500 [inline]
 pwq_unbound_release_workfn+0x23d/0x290 kernel/workqueue.c:3738
 process_one_work+0x8a9/0x11d0 kernel/workqueue.c:2292
 worker_thread+0xa47/0x1200 kernel/workqueue.c:2439
 kthread+0x28d/0x320 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
 </TASK>
----------------
Code disassembly (best guess), 1 bytes skipped:
   0:	91                   	xchg   %eax,%ecx
   1:	48 c7 c6 b0 f2 6a 81 	mov    $0xffffffff816af2b0,%rsi
   8:	e8 4a b4 08 00       	call   0x8b457
   d:	e8 85 c8 08 00       	call   0x8c897
  12:	e9 ea fb ff ff       	jmp    0xfffffc01
  17:	e8 9b 52 47 09       	call   0x94752b7
  1c:	41 f7 c7 00 02 00 00 	test   $0x200,%r15d
  23:	74 d0                	je     0xfffffff5
  25:	fb                   	sti
  26:	45 84 f6             	test   %r14b,%r14b
* 29:	75 cf                	jne    0xfffffffa <-- trapping instruction
  2b:	eb e0                	jmp    0xd
  2d:	0f 0b                	ud2
  2f:	45 31 f6             	xor    %r14d,%r14d
  32:	e9 64 ff ff ff       	jmp    0xffffff9b
  37:	0f 0b                	ud2
  39:	e9 a5 fe ff ff       	jmp    0xfffffee3
  3e:	0f                   	.byte 0xf

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