syzbot


BUG: unable to handle kernel paging request in filemap_read_folio

Status: premoderation: reported C repro on 2025/06/26 02:40
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+7eaa776ff182fa1991e2@syzkaller.appspotmail.com
First crash: 268d, last: 35d
Bug presence (2)
Date Name Commit Repro Result
2025/06/28 lts (merge base) e0e2f7824338 C [report] BUG: unable to handle kernel paging request in filemap_read_folio
2025/06/28 upstream (ToT) aaf724ed6926 C [report] BUG: unable to handle kernel paging request in filemap_read_folio
Similar bugs (4)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream BUG: unable to handle kernel NULL pointer dereference in filemap_read_folio (3) erofs 10 C 492 493d 550d 28/29 fixed on 2024/11/12 23:31
upstream BUG: unable to handle kernel NULL pointer dereference in filemap_read_folio (4) fs 10 C done 5746 60d 489d 28/29 upstream: reported C repro on 2024/11/16 23:40
upstream BUG: unable to handle kernel NULL pointer dereference in filemap_read_folio fs mm 10 8 1238d 1247d 0/29 auto-obsoleted due to no activity on 2023/02/26 19:26
upstream BUG: unable to handle kernel NULL pointer dereference in filemap_read_folio (2) fs 10 6 1012d 1062d 0/29 auto-obsoleted due to no activity on 2023/09/20 22:50
Last patch testing requests (10)
Created Duration User Patch Repo Result
2026/02/28 00:34 20m retest repro android16-6.12 OK log
2026/02/28 00:34 19m retest repro android16-6.12 OK log
2026/02/28 00:34 17m retest repro android16-6.12 OK log
2026/02/28 00:34 22m retest repro android16-6.12 OK log
2026/02/28 00:34 13m retest repro android16-6.12 OK log
2025/12/18 00:55 7m retest repro android16-6.12 error
2025/12/18 00:55 3m retest repro android16-6.12 error
2025/12/18 00:55 3m retest repro android16-6.12 error
2025/11/30 21:14 4m retest repro android16-6.12 error
2025/10/08 12:37 13m retest repro android16-6.12 report log

Sample crash report:
misc raw-gadget: fail, usb_gadget_register_driver returned -16
UDC core: USB Raw Gadget: couldn't find an available UDC or it's busy
misc raw-gadget: fail, usb_gadget_register_driver returned -16
BUG: unable to handle page fault for address: fffffffffffffff1
#PF: supervisor read access in kernel mode
#PF: error_code(0x0000) - not-present page
PGD 74ac067 P4D 74ac067 PUD 74ae067 PMD 0 
Oops: Oops: 0000 [#1] PREEMPT SMP KASAN PTI
CPU: 0 UID: 0 PID: 1118 Comm: syz.0.250 Not tainted syzkaller #0 b8f1b7d41e15bccc1ffab82bc6d1b1176d17ca88
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/24/2026
RIP: 0010:filemap_read_folio+0xec/0x2e0 mm/filemap.c:2476
Code: 00 00 00 00 49 81 e5 00 02 00 00 0f 85 8a 01 00 00 e8 88 2a c8 ff 4d 89 fd 4c 89 ff 4c 89 f6 4c 8b 5c 24 18 41 ba e2 cc 3f c8 <45> 03 53 f1 74 02 0f 0b 41 ff d3 0f 1f 00 41 89 c7 31 ff 44 89 fe
RSP: 0018:ffffc90010567920 EFLAGS: 00010287
RAX: ffffffff81bf7298 RBX: 1ffffd400093c330 RCX: 0000000000080000
RDX: ffffc90001641000 RSI: ffffea00049e1980 RDI: ffff8881205f1780
RBP: ffffc900105679e0 R08: ffffea00049e1987 R09: 1ffffd400093c330
R10: 00000000c83fcce2 R11: 0000000000000000 R12: 1ffff920020acf28
R13: ffff8881205f1780 R14: ffffea00049e1980 R15: ffff8881205f1780
FS:  00007facc56dc6c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: fffffffffffffff1 CR3: 0000000141df0000 CR4: 00000000003526b0
Call Trace:
 <TASK>
 do_read_cache_folio+0x2b4/0x4c0 mm/filemap.c:4055
 read_cache_folio+0x54/0x90 mm/filemap.c:4087
 freader_get_folio+0x471/0x700 lib/buildid.c:77
 freader_fetch+0xa4/0x590 lib/buildid.c:120
 __build_id_parse+0x167/0x7f0 lib/buildid.c:305
 build_id_parse+0x2e/0x40 lib/buildid.c:359
 do_procmap_query fs/proc/task_mmu.c:695 [inline]
 procfs_procmap_ioctl+0x872/0xdc0 fs/proc/task_mmu.c:774
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:907 [inline]
 __se_sys_ioctl+0x135/0x1b0 fs/ioctl.c:893
 __x64_sys_ioctl+0x7f/0xa0 fs/ioctl.c:893
 x64_sys_call+0x1878/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:17
 do_syscall_x64 arch/x86/entry/common.c:47 [inline]
 do_syscall_64+0x57/0xf0 arch/x86/entry/common.c:78
 entry_SYSCALL_64_after_hwframe+0x76/0x7e
RIP: 0033:0x7facc479bf79
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 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 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007facc56dc028 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007facc4a15fa0 RCX: 00007facc479bf79
RDX: 0000200000000180 RSI: 00000000c0686611 RDI: 000000000000000a
RBP: 00007facc48327e0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007facc4a16038 R14: 00007facc4a15fa0 R15: 00007fffd353bef8
 </TASK>
Modules linked in:
CR2: fffffffffffffff1
---[ end trace 0000000000000000 ]---
RIP: 0010:filemap_read_folio+0xec/0x2e0 mm/filemap.c:2476
Code: 00 00 00 00 49 81 e5 00 02 00 00 0f 85 8a 01 00 00 e8 88 2a c8 ff 4d 89 fd 4c 89 ff 4c 89 f6 4c 8b 5c 24 18 41 ba e2 cc 3f c8 <45> 03 53 f1 74 02 0f 0b 41 ff d3 0f 1f 00 41 89 c7 31 ff 44 89 fe
RSP: 0018:ffffc90010567920 EFLAGS: 00010287
RAX: ffffffff81bf7298 RBX: 1ffffd400093c330 RCX: 0000000000080000
RDX: ffffc90001641000 RSI: ffffea00049e1980 RDI: ffff8881205f1780
RBP: ffffc900105679e0 R08: ffffea00049e1987 R09: 1ffffd400093c330
R10: 00000000c83fcce2 R11: 0000000000000000 R12: 1ffff920020acf28
R13: ffff8881205f1780 R14: ffffea00049e1980 R15: ffff8881205f1780
FS:  00007facc56dc6c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: fffffffffffffff1 CR3: 0000000141df0000 CR4: 00000000003526b0
----------------
Code disassembly (best guess):
   0:	00 00                	add    %al,(%rax)
   2:	00 00                	add    %al,(%rax)
   4:	49 81 e5 00 02 00 00 	and    $0x200,%r13
   b:	0f 85 8a 01 00 00    	jne    0x19b
  11:	e8 88 2a c8 ff       	call   0xffc82a9e
  16:	4d 89 fd             	mov    %r15,%r13
  19:	4c 89 ff             	mov    %r15,%rdi
  1c:	4c 89 f6             	mov    %r14,%rsi
  1f:	4c 8b 5c 24 18       	mov    0x18(%rsp),%r11
  24:	41 ba e2 cc 3f c8    	mov    $0xc83fcce2,%r10d
* 2a:	45 03 53 f1          	add    -0xf(%r11),%r10d <-- trapping instruction
  2e:	74 02                	je     0x32
  30:	0f 0b                	ud2
  32:	41 ff d3             	call   *%r11
  35:	0f 1f 00             	nopl   (%rax)
  38:	41 89 c7             	mov    %eax,%r15d
  3b:	31 ff                	xor    %edi,%edi
  3d:	44 89 fe             	mov    %r15d,%esi

Crashes (22):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/02/14 00:16 android16-6.12 a18295bb2ff6 1e62d198 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust BUG: unable to handle kernel paging request in filemap_read_folio
2026/02/06 13:20 android16-6.12 356523087425 97745f52 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust BUG: unable to handle kernel paging request in filemap_read_folio
2026/02/06 13:01 android16-6.12 356523087425 97745f52 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust BUG: unable to handle kernel paging request in filemap_read_folio
2026/02/06 13:01 android16-6.12 356523087425 97745f52 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust BUG: unable to handle kernel paging request in filemap_read_folio
2025/09/22 17:26 android16-6.12 e13e0acd4125 0ac7291c .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust BUG: unable to handle kernel paging request in filemap_read_folio
2025/09/05 02:14 android16-6.12 3a1f856821c2 d291dd2d .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust BUG: unable to handle kernel paging request in filemap_read_folio
2025/07/09 18:12 android16-6.12 acad0cd51d10 f4e5e155 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust BUG: unable to handle kernel paging request in filemap_read_folio
2025/07/08 01:18 android16-6.12 f6ca783ba264 4f67c4ae .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust BUG: unable to handle kernel paging request in filemap_read_folio
2025/07/07 07:19 android16-6.12 e2bf362ee23b 4f67c4ae .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust BUG: unable to handle kernel paging request in filemap_read_folio
2025/07/06 17:43 android16-6.12 e2bf362ee23b 4f67c4ae .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust BUG: unable to handle kernel paging request in filemap_read_folio
2025/07/06 04:20 android16-6.12 e2bf362ee23b 4f67c4ae .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust BUG: unable to handle kernel paging request in filemap_read_folio
2025/07/05 13:52 android16-6.12 e2bf362ee23b 4f67c4ae .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust BUG: unable to handle kernel paging request in filemap_read_folio
2025/07/03 20:10 android16-6.12 e2bf362ee23b 115ceea7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust BUG: unable to handle kernel paging request in filemap_read_folio
2025/07/03 15:45 android16-6.12 06ca12d7d229 115ceea7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust BUG: unable to handle kernel paging request in filemap_read_folio
2025/07/03 06:36 android16-6.12 06ca12d7d229 115ceea7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust BUG: unable to handle kernel paging request in filemap_read_folio
2025/07/02 21:01 android16-6.12 969c904869b3 bc80e4f0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust BUG: unable to handle kernel paging request in filemap_read_folio
2025/07/02 15:44 android16-6.12 c40c54e66959 bc80e4f0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust BUG: unable to handle kernel paging request in filemap_read_folio
2025/07/01 12:57 android16-6.12 648383294760 6e83b42d .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust BUG: unable to handle kernel paging request in filemap_read_folio
2025/06/26 04:15 android16-6.12 22d634eb24e3 26d77996 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust BUG: unable to handle kernel paging request in filemap_read_folio
2025/06/26 03:42 android16-6.12 22d634eb24e3 26d77996 .config console log report syz / log [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust BUG: unable to handle kernel paging request in filemap_read_folio
2025/06/26 03:12 android16-6.12 22d634eb24e3 26d77996 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust BUG: unable to handle kernel paging request in filemap_read_folio
2025/06/26 02:39 android16-6.12 22d634eb24e3 26d77996 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust BUG: unable to handle kernel paging request in filemap_read_folio
* Struck through repros no longer work on HEAD.