syzbot


WARNING in hfsplus_ext_write_extent

Status: upstream: reported on 2025/06/30 17:18
Reported-by: syzbot+572568f0434ef417c5fb@syzkaller.appspotmail.com
First crash: 17d, last: 7d20h
Similar bugs (3)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in hfsplus_ext_write_extent (2) hfs -1 1 576d 574d 0/29 auto-obsoleted due to no activity on 2024/03/29 06:17
upstream WARNING in hfsplus_ext_write_extent hfs -1 26 703d 963d 0/29 auto-obsoleted due to no activity on 2023/11/22 16:42
linux-6.1 WARNING in hfsplus_ext_write_extent -1 1 810d 810d 0/3 auto-obsoleted due to no activity on 2023/08/23 09:09

Sample crash report:
------------[ cut here ]------------
DEBUG_LOCKS_WARN_ON(lock->magic != lock)
WARNING: CPU: 0 PID: 4274 at kernel/locking/mutex.c:575 __mutex_lock_common+0x18fa/0x2390 kernel/locking/mutex.c:-1
Modules linked in:
CPU: 1 PID: 4274 Comm: kworker/u4:5 Not tainted 5.15.187-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
Workqueue: writeback wb_workfn (flush-7:3)
RIP: 0010:__mutex_lock_common+0x18fa/0x2390 kernel/locking/mutex.c:575
Code: 00 48 8d bc 24 e0 00 00 00 0f 85 47 e8 ff ff 48 c7 c7 c0 04 0b 8a 48 c7 c6 00 05 0b 8a e8 0e ad ec ff 48 8d bc 24 e0 00 00 00 <0f> 0b e9 25 e8 ff ff e8 8a 4f 4e f7 e9 df fb ff ff 0f 0b e9 2d f0
RSP: 0018:ffffc90003e1f240 EFLAGS: 00010246
RAX: e0bef52786e50800 RBX: ffffffff822a0ef7 RCX: ffff888022658000
RDX: 0000000000000000 RSI: 0000000080000000 RDI: ffffc90003e1f320
RBP: ffffc90003e1f3e0 R08: dffffc0000000000 R09: ffffed1017204f24
R10: ffffed1017204f24 R11: 1ffff11017204f23 R12: 0000000000000000
R13: 0000000000000000 R14: ffff8880677521a0 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2c41dff8 CR3: 0000000062c3e000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 __mutex_lock kernel/locking/mutex.c:729 [inline]
 mutex_lock_nested+0x17/0x20 kernel/locking/mutex.c:743
 hfsplus_ext_write_extent+0x87/0x200 fs/hfsplus/extents.c:149
 hfsplus_write_inode+0x1e/0x5b0 fs/hfsplus/super.c:154
 write_inode fs/fs-writeback.c:1495 [inline]
 __writeback_single_inode+0x6c3/0xda0 fs/fs-writeback.c:1705
 writeback_sb_inodes+0x9fe/0x1610 fs/fs-writeback.c:1930
 wb_writeback+0x443/0xb90 fs/fs-writeback.c:2104
 wb_do_writeback fs/fs-writeback.c:2247 [inline]
 wb_workfn+0x423/0xe60 fs/fs-writeback.c:2288
 process_one_work+0x863/0x1000 kernel/workqueue.c:2310
 worker_thread+0xaa8/0x12a0 kernel/workqueue.c:2457
 kthread+0x436/0x520 kernel/kthread.c:334
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287
 </TASK>

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/07/10 16:49 linux-5.15.y 2f693b607545 3cda49cf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in hfsplus_ext_write_extent
2025/06/30 17:18 linux-5.15.y 3dea0e7f549e 6e83b42d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in hfsplus_ext_write_extent
* Struck through repros no longer work on HEAD.