syzbot


BUG: unable to handle kernel paging request in srcu_invoke_callbacks

Status: auto-closed as invalid on 2021/12/17 00:29
Reported-by: syzbot+53dcd810795e0674c807@syzkaller.appspotmail.com
First crash: 995d, last: 995d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream BUG: unable to handle kernel paging request in srcu_invoke_callbacks kernel 1 1635d 1635d 0/26 auto-closed as invalid on 2020/02/16 10:36
upstream KASAN: use-after-free Read in srcu_invoke_callbacks block syz error 4 838d 850d 20/26 fixed on 2022/03/08 16:11

Sample crash report:
BUG: unable to handle page fault for address: ffffc9000debb160
#PF: supervisor read access in kernel mode
#PF: error_code(0x0000) - not-present page
PGD 1f5ca2067 P4D 1f5ca2067 PUD 1f5ca3067 PMD 1eb5a9067 PTE 0
Oops: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 7129 Comm: kworker/0:5 Not tainted 5.4.125-syzkaller-00008-ga8f2bcabf9c5 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: rcu_gp srcu_invoke_callbacks
RIP: 0010:__read_once_size include/linux/compiler.h:266 [inline]
RIP: 0010:rcu_seq_current kernel/rcu/rcu.h:99 [inline]
RIP: 0010:srcu_invoke_callbacks+0xe0/0x360 kernel/rcu/srcutree.c:1171
Code: 01 00 49 8d 7d 40 48 89 7c 24 08 e8 2a ca f4 02 4d 8d 65 48 49 89 df 49 c1 ef 03 43 80 3c 37 00 74 08 48 89 df e8 e0 7f 41 00 <48> 8b 33 4c 89 24 24 4c 89 e7 e8 41 bb 01 00 4c 89 6c 24 10 4d 8d
RSP: 0018:ffff8881c4137c40 EFLAGS: 00010046
RAX: 3ff3d192ae2ca700 RBX: ffffc9000debb160 RCX: 0000000000000001
RDX: 0000000000000001 RSI: 0000000000000004 RDI: ffff8881c4137bc0
RBP: ffff8881c4137d20 R08: dffffc0000000000 R09: 0000000000000003
R10: ffffed1038826f79 R11: 0000000000000004 R12: ffff8881f6e00048
R13: ffff8881f6e00000 R14: dffffc0000000000 R15: 1ffff92001bd762c
FS:  0000000000000000(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffc9000debb160 CR3: 00000001e95d7000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 process_one_work+0x679/0x1030 kernel/workqueue.c:2277
 worker_thread+0xa6f/0x1400 kernel/workqueue.c:2423
 kthread+0x30f/0x330 kernel/kthread.c:268
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:352
Modules linked in:
CR2: ffffc9000debb160
---[ end trace c46bcaeb47eedb7c ]---
RIP: 0010:__read_once_size include/linux/compiler.h:266 [inline]
RIP: 0010:rcu_seq_current kernel/rcu/rcu.h:99 [inline]
RIP: 0010:srcu_invoke_callbacks+0xe0/0x360 kernel/rcu/srcutree.c:1171
Code: 01 00 49 8d 7d 40 48 89 7c 24 08 e8 2a ca f4 02 4d 8d 65 48 49 89 df 49 c1 ef 03 43 80 3c 37 00 74 08 48 89 df e8 e0 7f 41 00 <48> 8b 33 4c 89 24 24 4c 89 e7 e8 41 bb 01 00 4c 89 6c 24 10 4d 8d
RSP: 0018:ffff8881c4137c40 EFLAGS: 00010046
RAX: 3ff3d192ae2ca700 RBX: ffffc9000debb160 RCX: 0000000000000001
RDX: 0000000000000001 RSI: 0000000000000004 RDI: ffff8881c4137bc0
RBP: ffff8881c4137d20 R08: dffffc0000000000 R09: 0000000000000003
R10: ffffed1038826f79 R11: 0000000000000004 R12: ffff8881f6e00048
R13: ffff8881f6e00000 R14: dffffc0000000000 R15: 1ffff92001bd762c
FS:  0000000000000000(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffc9000debb160 CR3: 00000001e95d7000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	01 00                	add    %eax,(%rax)
   2:	49 8d 7d 40          	lea    0x40(%r13),%rdi
   6:	48 89 7c 24 08       	mov    %rdi,0x8(%rsp)
   b:	e8 2a ca f4 02       	callq  0x2f4ca3a
  10:	4d 8d 65 48          	lea    0x48(%r13),%r12
  14:	49 89 df             	mov    %rbx,%r15
  17:	49 c1 ef 03          	shr    $0x3,%r15
  1b:	43 80 3c 37 00       	cmpb   $0x0,(%r15,%r14,1)
  20:	74 08                	je     0x2a
  22:	48 89 df             	mov    %rbx,%rdi
  25:	e8 e0 7f 41 00       	callq  0x41800a
  2a:	48 8b 33             	mov    (%rbx),%rsi <-- trapping instruction
  2d:	4c 89 24 24          	mov    %r12,(%rsp)
  31:	4c 89 e7             	mov    %r12,%rdi
  34:	e8 41 bb 01 00       	callq  0x1bb7a
  39:	4c 89 6c 24 10       	mov    %r13,0x10(%rsp)
  3e:	4d                   	rex.WRB
  3f:	8d                   	.byte 0x8d

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/08/19 00:28 android12-5.4 a8f2bcabf9c5 a2fe1cb5 .config console log report info ci2-android-5-4-kasan BUG: unable to handle kernel paging request in srcu_invoke_callbacks
* Struck through repros no longer work on HEAD.