syzbot


BUG: unable to handle kernel paging request in copy_from_kernel_nofault

Status: upstream: reported C repro on 2023/11/15 17:36
Bug presence: origin:upstream
Labels: missing-backport
[Documentation on labels]
Reported-by: syzbot+4b8df9cb28a110aba72d@syzkaller.appspotmail.com
First crash: 188d, last: 18h31m
Bug presence (4)
Date Name Commit Repro Result
2024/03/30 android13-5.15-lts (ToT) 993bed180178 C [report] BUG: unable to handle kernel paging request in copy_from_kernel_nofault
2023/11/15 lts (merge base) 12952a23a5da C [report] BUG: unable to handle kernel paging request in copy_from_kernel_nofault
2023/11/15 upstream (ToT) c42d9eeef8e5 C [report] BUG: unable to handle kernel paging request in copy_from_kernel_nofault
2024/03/30 upstream (ToT) 486291a0e624 C Didn't crash
Similar bugs (5)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream BUG: unable to handle kernel paging request in copy_from_kernel_nofault (2) mm C 2 39d 50d 25/26 upstream: reported C repro on 2024/04/02 05:19
upstream BUG: unable to handle kernel paging request in copy_from_kernel_nofault mm C done 5 85d 184d 26/26 fixed on 2024/03/29 01:33
linux-5.15 BUG: unable to handle kernel paging request in copy_from_kernel_nofault origin:upstream C done 2 85d 188d 3/3 fixed on 2024/03/28 13:37
linux-6.1 KASAN: stack-out-of-bounds Write in copy_from_kernel_nofault origin:lts-only C unreliable 3 85d 415d 0/3 upstream: reported C repro on 2023/04/02 16:05
android-6-1 BUG: unable to handle kernel paging request in copy_from_kernel_nofault origin:upstream missing-backport C done inconclusive 96 18h32m 188d 0/2 upstream: reported C repro on 2023/11/15 17:20
Last patch testing requests (4)
Created Duration User Patch Repo Result
2024/03/28 23:33 17m retest repro android13-5.15-lts report log
2024/03/14 23:11 10m retest repro android13-5.15-lts report log
2024/03/14 23:11 5m retest repro android13-5.15-lts report log
2024/02/22 03:19 32m retest repro android13-5.15-lts report log
Fix bisection attempts (1)
Created Duration User Patch Repo Result
2024/01/14 17:34 47m bisect fix android13-5.15-lts job log (0) log

Sample crash report:
BUG: unable to handle page fault for address: ffffffffff600000
#PF: supervisor read access in kernel mode
#PF: error_code(0x0001) - permissions violation
PGD 6812067 P4D 6812067 PUD 6814067 PMD 6816067 PTE 8000000006809165
Oops: 0001 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 294 Comm: syz-executor274 Not tainted 5.15.148-syzkaller-00718-g993bed180178 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024
RIP: 0010:copy_from_kernel_nofault+0x86/0x2e0 mm/maccess.c:37
Code: 48 89 55 d0 0f 85 ea 01 00 00 ff 02 bf 07 00 00 00 4c 89 ee e8 db a8 d6 ff 49 83 fd 07 76 5c 4d 89 fe 49 83 c5 f8 49 83 c7 08 <49> 8b 1c 24 4c 89 f0 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df 80
RSP: 0018:ffffc900009b78d0 EFLAGS: 00010296
RAX: 0000000000000000 RBX: 0000000000000008 RCX: ffff88811e260000
RDX: ffff88811e260b90 RSI: 0000000000000008 RDI: 0000000000000007
RBP: ffffc900009b7908 R08: ffffffff81997ce5 R09: ffffffff8187ca3c
R10: 0000000000000005 R11: ffff88811e260000 R12: ffffffffff600000
R13: 0000000000000000 R14: ffffc900009b7948 R15: ffffc900009b7950
FS:  0000555555f7e380(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffffff600000 CR3: 000000011e28a000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 bpf_probe_read_kernel_common kernel/trace/bpf_trace.c:220 [inline]
 ____bpf_probe_read_kernel kernel/trace/bpf_trace.c:229 [inline]
 bpf_probe_read_kernel+0x2a/0x70 kernel/trace/bpf_trace.c:226
 bpf_prog_3aa1bfad0585af26+0x5b/0x8e4
 bpf_dispatcher_nop_func include/linux/bpf.h:785 [inline]
 __bpf_prog_run include/linux/filter.h:625 [inline]
 bpf_prog_run include/linux/filter.h:632 [inline]
 bpf_test_run+0x478/0xa10 net/bpf/test_run.c:119
 bpf_prog_test_run_skb+0xb41/0x1420 net/bpf/test_run.c:663
 bpf_prog_test_run+0x3b0/0x630 kernel/bpf/syscall.c:3342
 __sys_bpf+0x525/0x760 kernel/bpf/syscall.c:4645
 __do_sys_bpf kernel/bpf/syscall.c:4731 [inline]
 __se_sys_bpf kernel/bpf/syscall.c:4729 [inline]
 __x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:4729
 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+0x61/0xcb
RIP: 0033:0x7fc69aefb769
Code: 48 83 c4 28 c3 e8 37 17 00 00 0f 1f 80 00 00 00 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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffd5a9a27b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
RAX: ffffffffffffffda RBX: 00007ffd5a9a2988 RCX: 00007fc69aefb769
RDX: 000000000000004c RSI: 0000000020000240 RDI: 000000000000000a
RBP: 00007fc69af6e610 R08: 0000000000000000 R09: 00007ffd5a9a2988
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001
R13: 00007ffd5a9a2978 R14: 0000000000000001 R15: 0000000000000001
 </TASK>
Modules linked in:
CR2: ffffffffff600000
---[ end trace b23b15184643eb9b ]---
RIP: 0010:copy_from_kernel_nofault+0x86/0x2e0 mm/maccess.c:37
Code: 48 89 55 d0 0f 85 ea 01 00 00 ff 02 bf 07 00 00 00 4c 89 ee e8 db a8 d6 ff 49 83 fd 07 76 5c 4d 89 fe 49 83 c5 f8 49 83 c7 08 <49> 8b 1c 24 4c 89 f0 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df 80
RSP: 0018:ffffc900009b78d0 EFLAGS: 00010296
RAX: 0000000000000000 RBX: 0000000000000008 RCX: ffff88811e260000
RDX: ffff88811e260b90 RSI: 0000000000000008 RDI: 0000000000000007
RBP: ffffc900009b7908 R08: ffffffff81997ce5 R09: ffffffff8187ca3c
R10: 0000000000000005 R11: ffff88811e260000 R12: ffffffffff600000
R13: 0000000000000000 R14: ffffc900009b7948 R15: ffffc900009b7950
FS:  0000555555f7e380(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffffff600000 CR3: 000000011e28a000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	48 89 55 d0          	mov    %rdx,-0x30(%rbp)
   4:	0f 85 ea 01 00 00    	jne    0x1f4
   a:	ff 02                	incl   (%rdx)
   c:	bf 07 00 00 00       	mov    $0x7,%edi
  11:	4c 89 ee             	mov    %r13,%rsi
  14:	e8 db a8 d6 ff       	call   0xffd6a8f4
  19:	49 83 fd 07          	cmp    $0x7,%r13
  1d:	76 5c                	jbe    0x7b
  1f:	4d 89 fe             	mov    %r15,%r14
  22:	49 83 c5 f8          	add    $0xfffffffffffffff8,%r13
  26:	49 83 c7 08          	add    $0x8,%r15
* 2a:	49 8b 1c 24          	mov    (%r12),%rbx <-- trapping instruction
  2e:	4c 89 f0             	mov    %r14,%rax
  31:	48 c1 e8 03          	shr    $0x3,%rax
  35:	48 b9 00 00 00 00 00 	movabs $0xdffffc0000000000,%rcx
  3c:	fc ff df
  3f:	80                   	.byte 0x80

Crashes (95):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/02/29 21:52 android13-5.15-lts 993bed180178 352ab904 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: unable to handle kernel paging request in copy_from_kernel_nofault
2024/02/26 20:22 android13-5.15-lts 993bed180178 da36a36b .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: unable to handle kernel paging request in copy_from_kernel_nofault
2023/11/16 02:07 android13-5.15-lts 61cfd264993d cb976f63 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: unable to handle kernel paging request in copy_from_kernel_nofault
2023/11/15 17:35 android13-5.15-lts 61cfd264993d cb976f63 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: unable to handle kernel paging request in copy_from_kernel_nofault
2024/05/21 11:09 android13-5.15-lts 5d96939590c0 4c0d3ee3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: unable to handle kernel paging request in copy_from_kernel_nofault
2024/05/20 06:47 android13-5.15-lts 5d96939590c0 c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: unable to handle kernel paging request in copy_from_kernel_nofault
2024/05/18 05:45 android13-5.15-lts 5d96939590c0 c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: unable to handle kernel paging request in copy_from_kernel_nofault
2024/05/13 22:16 android13-5.15-lts 5d96939590c0 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: unable to handle kernel paging request in copy_from_kernel_nofault
2024/05/13 19:32 android13-5.15-lts 5d96939590c0 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: unable to handle kernel paging request in copy_from_kernel_nofault
2024/05/12 23:00 android13-5.15-lts 5d96939590c0 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: unable to handle kernel paging request in copy_from_kernel_nofault
2024/05/12 18:59 android13-5.15-lts 5d96939590c0 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: unable to handle kernel paging request in copy_from_kernel_nofault
2024/05/12 18:39 android13-5.15-lts 5d96939590c0 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: unable to handle kernel paging request in copy_from_kernel_nofault
2024/05/04 02:24 android13-5.15-lts 5d96939590c0 610f2a54 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: unable to handle kernel paging request in copy_from_kernel_nofault
2024/04/29 15:46 android13-5.15-lts 5d96939590c0 27e33c58 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: unable to handle kernel paging request in copy_from_kernel_nofault
2024/04/29 09:55 android13-5.15-lts 5d96939590c0 27e33c58 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: unable to handle kernel paging request in copy_from_kernel_nofault
2024/04/28 03:33 android13-5.15-lts 5d96939590c0 07b455f9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: unable to handle kernel paging request in copy_from_kernel_nofault
2024/04/27 19:04 android13-5.15-lts 5d96939590c0 07b455f9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: unable to handle kernel paging request in copy_from_kernel_nofault
2024/04/27 05:06 android13-5.15-lts 5d96939590c0 07b455f9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: unable to handle kernel paging request in copy_from_kernel_nofault
2024/04/27 03:58 android13-5.15-lts 5d96939590c0 07b455f9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: unable to handle kernel paging request in copy_from_kernel_nofault
2024/04/26 03:18 android13-5.15-lts 5d96939590c0 8bdc0f22 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: unable to handle kernel paging request in copy_from_kernel_nofault
2024/04/24 21:13 android13-5.15-lts ad06eaf051cd 8bdc0f22 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: unable to handle kernel paging request in copy_from_kernel_nofault
2024/04/24 18:50 android13-5.15-lts ad06eaf051cd 8bdc0f22 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: unable to handle kernel paging request in copy_from_kernel_nofault
2024/04/23 14:53 android13-5.15-lts ad06eaf051cd 21339d7b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: unable to handle kernel paging request in copy_from_kernel_nofault
2024/04/23 09:41 android13-5.15-lts ad06eaf051cd 21339d7b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: unable to handle kernel paging request in copy_from_kernel_nofault
2024/04/23 08:11 android13-5.15-lts ad06eaf051cd 21339d7b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: unable to handle kernel paging request in copy_from_kernel_nofault
2024/04/22 23:58 android13-5.15-lts ad06eaf051cd 36c961ad .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: unable to handle kernel paging request in copy_from_kernel_nofault
2024/04/22 23:55 android13-5.15-lts ad06eaf051cd 36c961ad .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: unable to handle kernel paging request in copy_from_kernel_nofault
2024/04/21 23:39 android13-5.15-lts ad06eaf051cd af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: unable to handle kernel paging request in copy_from_kernel_nofault
2024/04/21 16:44 android13-5.15-lts ad06eaf051cd af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: unable to handle kernel paging request in copy_from_kernel_nofault
2024/04/21 13:56 android13-5.15-lts ad06eaf051cd af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: unable to handle kernel paging request in copy_from_kernel_nofault
2024/04/20 21:21 android13-5.15-lts ad06eaf051cd af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: unable to handle kernel paging request in copy_from_kernel_nofault
2024/04/20 14:32 android13-5.15-lts ad06eaf051cd af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: unable to handle kernel paging request in copy_from_kernel_nofault
2024/04/19 23:14 android13-5.15-lts ad06eaf051cd af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: unable to handle kernel paging request in copy_from_kernel_nofault
2024/04/19 12:51 android13-5.15-lts ad06eaf051cd af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: unable to handle kernel paging request in copy_from_kernel_nofault
2024/04/19 11:45 android13-5.15-lts ad06eaf051cd af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: unable to handle kernel paging request in copy_from_kernel_nofault
2024/04/18 23:31 android13-5.15-lts ad06eaf051cd af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: unable to handle kernel paging request in copy_from_kernel_nofault
2024/04/18 20:58 android13-5.15-lts ad06eaf051cd af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: unable to handle kernel paging request in copy_from_kernel_nofault
2024/04/18 12:49 android13-5.15-lts ad06eaf051cd af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: unable to handle kernel paging request in copy_from_kernel_nofault
2024/04/18 12:38 android13-5.15-lts ad06eaf051cd af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: unable to handle kernel paging request in copy_from_kernel_nofault
2024/04/17 18:31 android13-5.15-lts ad06eaf051cd acc528cb .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: unable to handle kernel paging request in copy_from_kernel_nofault
2024/04/17 18:30 android13-5.15-lts ad06eaf051cd acc528cb .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: unable to handle kernel paging request in copy_from_kernel_nofault
2024/04/17 13:59 android13-5.15-lts ad06eaf051cd 18f6e127 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: unable to handle kernel paging request in copy_from_kernel_nofault
2024/04/17 02:55 android13-5.15-lts ad06eaf051cd 18f6e127 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: unable to handle kernel paging request in copy_from_kernel_nofault
2024/04/17 02:38 android13-5.15-lts ad06eaf051cd 18f6e127 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: unable to handle kernel paging request in copy_from_kernel_nofault
2024/04/16 23:42 android13-5.15-lts ad06eaf051cd 18f6e127 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: unable to handle kernel paging request in copy_from_kernel_nofault
2024/04/16 22:34 android13-5.15-lts ad06eaf051cd 18f6e127 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: unable to handle kernel paging request in copy_from_kernel_nofault
2024/04/14 03:59 android13-5.15-lts 993bed180178 c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: unable to handle kernel paging request in copy_from_kernel_nofault
2024/04/12 15:07 android13-5.15-lts 993bed180178 c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: unable to handle kernel paging request in copy_from_kernel_nofault
2024/04/12 05:17 android13-5.15-lts 993bed180178 27de0a5c .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: unable to handle kernel paging request in copy_from_kernel_nofault
2024/04/12 05:12 android13-5.15-lts 993bed180178 27de0a5c .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: unable to handle kernel paging request in copy_from_kernel_nofault
2024/04/12 04:03 android13-5.15-lts 993bed180178 27de0a5c .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: unable to handle kernel paging request in copy_from_kernel_nofault
2024/04/12 02:42 android13-5.15-lts 993bed180178 27de0a5c .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: unable to handle kernel paging request in copy_from_kernel_nofault
2024/04/11 20:32 android13-5.15-lts 993bed180178 95ed9ece .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: unable to handle kernel paging request in copy_from_kernel_nofault
2024/04/01 12:52 android13-5.15-lts 993bed180178 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: unable to handle kernel paging request in copy_from_kernel_nofault
* Struck through repros no longer work on HEAD.