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: 177d, last: 1d10h
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 (9)
Created Duration User Patch Repo Result
2025/04/18 09:59 14m retest repro upstream report log
2025/04/04 02:46 13m retest repro upstream report log
2025/04/04 02:46 15m retest repro upstream report log
2025/02/21 12:32 13m retest repro upstream report log
2025/02/21 12:32 13m retest repro upstream report log
2025/01/05 11:33 13m retest repro upstream report log
2024/12/04 14:19 12m retest repro upstream report log
2024/12/04 14:19 12m 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:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 5816 at fs/inode.c:417 drop_nlink+0xc5/0x110 fs/inode.c:417
Modules linked in:
CPU: 0 UID: 0 PID: 5816 Comm: syz-executor250 Not tainted 6.15.0-rc4-syzkaller #0 PREEMPT(full) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025
RIP: 0010:drop_nlink+0xc5/0x110 fs/inode.c:417
Code: 70 07 00 00 be 08 00 00 00 e8 b7 84 e8 ff f0 48 ff 83 70 07 00 00 5b 41 5c 41 5e 41 5f 5d c3 cc cc cc cc cc e8 9c b2 88 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:ffffc900041bfbd0 EFLAGS: 00010293
RAX: ffffffff82370b44 RBX: ffff8880348aaa30 RCX: ffff88802fbf1e00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffffc900041bf727 R09: 1ffff92000837ee4
R10: dffffc0000000000 R11: fffff52000837ee5 R12: 1ffff1100691554f
R13: ffff88802506bac8 R14: ffff8880348aaa78 R15: dffffc0000000000
FS:  0000555573baa380(0000) GS:ffff888126102000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000562a10481b08 CR3: 000000007caa0000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 hfsplus_unlink+0x3e8/0x730 fs/hfsplus/dir.c:381
 vfs_unlink+0x391/0x650 fs/namei.c:4579
 do_unlinkat+0x350/0x560 fs/namei.c:4643
 __do_sys_unlinkat fs/namei.c:4684 [inline]
 __se_sys_unlinkat fs/namei.c:4677 [inline]
 __x64_sys_unlinkat+0xd3/0xf0 fs/namei.c:4677
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f9027ef26f9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 61 17 00 00 90 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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffedc64cdc8 EFLAGS: 00000246 ORIG_RAX: 0000000000000107
RAX: ffffffffffffffda RBX: 0031656c69662f2e RCX: 00007f9027ef26f9
RDX: 0000000000000000 RSI: 0000200000000380 RDI: 00000000ffffff9c
RBP: 0000200000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001
R13: 00007ffedc64cfa8 R14: 0000000000000001 R15: 0000000000000001
 </TASK>

Crashes (22):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
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/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/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.