syzbot


general protection fault in hfsplus_cat_write_inode

Status: upstream: reported C repro on 2026/04/13 21:50
Subsystems: hfs
[Documentation on labels]
Reported-by: syzbot+c0ba772a362e70937dfb@syzkaller.appspotmail.com
First crash: 64d, last: 1d23h
✨ AI Jobs (1)
ID Workflow Result Correct Bug Created Started Finished Revision Error
3ea65e15-f814-49dd-a92f-74ae1bb3cace repro 💥 general protection fault in hfsplus_cat_write_inode 2026/03/06 09:18 2026/03/06 09:18 2026/03/06 09:34 31e9c887f7dc24e04b3ca70d0d54fc34141844b0 Error 504, Message: Deadline expired before operation could complete., Status: DEADLINE_EXCEEDED, Details: [map[@type:type.googleapis.com/google.rpc.DebugInfo detail:[ORIGINAL ERROR] generic::deadline_exceeded: [original: beyond::dependency::DEADLINE_EXCEEDED] decode timeout, from active slot 120; Failed while executing Op 'Decode'; Failed to close the streaming context; status = DEADLINE_EXCEEDED: decode timeout, from active slot 120; Failed while executing Op 'Decode' [type.googleapis.com/stairways.orch.ErrorLoc='learning/serving/servables/wiz/orch_wiz_servable.cc:1027'] === Source Location Trace: === learning/brain/research/stairways/orchestrator/leaf/chain_stub.cc:125 learning/serving/servables/wiz/orch_wiz_servable.cc:1037 ; Failed to run inference for model: go/debugstr name: "prod-common-global__/aistudio/gemini-v4m-rev22-riftrunner-sc__main__/aistudio/gemini-v4m-rev22-riftrunner-sc__2026020501__prefill__variant__18f75324-2a67-4564-ac80-55cbdf2da5fe" version { value: 1 } signature_name: "serving_default" ; [model=/aistudio/gemini-v4m-rev22-riftrunner-sc,target=PredictionService]; for endpoint: [google.rpc.error_details_ext] { message: "Deadline expired before operation could complete." details { type_url: "type.googleapis.com/language_labs.genai.debug.GeminiApiDebugInfo" value: "\222\001\202\007\n\342\006decode timeout, from active slot 120; Failed while executing Op \'Decode\'; Failed to close the streaming context; status = DEADLINE_EXCEEDED: decode timeout, from active slot 120; Failed while executing Op \'Decode\' [type.googleapis.com/stairways.orch.ErrorLoc=\'learning/serving/servables/wiz/orch_wiz_servable.cc:1027\']\n=== Source Location Trace: === \nlearning/brain/research/stairways/orchestrator/leaf/chain_stub.cc:125\nlearning/serving/servables/wiz/orch_wiz_servable.cc:1037\n; Failed to run inference for model: go/debugstr \nname: \"prod-common-global__/aistudio/gemini-v4m-rev22-riftrunner-sc__main__/aistudio/gemini-v4m-rev22-riftrunner-sc__2026020501__prefill__variant__18f75324-2a67-4564-ac80-55cbdf2da5fe\"\nversion {\n value: 1\n}\nsignature_name: \"serving_default\"\n; [model=/aistudio/gemini-v4m-rev22-riftrunner-sc,target=PredictionService]; for endpoint: \022\033net/rpc/rpc-status.cc:562:0" } } 525002922 { 3 { 1: "/aistudio/gemini-v4m-rev22-riftrunner-sc" } 6 { 5 { 1 { 1: "/aistudio/gemini-v4m-rev22-riftrunner-sc" 3: "serving_default" } 2: 131072 3: 1 } 6 { 2: 1 3: 0 4: "Non-retryable error: decode timeout, from active slot 120; Failed while executing Op \'Decode\'; Failed to close the streaming context; status = DEADLINE_EXCEEDED: decode timeout, from active slot 120; Failed while executing Op \'Decode\' [type.googleapis.com/stairways.orch.ErrorLoc=\'learning/serving/servables/wiz/orch_wiz_servable.cc:1027\']\n=== Source Location Trace: === \nlearning/brain/research/stairways/orchestrator/leaf/chain_stub.cc:125\nlearning/serving/servables/wiz/orch_wiz_servable.cc:1037\n; Failed to run inference for model: go/debugstr \nname: \"prod-common-global__/aistudio/gemini-v4m-rev22-riftrunner-sc__main__/aistudio/gemini-v4m-rev22-riftrunner-sc__2026020501__prefill__variant__18f75324-2a67-4564-ac80-55cbdf2da5fe\"\nversion {\n value: 1\n}\nsignature_name: \"serving_default\"\n; [model=/aistudio/gemini-v4m-rev22-riftrunner-sc,target=PredictionService]; for endpoint: " 5 { 1 { 1: 1772789069 2: 300490688 } 2 { 1: 597 2: 655374462 } } 6: "\200\200\004" } } }]]
Cause bisection: failed (error log, bisect log)
  
Discussions (5)
Title Replies (including bot) Last reply
[PATCH v3] hfsplus: fix null-ptr-deref in hfsplus_cat_write_inode 3 (3) 2026/04/21 01:44
[PATCH v2] hfsplus: fix ignored error return in hfsplus_delete_cat 4 (4) 2026/04/15 21:20
[syzbot] [hfs?] general protection fault in hfsplus_cat_write_inode 0 (3) 2026/04/14 23:36
[PATCH] hfsplus: fix ignored error return in hfsplus_delete_cat 2 (2) 2026/04/14 01:57
[PATCH] hfsplus: fix ignored error return in hfsplus_delete_cat 2 (2) 2026/04/14 01:51
Last patch testing requests (2)
Created Duration User Patch Repo Result
2026/04/14 23:36 24m kartikey406@gmail.com patch upstream OK log
2026/04/13 23:02 32m kartikey406@gmail.com patch upstream OK log

Sample crash report:
loop0: detected capacity change from 0 to 1024
hfsplus: xattr search failed
Oops: general protection fault, probably for non-canonical address 0xdffffc0000000005: 0000 [#1] SMP KASAN PTI
KASAN: null-ptr-deref in range [0x0000000000000028-0x000000000000002f]
CPU: 0 UID: 0 PID: 6072 Comm: syz.0.17 Not tainted syzkaller #0 PREEMPT_{RT,(full)} 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/18/2026
RIP: 0010:hfsplus_cat_write_inode+0xbe/0x8f0 fs/hfsplus/inode.c:637
Code: f3 f3 4a 89 44 33 51 4a 89 44 33 59 66 42 c7 44 33 61 f3 f3 42 c6 44 33 63 f3 e8 2d 77 23 ff 4d 8d 7d 28 4c 89 f8 48 c1 e8 03 <42> 80 3c 30 00 74 08 4c 89 ff e8 73 9b 89 ff 41 be 98 07 00 00 4d
RSP: 0018:ffffc900040f7880 EFLAGS: 00010206
RAX: 0000000000000005 RBX: 1ffff9200081ef14 RCX: ffff888028725b80
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc900040f7c10 R08: 0000000000000004 R09: 0000000000000004
R10: fffff5200081ef24 R11: fffffbfff1ed4f17 R12: 1ffff9200081ef8c
R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000000028
FS:  0000555586e4a500(0000) GS:ffff888126332000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f427032f000 CR3: 0000000036c06000 CR4: 00000000003526f0
Call Trace:
 <TASK>
 hfsplus_unlink+0x57a/0x930 fs/hfsplus/dir.c:435
 vfs_unlink+0x272/0x6d0 fs/namei.c:5476
 filename_unlinkat+0x3d3/0x610 fs/namei.c:5546
 __do_sys_unlink fs/namei.c:5581 [inline]
 __se_sys_unlink+0x2e/0x140 fs/namei.c:5578
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0x14d/0xf80 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f464eabc819
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 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 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffd69795788 EFLAGS: 00000246 ORIG_RAX: 0000000000000057
RAX: ffffffffffffffda RBX: 00007f464ed35fa0 RCX: 00007f464eabc819
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000200000000200
RBP: 00007f464eb52c91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f464ed35fac R14: 00007f464ed35fa0 R15: 00007f464ed35fa0
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:hfsplus_cat_write_inode+0xbe/0x8f0 fs/hfsplus/inode.c:637
Code: f3 f3 4a 89 44 33 51 4a 89 44 33 59 66 42 c7 44 33 61 f3 f3 42 c6 44 33 63 f3 e8 2d 77 23 ff 4d 8d 7d 28 4c 89 f8 48 c1 e8 03 <42> 80 3c 30 00 74 08 4c 89 ff e8 73 9b 89 ff 41 be 98 07 00 00 4d
RSP: 0018:ffffc900040f7880 EFLAGS: 00010206
RAX: 0000000000000005 RBX: 1ffff9200081ef14 RCX: ffff888028725b80
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc900040f7c10 R08: 0000000000000004 R09: 0000000000000004
R10: fffff5200081ef24 R11: fffffbfff1ed4f17 R12: 1ffff9200081ef8c
R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000000028
FS:  0000555586e4a500(0000) GS:ffff888126332000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f427032f000 CR3: 0000000036c06000 CR4: 00000000003526f0
----------------
Code disassembly (best guess):
   0:	f3 f3 4a 89 44 33 51 	repz xrelease mov %rax,0x51(%rbx,%r14,1)
   7:	4a 89 44 33 59       	mov    %rax,0x59(%rbx,%r14,1)
   c:	66 42 c7 44 33 61 f3 	movw   $0xf3f3,0x61(%rbx,%r14,1)
  13:	f3
  14:	42 c6 44 33 63 f3    	movb   $0xf3,0x63(%rbx,%r14,1)
  1a:	e8 2d 77 23 ff       	call   0xff23774c
  1f:	4d 8d 7d 28          	lea    0x28(%r13),%r15
  23:	4c 89 f8             	mov    %r15,%rax
  26:	48 c1 e8 03          	shr    $0x3,%rax
* 2a:	42 80 3c 30 00       	cmpb   $0x0,(%rax,%r14,1) <-- trapping instruction
  2f:	74 08                	je     0x39
  31:	4c 89 ff             	mov    %r15,%rdi
  34:	e8 73 9b 89 ff       	call   0xff899bac
  39:	41 be 98 07 00 00    	mov    $0x798,%r14d
  3f:	4d                   	rex.WRB

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/04/13 21:49 upstream 26ff969926a0 9530ccf9 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs general protection fault in hfsplus_cat_write_inode
2026/04/19 20:23 upstream faeab166167f 303e2802 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in hfsplus_cat_write_inode
2026/04/13 20:30 upstream 26ff969926a0 9530ccf9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in hfsplus_cat_write_inode
2026/02/16 12:52 upstream c22e26bd0906 1e62d198 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in hfsplus_cat_write_inode
* Struck through repros no longer work on HEAD.