syzbot


WARNING in hfsplus_unlink

Status: upstream: reported C repro on 2024/11/24 10:53
Subsystems: hfs
[Documentation on labels]
Reported-by: syzbot+028180f480a74961919c@syzkaller.appspotmail.com
First crash: 317d, last: 5d21h
Cause bisection: the issue happens on the oldest tested release (bisect log)
Crash: WARNING in hfsplus_unlink (log)
Repro: C syz .config
  
Discussions (2)
Title Replies (including bot) Last reply
[PATCH] hfsplus: restore i_nlink and flags when rename_cat fails 1 (1) 2024/11/25 23:42
[syzbot] [hfs?] WARNING in hfsplus_unlink 1 (3) 2024/11/24 15:42
Last patch testing requests (11)
Created Duration User Patch Repo Result
2025/09/06 12:52 12m retest repro upstream report log
2025/09/06 12:52 17m retest repro upstream report log
2025/08/08 22:10 17m retest repro upstream report log
2025/08/08 22:10 17m retest repro upstream report log
2025/08/08 22:10 17m retest repro upstream report log
2025/08/08 22:10 16m retest repro upstream report log
2025/08/08 22:10 16m retest repro upstream report log
2025/07/19 02:08 38m retest repro upstream report log
2025/07/04 21:49 14m retest repro upstream report log
2025/06/16 00:14 15m retest repro upstream report log
2024/11/24 14:38 23m eadavis@qq.com patch upstream OK log
Fix bisection attempts (1)
Created Duration User Patch Repo Result
2025/02/07 06:59 1h55m bisect fix upstream OK (0) job log log

Sample crash report:
loop0: detected capacity change from 0 to 1024
------------[ cut here ]------------
WARNING: CPU: 1 PID: 6106 at fs/inode.c:417 drop_nlink+0xc5/0x110 fs/inode.c:417
Modules linked in:
CPU: 1 UID: 0 PID: 6106 Comm: syz.0.17 Not tainted syzkaller #0 PREEMPT_{RT,(full)} 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/2025
RIP: 0010:drop_nlink+0xc5/0x110 fs/inode.c:417
Code: c8 08 00 00 be 08 00 00 00 e8 67 8c ec ff f0 48 ff 83 c8 08 00 00 5b 41 5c 41 5e 41 5f 5d e9 82 81 c9 08 cc e8 ec 4e 8d ff 90 <0f> 0b 90 eb 81 44 89 f1 80 e1 07 80 c1 03 38 c1 0f 8c 5b ff ff ff
RSP: 0018:ffffc90003f2fbd0 EFLAGS: 00010293
RAX: ffffffff82311f24 RBX: ffff8880355faee0 RCX: ffff88803394bb80
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: dffffc0000000000 R11: fffffbfff1e3ac07 R12: 1ffff11006abf5e5
R13: ffff88803b72a738 R14: ffff8880355faf28 R15: dffffc0000000000
FS:  000055557872a500(0000) GS:ffff8881269bc000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055bb51b8f950 CR3: 0000000029b9a000 CR4: 00000000003526f0
Call Trace:
 <TASK>
 hfsplus_unlink+0x3eb/0x740 fs/hfsplus/dir.c:381
 vfs_unlink+0x39a/0x660 fs/namei.c:4586
 do_unlinkat+0x345/0x570 fs/namei.c:4650
 __do_sys_unlinkat fs/namei.c:4691 [inline]
 __se_sys_unlinkat fs/namei.c:4684 [inline]
 __x64_sys_unlinkat+0xd3/0xf0 fs/namei.c:4684
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f0906feeba9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffcf00475e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000107
RAX: ffffffffffffffda RBX: 00007f0907235fa0 RCX: 00007f0906feeba9
RDX: 0000000000000000 RSI: 0000200000000380 RDI: ffffffffffffff9c
RBP: 00007f0907071e19 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f0907235fa0 R14: 00007f0907235fa0 R15: 0000000000000003
 </TASK>

Crashes (28):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/09/16 06:09 upstream 46a51f4f5eda e2beed91 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs WARNING in hfsplus_unlink
2025/09/08 16:47 upstream 76eeb9b8de98 d291dd2d .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-root WARNING in hfsplus_unlink
2025/04/28 07:26 upstream b4432656b36e c6b4fb39 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs WARNING in hfsplus_unlink
2025/04/28 05:04 upstream b4432656b36e c6b4fb39 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs WARNING in hfsplus_unlink
2025/04/28 03:45 upstream b4432656b36e c6b4fb39 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs WARNING in hfsplus_unlink
2025/03/20 23:20 upstream 5fc319360819 62330552 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs WARNING in hfsplus_unlink
2025/03/07 00:47 upstream 848e07631744 831e3629 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs WARNING in hfsplus_unlink
2024/12/20 09:37 upstream 8faabc041a00 0f61b415 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs WARNING in hfsplus_unlink
2024/11/20 12:15 upstream bf9aa14fc523 7d02db5a .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs WARNING in hfsplus_unlink
2024/11/20 11:33 upstream bf9aa14fc523 7d02db5a .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs WARNING in hfsplus_unlink
2025/06/20 21:39 upstream 41687a5c6f8b 804b3919 .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] [mounted in repro] ci-snapshot-upstream-root WARNING in hfsplus_unlink
2025/09/20 14:01 upstream cd89d487374c 67c37560 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in hfsplus_unlink
2025/05/15 19:43 upstream 088d13246a46 cfde8269 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in hfsplus_unlink
2025/04/27 05:29 upstream d22aad29de2a c6b4fb39 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root WARNING in hfsplus_unlink
2025/04/27 05:29 upstream d22aad29de2a c6b4fb39 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root WARNING in hfsplus_unlink
2025/04/27 04:12 upstream 5bc1018675ec c6b4fb39 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in hfsplus_unlink
2025/04/27 04:11 upstream 5bc1018675ec c6b4fb39 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in hfsplus_unlink
2025/04/27 01:37 upstream 5bc1018675ec c6b4fb39 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in hfsplus_unlink
2024/12/21 23:22 upstream 499551201b5f d7f584ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in hfsplus_unlink
2024/12/21 17:38 upstream 499551201b5f d7f584ee .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in hfsplus_unlink
2024/12/09 06:45 upstream 62b5a46999c7 9ac0fdc6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in hfsplus_unlink
2024/12/07 13:29 upstream b5f217084ab3 9ac0fdc6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in hfsplus_unlink
2024/11/20 10:50 upstream bf9aa14fc523 7d02db5a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in hfsplus_unlink
2025/09/28 11:22 upstream 51a24b7deaae 001c9061 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in hfsplus_unlink
2025/08/22 07:37 upstream 3957a5720157 bf27483f .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in hfsplus_unlink
2025/05/05 05:21 upstream 92a09c47464d b0714e37 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in hfsplus_unlink
2025/04/27 02:14 upstream 5bc1018675ec c6b4fb39 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in hfsplus_unlink
2024/12/15 06:51 upstream 2d8308bf5b67 7cbfbb3a .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in hfsplus_unlink
* Struck through repros no longer work on HEAD.