syzbot


INFO: task hung in hfsplus_find_init

Status: upstream: reported C repro on 2025/12/01 22:56
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+8c954c4ddd1a7be135e8@syzkaller.appspotmail.com
First crash: 2d22h, last: 1d06h
Bug presence (1)
Date Name Commit Repro Result
2025/12/02 upstream (ToT) 4a26e7032d7d C [report] INFO: task hung in corrupted
Similar bugs (3)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: task hung in hfsplus_find_init hfs 1 C error done 1 715d 809d 25/29 fixed on 2024/01/31 13:17
upstream INFO: task hung in hfsplus_find_init (3) hfs 1 C error 17 1d19h 125d 0/29 upstream: reported C repro on 2025/08/01 17:38
upstream INFO: task hung in hfsplus_find_init (2) hfs 1 1 434d 434d 0/29 auto-obsoleted due to no activity on 2024/12/25 06:58

Sample crash report:
INFO: task kworker/u4:0:9 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/u4:0    state:D stack:24616 pid:    9 ppid:     2 flags:0x00004000
Workqueue: writeback wb_workfn
 (flush-7:0)

Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5049 [inline]
 __schedule+0x11bb/0x4390 kernel/sched/core.c:6395
 schedule+0x11b/0x1e0 kernel/sched/core.c:6478
 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6537
 __mutex_lock_common+0xc71/0x2390 kernel/locking/mutex.c:669
 __mutex_lock kernel/locking/mutex.c:729 [inline]
 mutex_lock_nested+0x17/0x20 kernel/locking/mutex.c:743
 hfsplus_find_init+0x150/0x1c0 fs/hfsplus/bfind.c:28
 hfsplus_cat_write_inode+0x1e3/0x820 fs/hfsplus/inode.c:588
 write_inode fs/fs-writeback.c:1505 [inline]
 __writeback_single_inode+0x6c3/0xda0 fs/fs-writeback.c:1715
 writeback_sb_inodes+0x9fe/0x1610 fs/fs-writeback.c:1940
 __writeback_inodes_wb+0x12a/0x3f0 fs/fs-writeback.c:2011
 wb_writeback+0x455/0xb90 fs/fs-writeback.c:2116
 wb_check_background_flush fs/fs-writeback.c:2182 [inline]
 wb_do_writeback fs/fs-writeback.c:2270 [inline]
 wb_workfn+0xb47/0xe60 fs/fs-writeback.c:2298
 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>

Showing all locks held in the system:
4 locks held by kworker/u4:0/9:
 #0: 
ffff888141fdb138
 (
(wq_completion)writeback
){+.+.}-{0:0}
, at: process_one_work+0x760/0x1000 kernel/workqueue.c:-1
 #1: 
ffffc90000ce7d00
 (
(work_completion)(&(&wb->dwork)->work)
){+.+.}-{0:0}
, at: process_one_work+0x7a3/0x1000 kernel/workqueue.c:2285
 #2: 
ffff88807bb940e0
 (
&type->s_umount_key
#54
){.+.+}-{3:3}
, at: trylock_super+0x1c/0xf0 fs/super.c:418
 #3: 
ffff88807547e0b0
 (
&tree->tree_lock
){+.+.}-{3:3}
, at: hfsplus_find_init+0x150/0x1c0 fs/hfsplus/bfind.c:28
1 lock held by khungtaskd/27:
 #0: 
ffffffff8c11c760
 (
rcu_read_lock
){....}-{1:2}
, at: rcu_lock_acquire+0x0/0x30
4 locks held by kworker/u4:1/144:
 #0: 
ffff888141fdb138
 (
(wq_completion)writeback
){+.+.}-{0:0}
, at: process_one_work+0x760/0x1000 kernel/workqueue.c:-1
 #1: 
ffffc9000128fd00
 (
(work_completion)(&(&wb->dwork)->work)
){+.+.}-{0:0}
, at: process_one_work+0x7a3/0x1000 kernel/workqueue.c:2285
 #2: 
ffff88807b6400e0
 (
&type->s_umount_key
#54
){.+.+}-{3:3}
, at: trylock_super+0x1c/0xf0 fs/super.c:418
 #3: 
ffff88807b6440b0
 (
&tree->tree_lock
){+.+.}-{3:3}
, at: hfsplus_find_init+0x150/0x1c0 fs/hfsplus/bfind.c:28
4 locks held by kworker/u4:2/154:
 #0: 
ffff888141fdb138
 (
(wq_completion)writeback
){+.+.}-{0:0}
, at: process_one_work+0x760/0x1000 kernel/workqueue.c:-1
 #1: 
ffffc90002037d00

Crashes (12):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/12/03 15:04 linux-5.15.y cc5ec8769306 d6526ea3 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan INFO: task hung in hfsplus_find_init
2025/12/03 11:25 linux-5.15.y cc5ec8769306 d6526ea3 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan INFO: task hung in hfsplus_find_init
2025/12/03 07:53 linux-5.15.y cc5ec8769306 d6526ea3 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan INFO: task hung in hfsplus_find_init
2025/12/03 04:27 linux-5.15.y cc5ec8769306 d6526ea3 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan INFO: task hung in hfsplus_find_init
2025/12/03 00:46 linux-5.15.y cc5ec8769306 d6526ea3 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan INFO: task hung in hfsplus_find_init
2025/12/02 21:08 linux-5.15.y cc5ec8769306 d6526ea3 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan INFO: task hung in hfsplus_find_init
2025/12/02 17:44 linux-5.15.y cc5ec8769306 d6526ea3 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan INFO: task hung in hfsplus_find_init
2025/12/02 14:14 linux-5.15.y cc5ec8769306 d6526ea3 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan INFO: task hung in hfsplus_find_init
2025/12/02 09:16 linux-5.15.y cc5ec8769306 d6526ea3 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan INFO: task hung in hfsplus_find_init
2025/12/02 05:50 linux-5.15.y cc5ec8769306 d6526ea3 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan INFO: task hung in hfsplus_find_init
2025/12/02 02:25 linux-5.15.y cc5ec8769306 d6526ea3 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan INFO: task hung in hfsplus_find_init
2025/12/01 22:55 linux-5.15.y cc5ec8769306 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in hfsplus_find_init
* Struck through repros no longer work on HEAD.