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: 127d, last: 7d07h
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 (6)
Created Duration User Patch Repo Result
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: 5830 at fs/inode.c:407 drop_nlink+0xc4/0x110 fs/inode.c:407
Modules linked in:
CPU: 0 UID: 0 PID: 5830 Comm: syz-executor265 Not tainted 6.14.0-rc7-syzkaller-00137-g5fc319360819 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
RIP: 0010:drop_nlink+0xc4/0x110 fs/inode.c:407
Code: bb 70 07 00 00 be 08 00 00 00 e8 d7 b8 e6 ff f0 48 ff 83 70 07 00 00 5b 41 5c 41 5e 41 5f 5d c3 cc cc cc cc e8 9d fd 81 ff 90 <0f> 0b 90 eb 83 44 89 e1 80 e1 07 80 c1 03 38 c1 0f 8c 5c ff ff ff
RSP: 0018:ffffc9000402f8f0 EFLAGS: 00010293
RAX: ffffffff823fe283 RBX: 1ffff1100df8a477 RCX: ffff88806ed49e00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffffffff823fe203 R09: 1ffff92000805e80
R10: dffffc0000000000 R11: fffff52000805e81 R12: ffff88806fc523b8
R13: ffff88807dee31f8 R14: ffff88806fc52370 R15: dffffc0000000000
FS:  000055555ebf3380(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f1efb995ed8 CR3: 000000007a528000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 hfsplus_unlink+0x3fe/0x790 fs/hfsplus/dir.c:381
 hfsplus_rename+0xc8/0x1c0 fs/hfsplus/dir.c:547
 vfs_rename+0xbdb/0xf00 fs/namei.c:5069
 do_renameat2+0xd94/0x13f0 fs/namei.c:5226
 __do_sys_rename fs/namei.c:5273 [inline]
 __se_sys_rename fs/namei.c:5271 [inline]
 __x64_sys_rename+0x82/0x90 fs/namei.c:5271
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f09a7819b59
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 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:00007fff6092b7a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000052
RAX: ffffffffffffffda RBX: 00002000000003c0 RCX: 00007f09a7819b59
RDX: ffffffffffffffb8 RSI: 00002000000003c0 RDI: 0000200000000440
RBP: 0031656c69662f2e R08: 000055555ebf44c0 R09: 000055555ebf44c0
R10: 000055555ebf44c0 R11: 0000000000000246 R12: 0000200000000440
R13: 00007fff6092b9f8 R14: 0000200000000444 R15: 00007f09a786203b
 </TASK>

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