syzbot


general protection fault in dst_dev_put

Status: auto-obsoleted due to no activity on 2023/03/30 13:18
Reported-by: syzbot+01483da841b991ce1ca1@syzkaller.appspotmail.com
First crash: 734d, last: 734d
Similar bugs (7)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream general protection fault in dst_dev_put (6) net 40 1027d 1434d 0/28 auto-closed as invalid on 2022/06/10 11:20
upstream general protection fault in dst_dev_put (2) net C done 442 1995d 2184d 12/28 fixed on 2019/07/10 21:40
linux-4.14 general protection fault in dst_dev_put 1 663d 663d 0/1 upstream: reported on 2023/02/09 17:01
upstream general protection fault in dst_dev_put (5) net 4 1530d 1555d 0/28 auto-closed as invalid on 2020/12/25 06:24
upstream general protection fault in dst_dev_put (4) net 1 1675d 1675d 0/28 closed as invalid on 2020/05/28 16:43
upstream general protection fault in dst_dev_put (3) net 1 1876d 1876d 0/28 auto-closed as invalid on 2020/01/14 01:13
upstream general protection fault in dst_dev_put net 1 2546d 2542d 0/28 closed as invalid on 2018/02/13 19:55

Sample crash report:
kasan: CONFIG_KASAN_INLINE enabled
kasan: GPF could be caused by NULL-ptr deref or user memory access
general protection fault: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 18 Comm: ksoftirqd/1 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
RIP: 0010:dst_dev_put+0x1f/0x280 net/core/dst.c:168
Code: 66 66 2e 0f 1f 84 00 00 00 00 00 41 55 41 54 55 53 48 89 fb e8 12 c8 e9 fa 48 89 da 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <80> 3c 02 00 0f 85 e5 01 00 00 48 8d 7b 3a 48 8b 2b 48 b8 00 00 00
RSP: 0018:ffff8880b5acfc50 EFLAGS: 00010246
RAX: dffffc0000000000 RBX: 0000000000000001 RCX: 0000000000000001
RDX: 0000000000000000 RSI: ffffffff8678bd5e RDI: 0000000000000001
RBP: 0000000000000000 R08: 0000000051196c60 R09: 0000000000000000
R10: 0000000000000004 R11: 0000000000000000 R12: 0000000000000007
R13: 0000607f458ff910 R14: 0000000000000001 R15: 0000607f458ff910
FS:  0000000000000000(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005639ce414030 CR3: 00000000a0e1f000 CR4: 00000000003406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 rt_fibinfo_free_cpus net/ipv4/fib_semantics.c:200 [inline]
 free_fib_info_rcu+0x369/0x570 net/ipv4/fib_semantics.c:218
 __rcu_reclaim kernel/rcu/rcu.h:236 [inline]
 rcu_do_batch kernel/rcu/tree.c:2584 [inline]
 invoke_rcu_callbacks kernel/rcu/tree.c:2897 [inline]
 __rcu_process_callbacks kernel/rcu/tree.c:2864 [inline]
 rcu_process_callbacks+0x8ff/0x18b0 kernel/rcu/tree.c:2881
 __do_softirq+0x265/0x980 kernel/softirq.c:292
 run_ksoftirqd+0x57/0x110 kernel/softirq.c:653
 smpboot_thread_fn+0x655/0x9e0 kernel/smpboot.c:164
 kthread+0x33f/0x460 kernel/kthread.c:259
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415
Modules linked in:
---[ end trace 9beba5859b228df4 ]---
RIP: 0010:dst_dev_put+0x1f/0x280 net/core/dst.c:168
Code: 66 66 2e 0f 1f 84 00 00 00 00 00 41 55 41 54 55 53 48 89 fb e8 12 c8 e9 fa 48 89 da 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <80> 3c 02 00 0f 85 e5 01 00 00 48 8d 7b 3a 48 8b 2b 48 b8 00 00 00
RSP: 0018:ffff8880b5acfc50 EFLAGS: 00010246
RAX: dffffc0000000000 RBX: 0000000000000001 RCX: 0000000000000001
RDX: 0000000000000000 RSI: ffffffff8678bd5e RDI: 0000000000000001
RBP: 0000000000000000 R08: 0000000051196c60 R09: 0000000000000000
R10: 0000000000000004 R11: 0000000000000000 R12: 0000000000000007
R13: 0000607f458ff910 R14: 0000000000000001 R15: 0000607f458ff910
FS:  0000000000000000(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005639ce414030 CR3: 00000000a0e1f000 CR4: 00000000003406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	66 66 2e 0f 1f 84 00 	data16 nopw %cs:0x0(%rax,%rax,1)
   7:	00 00 00 00
   b:	41 55                	push   %r13
   d:	41 54                	push   %r12
   f:	55                   	push   %rbp
  10:	53                   	push   %rbx
  11:	48 89 fb             	mov    %rdi,%rbx
  14:	e8 12 c8 e9 fa       	callq  0xfae9c82b
  19:	48 89 da             	mov    %rbx,%rdx
  1c:	48 b8 00 00 00 00 00 	movabs $0xdffffc0000000000,%rax
  23:	fc ff df
  26:	48 c1 ea 03          	shr    $0x3,%rdx
* 2a:	80 3c 02 00          	cmpb   $0x0,(%rdx,%rax,1) <-- trapping instruction
  2e:	0f 85 e5 01 00 00    	jne    0x219
  34:	48 8d 7b 3a          	lea    0x3a(%rbx),%rdi
  38:	48 8b 2b             	mov    (%rbx),%rbp
  3b:	48                   	rex.W
  3c:	b8                   	.byte 0xb8
  3d:	00 00                	add    %al,(%rax)

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/11/30 13:18 linux-4.19.y 3f8a27f9e27b 4c2a66e8 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in dst_dev_put
* Struck through repros no longer work on HEAD.