syzbot


BUG: unable to handle kernel paging request in hfs_find_init

Status: upstream: reported C repro on 2023/03/13 10:13
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+7c669e7491fdbacd64b2@syzkaller.appspotmail.com
First crash: 838d, last: 2d03h
Fix bisection: failed (error log, bisect log)
  
Bug presence (1)
Date Name Commit Repro Result
2023/06/18 upstream (ToT) 1b29d271614a C [report] BUG: unable to handle kernel paging request in hfs_find_init
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 BUG: unable to handle kernel paging request in hfs_find_init origin:upstream C error 29 10d 815d 0/3 upstream: reported C repro on 2023/04/05 08:29
upstream general protection fault in hfs_find_init hfs C done 1004 2d01h 2645d 0/29 upstream: reported C repro on 2018/03/31 20:47
linux-4.14 general protection fault in hfs_find_init hfs C 3 847d 938d 0/1 upstream: reported C repro on 2022/12/03 11:10
linux-4.19 general protection fault in hfs_find_init hfs C 12 849d 944d 0/1 upstream: reported C repro on 2022/11/26 21:41
Fix bisection attempts (12)
Created Duration User Patch Repo Result
2025/03/23 17:04 15m bisect fix linux-6.1.y error job log
2025/02/20 23:23 2h51m bisect fix linux-6.1.y OK (0) job log log
2025/01/21 02:52 1h50m bisect fix linux-6.1.y OK (0) job log log
2024/12/08 17:39 1h55m bisect fix linux-6.1.y OK (0) job log log
2024/10/25 23:38 1h39m bisect fix linux-6.1.y OK (0) job log log
2024/09/24 07:02 2h04m bisect fix linux-6.1.y OK (0) job log log
2024/08/19 03:52 2h52m bisect fix linux-6.1.y OK (0) job log log
2024/07/07 07:54 1h26m bisect fix linux-6.1.y OK (0) job log log
2024/05/29 14:42 1h32m bisect fix linux-6.1.y OK (0) job log log
2024/01/30 06:29 1h29m bisect fix linux-6.1.y OK (0) job log log
2023/12/06 22:08 1h02m bisect fix linux-6.1.y OK (0) job log log
2023/10/20 01:23 1h34m bisect fix linux-6.1.y OK (0) job log log

Sample crash report:
loop0: detected capacity change from 0 to 64
hfs: unable to locate alternate MDB
hfs: continuing without an alternate MDB
Unable to handle kernel paging request at virtual address dfff800000000008
KASAN: null-ptr-deref in range [0x0000000000000040-0x0000000000000047]
Mem abort info:
  ESR = 0x0000000096000006
  EC = 0x25: DABT (current EL), IL = 32 bits
  SET = 0, FnV = 0
  EA = 0, S1PTW = 0
  FSC = 0x06: level 2 translation fault
Data abort info:
  ISV = 0, ISS = 0x00000006
  CM = 0, WnR = 0
[dfff800000000008] address between user and kernel address ranges
Internal error: Oops: 0000000096000006 [#1] PREEMPT SMP
Modules linked in:
CPU: 1 PID: 4295 Comm: syz-executor373 Not tainted 6.1.141-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : hfs_find_init+0x6c/0x1c8 fs/hfs/bfind.c:21
lr : hfs_find_init+0x30/0x1c8 fs/hfs/bfind.c:16
sp : ffff8000206c70b0
x29: ffff8000206c70b0 x28: ffff7000040d8e2c x27: 0000000000000000
x26: ffff0000d6210180 x25: 0000000000000008 x24: dfff800000000000
x23: 0000000000000000 x22: ffff8000206c7198 x21: 0000000000000040
x20: ffff8000206c7180 x19: 0000000000000000 x18: ffff800011a7bce0
x17: 1fffe00033ee7176 x16: ffff8000082d1c00 x15: ffff80001506d000
x14: 0000000000000100 x13: 1ffff00002a0e0b1 x12: 0000000000ff0100
x11: ff00800008f7cce0 x10: 0000000000000000 x9 : ffff800008f7cce0
x8 : 0000000000000000 x7 : 0000000000000000 x6 : 0000000000000000
x5 : 0000000000000080 x4 : 0000000000000000 x3 : 0000000000000030
x2 : 0000000000000008 x1 : ffff8000206c7180 x0 : ffff8000206c7190
Call trace:
 hfs_find_init+0x6c/0x1c8 fs/hfs/bfind.c:21
 hfs_ext_read_extent fs/hfs/extent.c:200 [inline]
 hfs_get_block+0x3d4/0x9cc fs/hfs/extent.c:366
 block_read_full_folio+0x2e4/0x97c fs/buffer.c:2271
 hfs_read_folio+0x28/0x38 fs/hfs/inode.c:39
 filemap_read_folio+0x130/0x37c mm/filemap.c:2490
 do_read_cache_folio+0x24c/0x544 mm/filemap.c:3627
 do_read_cache_page mm/filemap.c:3669 [inline]
 read_cache_page+0x6c/0x184 mm/filemap.c:3678
 read_mapping_page include/linux/pagemap.h:791 [inline]
 hfs_btree_open+0x404/0xfd4 fs/hfs/btree.c:78
 hfs_mdb_get+0xe78/0x19d0 fs/hfs/mdb.c:199
 hfs_fill_super+0xc0c/0x1188 fs/hfs/super.c:406
 mount_bdev+0x264/0x358 fs/super.c:1443
 hfs_mount+0x44/0x58 fs/hfs/super.c:458
 legacy_get_tree+0xd4/0x16c fs/fs_context.c:632
 vfs_get_tree+0x90/0x274 fs/super.c:1573
 do_new_mount+0x228/0x810 fs/namespace.c:3054
 path_mount+0x5b4/0xe78 fs/namespace.c:3384
 do_mount fs/namespace.c:3397 [inline]
 __do_sys_mount fs/namespace.c:3605 [inline]
 __se_sys_mount fs/namespace.c:3582 [inline]
 __arm64_sys_mount+0x49c/0x584 fs/namespace.c:3582
 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
 invoke_syscall+0x98/0x2bc arch/arm64/kernel/syscall.c:52
 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140
 do_el0_svc+0x58/0x13c arch/arm64/kernel/syscall.c:204
 el0_svc+0x58/0x138 arch/arm64/kernel/entry-common.c:637
 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655
 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585
Code: 97e563d4 91010275 f90002df d343feb9 (38f86b28) 
---[ end trace 0000000000000000 ]---
----------------
Code disassembly (best guess):
   0:	97e563d4 	bl	0xffffffffff958f50
   4:	91010275 	add	x21, x19, #0x40
   8:	f90002df 	str	xzr, [x22]
   c:	d343feb9 	lsr	x25, x21, #3
* 10:	38f86b28 	ldrsb	w8, [x25, x24] <-- trapping instruction

Crashes (30):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/06/26 08:03 linux-6.1.y 58485ff1a74f 26d77996 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 BUG: unable to handle kernel paging request in hfs_find_init
2024/12/11 10:26 linux-6.1.y e4d90d63d385 cfc402b4 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 BUG: unable to handle kernel paging request in hfs_find_init
2024/12/09 17:33 linux-6.1.y e4d90d63d385 9ac0fdc6 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 BUG: unable to handle kernel paging request in hfs_find_init
2024/04/24 00:51 linux-6.1.y 6741e066ec76 21339d7b .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 BUG: unable to handle kernel paging request in hfs_find_init
2024/04/01 18:19 linux-6.1.y e5cd595e23c1 6baf5069 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 BUG: unable to handle kernel paging request in hfs_find_init
2023/06/17 20:38 linux-6.1.y ca87e77a2ef8 f3921d4d .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 BUG: unable to handle kernel paging request in hfs_find_init
2023/12/28 04:25 linux-6.1.y 4aa6747d9352 fb427a07 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan general protection fault in hfs_find_init
2023/09/15 13:26 linux-6.1.y 09045dae0d90 0b6a67ac .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan general protection fault in hfs_find_init
2025/06/26 07:29 linux-6.1.y 58485ff1a74f 26d77996 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: unable to handle kernel paging request in hfs_find_init
2024/12/09 17:19 linux-6.1.y e4d90d63d385 9ac0fdc6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: unable to handle kernel paging request in hfs_find_init
2024/04/10 00:05 linux-6.1.y 347385861c50 171ec371 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: unable to handle kernel paging request in hfs_find_init
2024/03/30 14:24 linux-6.1.y e5cd595e23c1 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: unable to handle kernel paging request in hfs_find_init
2024/03/27 16:12 linux-6.1.y e5cd595e23c1 454571b6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: unable to handle kernel paging request in hfs_find_init
2024/03/27 07:17 linux-6.1.y e5cd595e23c1 454571b6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: unable to handle kernel paging request in hfs_find_init
2024/03/17 19:22 linux-6.1.y d7543167affd d615901c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: unable to handle kernel paging request in hfs_find_init
2024/02/28 02:25 linux-6.1.y 81e1dc2f7001 d367cbe5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: unable to handle kernel paging request in hfs_find_init
2023/11/06 18:53 linux-6.1.y 4a61839152cc 78fae24e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: unable to handle kernel paging request in hfs_find_init
2023/08/23 10:50 linux-6.1.y 6c44e13dc284 b81ca3f6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: unable to handle kernel paging request in hfs_find_init
2023/08/20 14:46 linux-6.1.y 6c44e13dc284 d216d8a0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: unable to handle kernel paging request in hfs_find_init
2023/07/21 13:16 linux-6.1.y a456e1743881 28847498 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: unable to handle kernel paging request in hfs_find_init
2023/06/30 23:06 linux-6.1.y a1c449d00ff8 af3053d2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: unable to handle kernel paging request in hfs_find_init
2023/04/12 16:06 linux-6.1.y 543aff194ab6 1a1596b6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: unable to handle kernel paging request in hfs_find_init
2023/04/03 02:59 linux-6.1.y 3b29299e5f60 f325deb0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: unable to handle kernel paging request in hfs_find_init
2023/03/13 10:12 linux-6.1.y 1cc3fcf63192 5205ef30 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: unable to handle kernel paging request in hfs_find_init
2024/04/08 11:22 linux-6.1.y 347385861c50 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan general protection fault in hfs_find_init
2024/04/07 08:20 linux-6.1.y 347385861c50 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan general protection fault in hfs_find_init
2024/03/22 22:47 linux-6.1.y d7543167affd 4b6cdce6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan general protection fault in hfs_find_init
2024/02/20 14:27 linux-6.1.y 8b4118fabd6e 3af7dd65 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan general protection fault in hfs_find_init
2023/12/28 01:45 linux-6.1.y 4aa6747d9352 fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan general protection fault in hfs_find_init
2023/12/18 08:35 linux-6.1.y ba6f5fb46511 3222d10c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan general protection fault in hfs_find_init
* Struck through repros no longer work on HEAD.