syzbot


BUG: unable to handle kernel paging request in hfsplus_rename_cat

Status: upstream: reported C repro on 2025/05/04 21:53
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+f72d9323af31cf023d28@syzkaller.appspotmail.com
First crash: 5d04h, last: 4d23h
Bug presence (1)
Date Name Commit Repro Result
2025/05/06 upstream (ToT) 0d8d44db295c C [report] BUG: unable to handle kernel paging request in hfsplus_rename_cat
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 BUG: unable to handle kernel paging request in hfsplus_rename_cat origin:upstream missing-backport C inconclusive 6 125d 181d 0/3 upstream: reported C repro on 2024/11/09 17:58
upstream KMSAN: uninit-value in hfsplus_rename_cat hfs C inconclusive 1245 5h04m 576d 0/28 upstream: reported C repro on 2023/10/11 11:48

Sample crash report:
hfsplus: bad catalog entry type
Unable to handle kernel paging request at virtual address dfff800000000008
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: 0 PID: 4019 Comm: syz-executor100 Not tainted 5.15.181-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : hfsplus_rename_cat+0x314/0xd4c fs/hfsplus/catalog.c:480
lr : hfsplus_rename_cat+0x2f8/0xd4c fs/hfsplus/catalog.c:474
sp : ffff80001f287640
x29: ffff80001f287a40 x28: 0000000000000000 x27: ffff700003e50ed4
x26: ffff0000d7f2e058 x25: ffff0000d3a01cd8 x24: ffff0000d8497000
x23: dfff800000000000 x22: ffff0000d3a0e000 x21: ffff80001f2876a0
x20: 0000000000000040 x19: 1fffe0001a74039b x18: 0000000000000000
x17: 0000000000000000 x16: ffff8000082bdde4 x15: 0000000000000000
x14: 0000000000000000 x13: 0000000000000000 x12: 0000000000ff0100
x11: 0000000000000000 x10: 0000000000000000 x9 : 0000000000000200
x8 : 0000000000000008 x7 : 0000000000000000 x6 : 0000000000000000
x5 : ffff80001f287878 x4 : ffff0001635461c4 x3 : ffff80001f287800
x2 : ffffffffffffffe8 x1 : 0000000000000000 x0 : 0000000000000000
Call trace:
 hfsplus_rename_cat+0x314/0xd4c fs/hfsplus/catalog.c:480
 hfsplus_unlink+0x25c/0x664 fs/hfsplus/dir.c:376
 vfs_unlink+0x2e0/0x4f4 fs/namei.c:4280
 do_unlinkat+0x31c/0x600 fs/namei.c:4348
 __do_sys_unlinkat fs/namei.c:4391 [inline]
 __se_sys_unlinkat fs/namei.c:4384 [inline]
 __arm64_sys_unlinkat+0xe0/0xfc fs/namei.c:4384
 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
 invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52
 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142
 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181
 el0_svc+0x78/0x1e0 arch/arm64/kernel/entry-common.c:608
 el0t_64_sync_handler+0xcc/0xe4 arch/arm64/kernel/entry-common.c:626
 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584
Code: 91010114 b9002be9 d343fe88 f9000fe8 (38776908) 
---[ end trace 0018a1c5dad0f73a ]---
----------------
Code disassembly (best guess):
   0:	91010114 	add	x20, x8, #0x40
   4:	b9002be9 	str	w9, [sp, #40]
   8:	d343fe88 	lsr	x8, x20, #3
   c:	f9000fe8 	str	x8, [sp, #24]
* 10:	38776908 	ldrb	w8, [x8, x23] <-- trapping instruction

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/05/05 03:13 linux-5.15.y 16fdf2c7111b b0714e37 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in hfsplus_rename_cat
2025/05/05 02:01 linux-5.15.y 16fdf2c7111b b0714e37 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in hfsplus_rename_cat
2025/05/05 00:07 linux-5.15.y 16fdf2c7111b b0714e37 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in hfsplus_rename_cat
2025/05/04 23:00 linux-5.15.y 16fdf2c7111b b0714e37 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in hfsplus_rename_cat
2025/05/04 21:52 linux-5.15.y 16fdf2c7111b b0714e37 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in hfsplus_rename_cat
* Struck through repros no longer work on HEAD.