syzbot


BUG: unable to handle kernel paging request in __read_once_word_nocheck

Status: auto-closed as invalid on 2022/02/08 21:17
Subsystems: kernel
[Documentation on labels]
Reported-by: syzbot+7ffe9d4255cf6b4facb7@syzkaller.appspotmail.com
First crash: 898d, last: 895d

Sample crash report:
BUG: unable to handle page fault for address: ffffc9001652fa68
#PF: supervisor read access in kernel mode
#PF: error_code(0x0000) - not-present page
PGD 10c00067 P4D 10c00067 PUD 10ded067 PMD 6ba82067 PTE 0
Oops: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 15844 Comm: syz-executor.0 Not tainted 5.15.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:__read_once_word_nocheck+0x0/0x10 include/asm-generic/rwonce.h:67
Code: 19 89 00 e9 97 fb ff ff 4c 89 f6 48 c7 c7 00 97 7f 8b e8 23 e7 be 02 e9 60 fb ff ff e8 49 19 89 00 e9 cf fb ff ff cc cc cc cc <48> 8b 07 c3 66 66 2e 0f 1f 84 00 00 00 00 00 90 41 57 89 d0 41 56
RSP: 0018:ffffc9000bcf79c0 EFLAGS: 00010046
RAX: dffffc0000000000 RBX: ffffc9001652fa40 RCX: 0000000000000000
RDX: dffffc0000000000 RSI: 0000000000000000 RDI: ffffc9001652fa68
RBP: ffffc9001652fa40 R08: 0000000000000001 R09: ffffc9000bcf7a40
R10: fffff5200179ef53 R11: 0000000000000000 R12: ffffc9001652fa78
R13: ffffc9000bcf7a68 R14: ffffc9000bcf7a78 R15: ffffc9000bcf7a40
FS:  00007f30bea57700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffc9001652fa68 CR3: 00000001513af000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 __unwind_start+0x3e2/0x800 arch/x86/kernel/unwind_orc.c:676
 unwind_start arch/x86/include/asm/unwind.h:64 [inline]
 __get_wchan+0xb0/0x150 arch/x86/kernel/process.c:967
 get_wchan+0xa0/0xc0 kernel/sched/core.c:1982
 proc_pid_wchan+0xe4/0x140 fs/proc/base.c:395
 proc_single_show+0x116/0x1e0 fs/proc/base.c:778
 seq_read_iter+0x4f6/0x1240 fs/seq_file.c:230
 seq_read+0x3e0/0x5b0 fs/seq_file.c:162
 vfs_read+0x1b5/0x600 fs/read_write.c:479
 ksys_read+0x12d/0x250 fs/read_write.c:619
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f30c14e1ae9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 bc ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f30bea57188 EFLAGS: 00000246 ORIG_RAX: 0000000000000000
RAX: ffffffffffffffda RBX: 00007f30c15f4f60 RCX: 00007f30c14e1ae9
RDX: 0000000000001000 RSI: 00000000200001c0 RDI: 0000000000000003
RBP: 00007f30c153bf6d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffd3699039f R14: 00007f30bea57300 R15: 0000000000022000
 </TASK>
Modules linked in:
CR2: ffffc9001652fa68
---[ end trace 6d9f7f3ae3399bda ]---
RIP: 0010:__read_once_word_nocheck+0x0/0x10 include/asm-generic/rwonce.h:67
Code: 19 89 00 e9 97 fb ff ff 4c 89 f6 48 c7 c7 00 97 7f 8b e8 23 e7 be 02 e9 60 fb ff ff e8 49 19 89 00 e9 cf fb ff ff cc cc cc cc <48> 8b 07 c3 66 66 2e 0f 1f 84 00 00 00 00 00 90 41 57 89 d0 41 56
RSP: 0018:ffffc9000bcf79c0 EFLAGS: 00010046
RAX: dffffc0000000000 RBX: ffffc9001652fa40 RCX: 0000000000000000
RDX: dffffc0000000000 RSI: 0000000000000000 RDI: ffffc9001652fa68
RBP: ffffc9001652fa40 R08: 0000000000000001 R09: ffffc9000bcf7a40
R10: fffff5200179ef53 R11: 0000000000000000 R12: ffffc9001652fa78
R13: ffffc9000bcf7a68 R14: ffffc9000bcf7a78 R15: ffffc9000bcf7a40
FS:  00007f30bea57700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffc9001652fa68 CR3: 00000001513af000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess), 1 bytes skipped:
   0:	89 00                	mov    %eax,(%rax)
   2:	e9 97 fb ff ff       	jmpq   0xfffffb9e
   7:	4c 89 f6             	mov    %r14,%rsi
   a:	48 c7 c7 00 97 7f 8b 	mov    $0xffffffff8b7f9700,%rdi
  11:	e8 23 e7 be 02       	callq  0x2bee739
  16:	e9 60 fb ff ff       	jmpq   0xfffffb7b
  1b:	e8 49 19 89 00       	callq  0x891969
  20:	e9 cf fb ff ff       	jmpq   0xfffffbf4
  25:	cc                   	int3
  26:	cc                   	int3
  27:	cc                   	int3
  28:	cc                   	int3
* 29:	48 8b 07             	mov    (%rdi),%rax <-- trapping instruction
  2c:	c3                   	retq
  2d:	66 66 2e 0f 1f 84 00 	data16 nopw %cs:0x0(%rax,%rax,1)
  34:	00 00 00 00
  38:	90                   	nop
  39:	41 57                	push   %r15
  3b:	89 d0                	mov    %edx,%eax
  3d:	41 56                	push   %r14

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/11/10 21:16 upstream 89d714ab6043 75b04091 .config console log report info ci-upstream-kasan-gce-selinux-root BUG: unable to handle kernel paging request in __read_once_word_nocheck
2021/11/07 11:30 linux-next 6a37ebbe07bf 4c1be0be .config console log report info ci-upstream-linux-next-kasan-gce-root BUG: unable to handle kernel paging request in __read_once_word_nocheck
* Struck through repros no longer work on HEAD.