syzbot
BUG: unable to handle kernel NULL pointer dereference in read_cache_folio
Status:
auto-obsoleted due to no activity on 2025/08/31 15:26
Subsystems:
fs
[Documentation on labels]
Reported-by: syzbot+4089e577072948ac5531@syzkaller.appspotmail.com
First crash: 688d, last: 445d
▶
▼
Last patch testing requests (13)
Sample crash report:
Unable to handle kernel NULL pointer dereference at virtual address 0000000000000000
Mem abort info:
ESR = 0x0000000086000006
EC = 0x21: IABT (current EL), IL = 32 bits
SET = 0, FnV = 0
EA = 0, S1PTW = 0
FSC = 0x06: level 2 translation fault
user pgtable: 4k pages, 52-bit VAs, pgdp=00000000442e5180
[0000000000000000] pgd=0800000045911403, p4d=080000007877c403, pud=080000006dcfd403, pmd=0000000000000000
Internal error: Oops: 0000000086000006 [#1] SMP
Modules linked in:
CPU: 1 UID: 0 PID: 18649 Comm: syz.1.3853 Not tainted 6.15.0-rc2-syzkaller-00471-g119009db2674 #0 PREEMPT
Hardware name: linux,dummy-virt (DT)
pstate: 61402809 (nZCv daif +PAN -UAO -TCO +DIT -SSBS BTYPE=-c)
pc : 0x0
lr : filemap_read_folio+0x44/0xf4 mm/filemap.c:2401
sp : ffff800089273ad0
x29: ffff800089273ad0 x28: 0000000020ffd000 x27: 000000000000041a
x26: 0000000000000000 x25: 0000000000000000 x24: 0000000002100cca
x23: faf000000c8f0600 x22: 0000000000000000 x21: faf000000c8f0600
x20: 0000000000000000 x19: ffffc1ffc1287740 x18: ffff800089273c30
x17: 0000000000000000 x16: 0000000000000000 x15: 0000000020000180
x14: 0000000000000000 x13: 0000000000000003 x12: 000000000006f374
x11: 0000000000000000 x10: ffff80008205a0c8 x9 : 0000000000000881
x8 : fff07ffffd032000 x7 : fff000007f8cfd40 x6 : 0000000000000001
x5 : ffffc1ffc1287740 x4 : 0000000000000000 x3 : fbf000000583c900
x2 : 0000000000000000 x1 : ffffc1ffc1287740 x0 : faf000000c8f0600
Call trace:
0x0 (P)
do_read_cache_folio+0x190/0x2a0 mm/filemap.c:3885
read_cache_folio+0x14/0x20 mm/filemap.c:3917
freader_get_folio+0x1bc/0x214 lib/buildid.c:77
freader_fetch+0x44/0x164 lib/buildid.c:120
__build_id_parse.isra.0+0x98/0x2a8 lib/buildid.c:305
build_id_parse+0x18/0x24 lib/buildid.c:359
do_procmap_query+0x5dc/0x71c fs/proc/task_mmu.c:534
procfs_procmap_ioctl+0x2c/0x44 fs/proc/task_mmu.c:613
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:906 [inline]
__se_sys_ioctl fs/ioctl.c:892 [inline]
__arm64_sys_ioctl+0xb4/0xe8 fs/ioctl.c:892
__invoke_syscall arch/arm64/kernel/syscall.c:35 [inline]
invoke_syscall+0x48/0x110 arch/arm64/kernel/syscall.c:49
el0_svc_common.constprop.0+0x40/0xe0 arch/arm64/kernel/syscall.c:132
do_el0_svc+0x1c/0x28 arch/arm64/kernel/syscall.c:151
el0_svc+0x30/0xe0 arch/arm64/kernel/entry-common.c:744
el0t_64_sync_handler+0x10c/0x138 arch/arm64/kernel/entry-common.c:762
el0t_64_sync+0x1a4/0x1a8 arch/arm64/kernel/entry.S:600
Code: ???????? ???????? ???????? ???????? (????????)
---[ end trace 0000000000000000 ]---
* Struck through repros no longer work on HEAD.