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: 227d, last: 2d01h
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 452d 509d 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 19d 448d 27/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 1197d 1207d 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 971d 1021d 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
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
2025/10/08 12:37 16m retest repro android16-6.12 report log
2025/10/08 12:37 19m retest repro android16-6.12 report log
2025/09/20 23:15 7m retest repro android16-6.12 report log
2025/07/26 00:44 8m retest repro android16-6.12 report log
2025/07/26 00:44 10m retest repro android16-6.12 report log

Sample crash report:
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: 382 Comm: syz.2.17 Not tainted syzkaller #0 fe4377b9fb1dd84776adf13d0641004acb4d0da4
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/24/2026
RIP: 0010:filemap_read_folio+0xec/0x2e0 mm/filemap.c:2475
Code: 00 00 00 00 49 81 e5 00 02 00 00 0f 85 8a 01 00 00 e8 58 2b c8 ff 4d 89 fd 4c 89 ff 4c 89 f6 4c 8b 5c 24 18 41 ba df d9 92 ab <45> 03 53 f1 74 02 0f 0b 2e e8 1e d6 40 1e 41 89 c7 31 ff 44 89 fe
RSP: 0018:ffffc9000100f920 EFLAGS: 00010293
RAX: ffffffff81bf71b8 RBX: 1ffffd4000955a38 RCX: ffff888116562600
RDX: 0000000000000000 RSI: ffffea0004aad1c0 RDI: ffff8881136feb40
RBP: ffffc9000100f9e0 R08: ffffea0004aad1c7 R09: 1ffffd4000955a38
R10: 00000000ab92d9df R11: 0000000000000000 R12: 1ffff92000201f28
R13: ffff8881136feb40 R14: ffffea0004aad1c0 R15: ffff8881136feb40
FS:  00005555597ed500(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: fffffffffffffff1 CR3: 00000001087b2000 CR4: 00000000003526b0
Call Trace:
 <TASK>
 do_read_cache_folio+0x2b4/0x4c0 mm/filemap.c:4054
 read_cache_folio+0x54/0x90 mm/filemap.c:4086
 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+0x132/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:0x7f74bdd9aeb9
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:00007ffefd6eecc8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f74be015fa0 RCX: 00007f74bdd9aeb9
RDX: 0000200000000180 RSI: 00000000c0686611 RDI: 0000000000000004
RBP: 00007f74bde08c1f R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f74be015fac R14: 00007f74be015fa0 R15: 00007f74be015fa0
 </TASK>
Modules linked in:
CR2: fffffffffffffff1
---[ end trace 0000000000000000 ]---
RIP: 0010:filemap_read_folio+0xec/0x2e0 mm/filemap.c:2475
Code: 00 00 00 00 49 81 e5 00 02 00 00 0f 85 8a 01 00 00 e8 58 2b c8 ff 4d 89 fd 4c 89 ff 4c 89 f6 4c 8b 5c 24 18 41 ba df d9 92 ab <45> 03 53 f1 74 02 0f 0b 2e e8 1e d6 40 1e 41 89 c7 31 ff 44 89 fe
RSP: 0018:ffffc9000100f920 EFLAGS: 00010293
RAX: ffffffff81bf71b8 RBX: 1ffffd4000955a38 RCX: ffff888116562600
RDX: 0000000000000000 RSI: ffffea0004aad1c0 RDI: ffff8881136feb40
RBP: ffffc9000100f9e0 R08: ffffea0004aad1c7 R09: 1ffffd4000955a38
R10: 00000000ab92d9df R11: 0000000000000000 R12: 1ffff92000201f28
R13: ffff8881136feb40 R14: ffffea0004aad1c0 R15: ffff8881136feb40
FS:  00005555597ed500(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: fffffffffffffff1 CR3: 00000001087b2000 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 58 2b c8 ff       	call   0xffc82b6e
  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 df d9 92 ab    	mov    $0xab92d9df,%r10d
* 2a:	45 03 53 f1          	add    -0xf(%r11),%r10d <-- trapping instruction
  2e:	74 02                	je     0x32
  30:	0f 0b                	ud2
  32:	2e e8 1e d6 40 1e    	cs call 0x1e40d656
  38:	41 89 c7             	mov    %eax,%r15d
  3b:	31 ff                	xor    %edi,%edi
  3d:	44 89 fe             	mov    %r15d,%esi

Crashes (21):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
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
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/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: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 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
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/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 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.