syzbot


BUG: unable to handle kernel NULL pointer dereference in read_pages

Status: upstream: reported C repro on 2024/04/08 09:09
Bug presence: origin:downstream
[Documentation on labels]
Reported-by: syzbot+b8b677753f84c7e1c454@syzkaller.appspotmail.com
First crash: 227d, last: 9d07h
Bug presence (3)
Date Name Commit Repro Result
2024/04/09 android14-6.1 (ToT) 338203a81721 C [report] BUG: unable to handle kernel NULL pointer dereference in read_pages
2024/04/09 lts (merge base) 883d1a956208 C Didn't crash
2024/04/09 upstream (ToT) 20cb38a7af88 C Didn't crash
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream BUG: unable to handle kernel NULL pointer dereference in read_pages mm fs 1 1913d 1913d 0/28 auto-closed as invalid on 2019/11/25 07:12
Last patch testing requests (1)
Created Duration User Patch Repo Result
2024/10/11 11:13 14m retest repro android14-6.1 report log
Fix bisection attempts (2)
Created Duration User Patch Repo Result
2024/08/01 09:23 45m bisect fix android14-6.1 OK (0) job log log
2024/06/19 10:01 1h13m bisect fix android14-6.1 OK (0) job log log

Sample crash report:
BUG: kernel NULL pointer dereference, address: 0000000000000000
#PF: supervisor instruction fetch in kernel mode
#PF: error_code(0x0010) - not-present page
PGD 11e49a067 P4D 11e49a067 
PUD 11f92f067 PMD 0 
Oops: 0010 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 297 Comm: syz-executor298 Not tainted 6.1.75-syzkaller-00123-g60534eef4739 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
RIP: 0010:0x0
Code: Unable to access opcode bytes at 0xffffffffffffffd6.
RSP: 0018:ffffc90000f470d8 EFLAGS: 00010246
RAX: 1ffff920001e8ed0 RBX: dffffc0000000000 RCX: ffff88810964bcc0
RDX: 0000000000000000 RSI: ffffea0004892700 RDI: ffff888120e01980
RBP: ffffc90000f47230 R08: ffffffff81a41438 R09: fffff940009124e7
R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc90000f47680
R13: ffffea0004892700 R14: ffffc90000f47698 R15: 0000000000000000
FS:  0000555556eef480(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffffffffffd6 CR3: 000000011e467000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 read_pages+0x89c/0xd40 mm/readahead.c:192
 page_cache_ra_order+0x7f4/0xb40 mm/readahead.c:560
 ondemand_readahead+0x92a/0xef0 mm/readahead.c:695
 page_cache_sync_ra+0x3d6/0x450 mm/readahead.c:722
 page_cache_sync_readahead include/linux/pagemap.h:1251 [inline]
 collapse_file mm/khugepaged.c:1874 [inline]
 hpage_collapse_scan_file+0x19ba/0x46e0 mm/khugepaged.c:2236
 madvise_collapse+0x639/0xcf0 mm/khugepaged.c:2691
 madvise_vma_behavior mm/madvise.c:1110 [inline]
 madvise_walk_vmas mm/madvise.c:1284 [inline]
 do_madvise+0x15c1/0x3de0 mm/madvise.c:1463
 __do_sys_madvise mm/madvise.c:1476 [inline]
 __se_sys_madvise mm/madvise.c:1474 [inline]
 __x64_sys_madvise+0xa8/0xc0 mm/madvise.c:1474
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f0e869a09b9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 61 17 00 00 90 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:00007fffb2ed1948 EFLAGS: 00000246 ORIG_RAX: 000000000000001c
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f0e869a09b9
RDX: 0000000000000019 RSI: 0000000000600003 RDI: 0000000020000000
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f0e8696bf92
R13: 00007fffb2ed1c18 R14: 0000000000000001 R15: 0000000000000001
 </TASK>
Modules linked in:
CR2: 0000000000000000
---[ end trace 0000000000000000 ]---
RIP: 0010:0x0
Code: Unable to access opcode bytes at 0xffffffffffffffd6.
RSP: 0018:ffffc90000f470d8 EFLAGS: 00010246
RAX: 1ffff920001e8ed0 RBX: dffffc0000000000 RCX: ffff88810964bcc0
RDX: 0000000000000000 RSI: ffffea0004892700 RDI: ffff888120e01980
RBP: ffffc90000f47230 R08: ffffffff81a41438 R09: fffff940009124e7
R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc90000f47680
R13: ffffea0004892700 R14: ffffc90000f47698 R15: 0000000000000000
FS:  0000555556eef480(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffffffffffd6 CR3: 000000011e467000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (41):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/04/08 09:03 android14-6.1 60534eef4739 ca620dd8 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-6-1 BUG: unable to handle kernel NULL pointer dereference in read_pages
2024/11/12 07:52 android14-6.1 96ad4e759ff4 75bb1b32 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: unable to handle kernel NULL pointer dereference in read_pages
2024/11/12 07:52 android14-6.1 96ad4e759ff4 75bb1b32 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: unable to handle kernel NULL pointer dereference in read_pages
2024/09/06 09:07 android14-6.1 c7596f093d79 464ac2ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: unable to handle kernel NULL pointer dereference in read_pages
2024/09/06 09:07 android14-6.1 c7596f093d79 464ac2ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: unable to handle kernel NULL pointer dereference in read_pages
2024/09/03 01:22 android14-6.1 a1895da8bd3b 8045124c .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: unable to handle kernel NULL pointer dereference in read_pages
2024/09/03 00:54 android14-6.1 a1895da8bd3b 8045124c .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: unable to handle kernel NULL pointer dereference in read_pages
2024/09/02 21:09 android14-6.1 a1895da8bd3b 8045124c .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: unable to handle kernel NULL pointer dereference in read_pages
2024/09/02 21:09 android14-6.1 a1895da8bd3b 8045124c .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: unable to handle kernel NULL pointer dereference in read_pages
2024/09/02 16:22 android14-6.1 a1895da8bd3b 1eda0d14 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: unable to handle kernel NULL pointer dereference in read_pages
2024/09/02 16:22 android14-6.1 a1895da8bd3b 1eda0d14 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: unable to handle kernel NULL pointer dereference in read_pages
2024/09/02 16:21 android14-6.1 a1895da8bd3b 1eda0d14 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: unable to handle kernel NULL pointer dereference in read_pages
2024/09/02 16:21 android14-6.1 a1895da8bd3b 1eda0d14 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: unable to handle kernel NULL pointer dereference in read_pages
2024/09/02 16:20 android14-6.1 a1895da8bd3b 1eda0d14 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: unable to handle kernel NULL pointer dereference in read_pages
2024/09/02 14:44 android14-6.1 b5e374dda921 1eda0d14 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: unable to handle kernel NULL pointer dereference in read_pages
2024/09/02 10:03 android14-6.1 b5e374dda921 1eda0d14 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: unable to handle kernel NULL pointer dereference in read_pages
2024/09/02 04:37 android14-6.1 b5e374dda921 1eda0d14 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: unable to handle kernel NULL pointer dereference in read_pages
2024/09/02 01:06 android14-6.1 b5e374dda921 1eda0d14 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: unable to handle kernel NULL pointer dereference in read_pages
2024/09/01 23:37 android14-6.1 b5e374dda921 1eda0d14 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: unable to handle kernel NULL pointer dereference in read_pages
2024/09/01 09:48 android14-6.1 b5e374dda921 1eda0d14 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: unable to handle kernel NULL pointer dereference in read_pages
2024/09/01 06:08 android14-6.1 b5e374dda921 1eda0d14 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: unable to handle kernel NULL pointer dereference in read_pages
2024/09/01 00:50 android14-6.1 b5e374dda921 1eda0d14 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: unable to handle kernel NULL pointer dereference in read_pages
2024/08/31 23:14 android14-6.1 b5e374dda921 1eda0d14 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: unable to handle kernel NULL pointer dereference in read_pages
2024/08/31 14:47 android14-6.1 b5e374dda921 1eda0d14 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: unable to handle kernel NULL pointer dereference in read_pages
2024/08/31 14:47 android14-6.1 b5e374dda921 1eda0d14 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: unable to handle kernel NULL pointer dereference in read_pages
2024/08/20 15:03 android14-6.1 edca080b95df 9f0ab3fb .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: unable to handle kernel NULL pointer dereference in read_pages
2024/08/20 15:03 android14-6.1 edca080b95df 9f0ab3fb .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: unable to handle kernel NULL pointer dereference in read_pages
2024/05/15 17:26 android14-6.1 274e3e96961d 94b087b1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: unable to handle kernel NULL pointer dereference in read_pages
2024/05/11 10:41 android14-6.1 4d55129aea65 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: unable to handle kernel NULL pointer dereference in read_pages
2024/05/11 09:41 android14-6.1 4d55129aea65 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: unable to handle kernel NULL pointer dereference in read_pages
2024/04/26 05:25 android14-6.1 fa87a072a7fc 8bdc0f22 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: unable to handle kernel NULL pointer dereference in read_pages
2024/04/19 01:04 android14-6.1 dcb09569bbff af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: unable to handle kernel NULL pointer dereference in read_pages
2024/04/18 22:20 android14-6.1 dcb09569bbff af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: unable to handle kernel NULL pointer dereference in read_pages
2024/04/18 22:08 android14-6.1 dcb09569bbff af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: unable to handle kernel NULL pointer dereference in read_pages
2024/04/14 11:25 android14-6.1 b76ed1185975 c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: unable to handle kernel NULL pointer dereference in read_pages
2024/04/14 11:24 android14-6.1 b76ed1185975 c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: unable to handle kernel NULL pointer dereference in read_pages
2024/04/14 06:33 android14-6.1 cfa154389a65 c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: unable to handle kernel NULL pointer dereference in read_pages
2024/04/14 03:37 android14-6.1 cfa154389a65 c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: unable to handle kernel NULL pointer dereference in read_pages
2024/04/14 01:26 android14-6.1 cfa154389a65 c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: unable to handle kernel NULL pointer dereference in read_pages
2024/04/13 20:37 android14-6.1 cfa154389a65 c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: unable to handle kernel NULL pointer dereference in read_pages
2024/04/08 08:23 android14-6.1 60534eef4739 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: unable to handle kernel NULL pointer dereference in read_pages
* Struck through repros no longer work on HEAD.