syzbot


BUG: unable to handle kernel paging request in read_pages

Status: premoderation: reported C repro on 2025/07/29 15:58
Reported-by: syzbot+98ec88716365bb5e1f67@syzkaller.appspotmail.com
First crash: 97d, last: 64d
Bug presence (2)
Date Name Commit Repro Result
2025/10/14 lts (merge base) b0c51e95f54e C Didn't crash
2025/10/14 upstream (ToT) 9b332cece987 C Didn't crash
Similar bugs (1)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-6-1 BUG: unable to handle kernel NULL pointer dereference in read_pages origin:downstream 10 C inconclusive 64 91d 575d 0/2 upstream: reported C repro on 2024/04/08 09:09
Last patch testing requests (2)
Created Duration User Patch Repo Result
2025/10/11 15:24 13m retest repro android16-6.12 OK log
2025/08/17 01:46 8m 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 72ac067 P4D 72ac067 PUD 72ae067 PMD 0 
Oops: Oops: 0000 [#1] PREEMPT SMP KASAN PTI
CPU: 0 UID: 0 PID: 1903 Comm: syz.0.520 Not tainted syzkaller #0 487852573998b859d95f7a0f07f96e56ce6678e4
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025
RIP: 0010:read_pages+0x47e/0x670 mm/readahead.c:190
Code: 48 b8 00 00 00 00 00 fc ff df 41 80 7c 05 00 00 74 08 4c 89 e7 e8 a2 c9 1c 00 49 8b 3c 24 48 89 de 4d 89 f3 41 ba f6 ac 86 0c <45> 03 53 f1 74 02 0f 0b 41 ff d3 0f 1f 00 4c 89 e7 e8 2c 36 00 00
RSP: 0018:ffffc9000e79f140 EFLAGS: 00010246
RAX: dffffc0000000000 RBX: ffffea0004925800 RCX: 1ffffffff0c2c649
RDX: ffffc90001651000 RSI: ffffea0004925800 RDI: ffff88812d8e8000
RBP: ffffc9000e79f270 R08: ffffea0004925837 R09: 1ffffd4000924b06
R10: 000000000c86acf6 R11: 0000000000000000 R12: ffffc9000e79f5d0
R13: 1ffff92001cf3eba R14: 0000000000000000 R15: ffffffff86163248
FS:  00007fc35ba246c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: fffffffffffffff1 CR3: 000000012edaa000 CR4: 00000000003526b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000004 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 page_cache_ra_order+0x8cd/0xdf0 mm/readahead.c:524
 page_cache_sync_ra+0x713/0x920 mm/readahead.c:627
 page_cache_sync_readahead include/linux/pagemap.h:1403 [inline]
 collapse_file mm/khugepaged.c:1902 [inline]
 hpage_collapse_scan_file+0xbab/0x3510 mm/khugepaged.c:2329
 madvise_collapse+0x4c6/0xaf0 mm/khugepaged.c:2771
 madvise_vma_behavior+0x69d/0x2d40 mm/madvise.c:1365
 madvise_walk_vmas+0x1b1/0x2e0 mm/madvise.c:1545
 do_madvise+0x4b7/0x960 mm/madvise.c:1738
 __do_sys_madvise mm/madvise.c:1754 [inline]
 __se_sys_madvise mm/madvise.c:1752 [inline]
 __x64_sys_madvise+0xae/0xc0 mm/madvise.c:1752
 x64_sys_call+0x20c3/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:29
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0x58/0xf0 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x76/0x7e
RIP: 0033:0x7fc35ab8ebe9
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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fc35ba24038 EFLAGS: 00000246 ORIG_RAX: 000000000000001c
RAX: ffffffffffffffda RBX: 00007fc35adc5fa0 RCX: 00007fc35ab8ebe9
RDX: 0000000000000019 RSI: 0000000000400000 RDI: 0000200000000000
RBP: 00007fc35ac11e19 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fc35adc6038 R14: 00007fc35adc5fa0 R15: 00007ffe946f5ea8
 </TASK>
Modules linked in:
CR2: fffffffffffffff1
---[ end trace 0000000000000000 ]---
RIP: 0010:read_pages+0x47e/0x670 mm/readahead.c:190
Code: 48 b8 00 00 00 00 00 fc ff df 41 80 7c 05 00 00 74 08 4c 89 e7 e8 a2 c9 1c 00 49 8b 3c 24 48 89 de 4d 89 f3 41 ba f6 ac 86 0c <45> 03 53 f1 74 02 0f 0b 41 ff d3 0f 1f 00 4c 89 e7 e8 2c 36 00 00
RSP: 0018:ffffc9000e79f140 EFLAGS: 00010246
RAX: dffffc0000000000 RBX: ffffea0004925800 RCX: 1ffffffff0c2c649
RDX: ffffc90001651000 RSI: ffffea0004925800 RDI: ffff88812d8e8000
RBP: ffffc9000e79f270 R08: ffffea0004925837 R09: 1ffffd4000924b06
R10: 000000000c86acf6 R11: 0000000000000000 R12: ffffc9000e79f5d0
R13: 1ffff92001cf3eba R14: 0000000000000000 R15: ffffffff86163248
FS:  00007fc35ba246c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: fffffffffffffff1 CR3: 000000012edaa000 CR4: 00000000003526b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000004 DR6: 00000000ffff0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	48 b8 00 00 00 00 00 	movabs $0xdffffc0000000000,%rax
   7:	fc ff df
   a:	41 80 7c 05 00 00    	cmpb   $0x0,0x0(%r13,%rax,1)
  10:	74 08                	je     0x1a
  12:	4c 89 e7             	mov    %r12,%rdi
  15:	e8 a2 c9 1c 00       	call   0x1cc9bc
  1a:	49 8b 3c 24          	mov    (%r12),%rdi
  1e:	48 89 de             	mov    %rbx,%rsi
  21:	4d 89 f3             	mov    %r14,%r11
  24:	41 ba f6 ac 86 0c    	mov    $0xc86acf6,%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:	4c 89 e7             	mov    %r12,%rdi
  3b:	e8 2c 36 00 00       	call   0x366c

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/08/31 18:33 android16-6.12 6879524e1c5a 807a3b61 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust BUG: unable to handle kernel paging request in read_pages
2025/07/29 18:40 android16-6.12 616c12b4d684 c4a95487 .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 read_pages
2025/07/29 17:17 android16-6.12 616c12b4d684 c4a95487 .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 read_pages
2025/07/29 15:58 android16-6.12 616c12b4d684 c4a95487 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust BUG: unable to handle kernel paging request in read_pages
2025/07/29 15:58 android16-6.12 616c12b4d684 c4a95487 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust BUG: unable to handle kernel paging request in read_pages
* Struck through repros no longer work on HEAD.