BUG: unable to handle kernel paging request in __hfsplus_brec_find

Status: moderation: reported on 2026/09/13 20:22
Subsystems: hfs
Labels: prio:high
[Documentation on labels]
Reported-by: syzbot+f957cf00261d1c41fafd@syzkaller.appspotmail.com
First crash: 30d, last: 10d
▶ ▼ ✨ AI Jobs (1)
ID Workflow Result Correct Bug Created Started Finished Revision
9400239e assessment-security DenialOfService: ✅ Exploitable: ❌ FilesystemTrigger: ✅ NetworkTrigger: ❌ PeripheralTrigger: ❌ RemoteTrigger: ❌ Unprivileged: ✅ UserNamespace: ✅ VMGuestTrigger: ❌ VMHostTrigger: ❌ ❓ BUG: unable to handle kernel paging request in __hfsplus_brec_find 2026/09/11 00:29 2026/09/11 00:29 2026/09/11 01:09 1fe56c0a
▶ ▼ Discussions (2)
Title Replies (including bot) Last reply
Re: BUG: unable to handle kernel paging request in __hfsplus_brec_find 1 (1) 2026/09/24 18:32
Re: [syzbot] BUG: unable to handle kernel paging request in __hfsplus_brec_find 1 (2) 2026/09/17 08:37
▶ ▼ Similar bugs (1)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream general protection fault in __hfsplus_brec_find hfs 2 1 266d 262d 0/29 auto-obsoleted due to no activity on 2026/04/16 13:28

Sample crash report:
BUG: unable to handle page fault for address: fffffffffffffffb
#PF: supervisor read access in kernel mode
#PF: error_code(0x0000) - not-present page
PGD eb4b067 P4D eb4b067 PUD eb4d067 PMD 0 
Oops: Oops: 0000 [#1] SMP KASAN NOPTI
CPU: 0 UID: 0 PID: 5319 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
RIP: 0010:hfs_bnode_num_recs_invalid fs/hfsplus/hfsplus_fs.h:605 [inline]
RIP: 0010:__hfsplus_brec_find+0xe0/0x850 fs/hfsplus/bfind.c:114
Code: e8 25 3c 7f ff 4d 85 ff 74 67 48 89 5c 24 38 4c 89 f8 48 c1 e8 03 48 89 44 24 10 42 80 3c 20 00 74 08 4c 89 ff e8 30 39 7f ff <49> 8b 1f 48 85 db 74 4b 4c 89 6c 24 28 48 83 c3 38 48 89 d8 48 c1
RSP: 0018:ffffc9000df77680 EFLAGS: 00010246
RAX: 1fffffffffffffff RBX: ffffc9000df779c0 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 00000000000000ff RDI: ffffc9000df779d4
RBP: ffffc9000df77770 R08: ffffc9000df779d3 R09: 0000000000000000
R10: ffffc9000df779c0 R11: fffff52001beef3b R12: dffffc0000000000
R13: ffffc9000df779a0 R14: 1ffff92001beeed8 R15: fffffffffffffffb
FS:  00007f7d049ad6c0(0000) GS:ffff88808c2bc000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: fffffffffffffffb CR3: 000000001380f000 CR4: 0000000000352ef0
Call Trace:
 <TASK>
 hfsplus_brec_insert+0x90e/0xde0 fs/hfsplus/brec.c:170
 hfsplus_create_cat+0xa7e/0x1240 fs/hfsplus/catalog.c:308
 hfsplus_mknod+0x184/0x3c0 fs/hfsplus/dir.c:532
 hfsplus_mkdir+0x26/0x40 fs/hfsplus/dir.c:573
 vfs_mkdir+0x40c/0x620 fs/namei.c:5410
 filename_mkdirat+0x285/0x510 fs/namei.c:5443
 __do_sys_mkdirat fs/namei.c:5464 [inline]
 __se_sys_mkdirat+0x35/0x150 fs/namei.c:5461
 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
 do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f7d03b9cfc7
Code: 00 66 90 48 89 f2 b9 00 01 00 00 48 89 fe bf 9c ff ff ff e9 db f7 ff ff 66 2e 0f 1f 84 00 00 00 00 00 90 b8 02 01 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f7d049ace18 EFLAGS: 00000246 ORIG_RAX: 0000000000000102
RAX: ffffffffffffffda RBX: 00007f7d049acea0 RCX: 00007f7d03b9cfc7
RDX: 00000000000001ff RSI: 00002000000003c0 RDI: 00000000ffffff9c
RBP: 00002000000000c0 R08: 0000200000000d40 R09: 0000000000000000
R10: 00002000000000c0 R11: 0000000000000246 R12: 00002000000003c0
R13: 00007f7d049ace60 R14: 0000000000000000 R15: 0000000000000000
 </TASK>
Modules linked in:
CR2: fffffffffffffffb
---[ end trace 0000000000000000 ]---
RIP: 0010:hfs_bnode_num_recs_invalid fs/hfsplus/hfsplus_fs.h:605 [inline]
RIP: 0010:__hfsplus_brec_find+0xe0/0x850 fs/hfsplus/bfind.c:114
Code: e8 25 3c 7f ff 4d 85 ff 74 67 48 89 5c 24 38 4c 89 f8 48 c1 e8 03 48 89 44 24 10 42 80 3c 20 00 74 08 4c 89 ff e8 30 39 7f ff <49> 8b 1f 48 85 db 74 4b 4c 89 6c 24 28 48 83 c3 38 48 89 d8 48 c1
RSP: 0018:ffffc9000df77680 EFLAGS: 00010246
RAX: 1fffffffffffffff RBX: ffffc9000df779c0 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 00000000000000ff RDI: ffffc9000df779d4
RBP: ffffc9000df77770 R08: ffffc9000df779d3 R09: 0000000000000000
R10: ffffc9000df779c0 R11: fffff52001beef3b R12: dffffc0000000000
R13: ffffc9000df779a0 R14: 1ffff92001beeed8 R15: fffffffffffffffb
FS:  00007f7d049ad6c0(0000) GS:ffff88808c2bc000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: fffffffffffffffb CR3: 000000001380f000 CR4: 0000000000352ef0
----------------
Code disassembly (best guess):
   0:	e8 25 3c 7f ff       	call   0xff7f3c2a
   5:	4d 85 ff             	test   %r15,%r15
   8:	74 67                	je     0x71
   a:	48 89 5c 24 38       	mov    %rbx,0x38(%rsp)
   f:	4c 89 f8             	mov    %r15,%rax
  12:	48 c1 e8 03          	shr    $0x3,%rax
  16:	48 89 44 24 10       	mov    %rax,0x10(%rsp)
  1b:	42 80 3c 20 00       	cmpb   $0x0,(%rax,%r12,1)
  20:	74 08                	je     0x2a
  22:	4c 89 ff             	mov    %r15,%rdi
  25:	e8 30 39 7f ff       	call   0xff7f395a
* 2a:	49 8b 1f             	mov    (%r15),%rbx <-- trapping instruction
  2d:	48 85 db             	test   %rbx,%rbx
  30:	74 4b                	je     0x7d
  32:	4c 89 6c 24 28       	mov    %r13,0x28(%rsp)
  37:	48 83 c3 38          	add    $0x38,%rbx
  3b:	48 89 d8             	mov    %rbx,%rax
  3e:	48                   	rex.W
  3f:	c1                   	.byte 0xc1

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/09/29 07:11 upstream 72d3fcf802c4 7bf4ea23 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root BUG: unable to handle kernel paging request in __hfsplus_brec_find
2026/09/28 11:03 upstream 72d3fcf802c4 a3c7249d .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root BUG: unable to handle kernel paging request in __hfsplus_brec_find
2026/09/09 20:16 upstream 893e11787f78 edec9137 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root BUG: unable to handle kernel paging request in __hfsplus_brec_find
* Struck through repros no longer work on HEAD.