syzbot


kernel BUG in hfs_write_inode

Status: upstream: reported C repro on 2025/06/16 18:04
Bug presence: origin:upstream
Labels: missing-backport
[Documentation on labels]
Reported-by: syzbot+905e5e4c2be48752878c@syzkaller.appspotmail.com
First crash: 76d, last: 1d00h
Bug presence (3)
Date Name Commit Repro Result
2025/08/03 linux-6.6.y (ToT) 3a8ababb8b6a C [report] kernel BUG in hfs_write_inode
2025/06/19 upstream (ToT) fb4d33ab452e C [report] kernel BUG in hfs_write_inode
2025/08/03 upstream (ToT) 186f3edfdd41 C Didn't crash
Similar bugs (5)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 kernel BUG in hfs_write_inode origin:upstream -1 C 10398 2h10m 880d 0/3 upstream: reported C repro on 2023/04/04 07:01
linux-4.14 kernel BUG in hfs_write_inode hfs -1 C 3 910d 1003d 0/1 upstream: reported C repro on 2022/12/02 20:03
linux-4.19 kernel BUG in hfs_write_inode hfs -1 C 24 908d 1009d 0/1 upstream: reported C repro on 2022/11/26 01:52
linux-5.15 kernel BUG in hfs_write_inode origin:upstream -1 C error 10718 45m 874d 0/3 upstream: reported C repro on 2023/04/10 13:50
upstream kernel BUG in hfs_write_inode hfs -1 C error 107316 6m 1010d 0/29 upstream: reported C repro on 2022/11/25 09:45

Sample crash report:
------------[ cut here ]------------
kernel BUG at fs/hfs/inode.c:449!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 2940 Comm: kworker/u4:8 Not tainted 6.6.93-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
Workqueue: writeback wb_workfn (flush-7:0)
RIP: 0010:hfs_write_inode+0x7c4/0x7d0 fs/hfs/inode.c:449
Code: c7 c1 00 e3 ec 96 80 e1 07 80 c1 03 38 c1 0f 8c 7d fe ff ff 48 c7 c7 00 e3 ec 96 e8 06 09 86 ff e9 6c fe ff ff e8 2c 64 2d ff <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 f3 0f 1e fa 55 41 57 41 56 41
RSP: 0018:ffffc9000bbe7360 EFLAGS: 00010293
RAX: ffffffff825832b4 RBX: ffff88802f8e9ba8 RCX: ffff88802c5a9e00
RDX: 0000000000000000 RSI: ffffffff8cf39e60 RDI: 0000000000000005
RBP: ffffc9000bbe74f0 R08: ffff88802c5a9e00 R09: 0000000000000003
R10: 0000000000000004 R11: 0000000000000000 R12: dffffc0000000000
R13: 1ffff9200177ce70 R14: ffff88802f8e9b58 R15: 0000000000000005
FS:  0000000000000000(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f7544e31130 CR3: 000000000cb30000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 write_inode fs/fs-writeback.c:1473 [inline]
 __writeback_single_inode+0x705/0xee0 fs/fs-writeback.c:1690
 writeback_sb_inodes+0x77c/0xef0 fs/fs-writeback.c:1916
 wb_writeback+0x450/0xba0 fs/fs-writeback.c:2095
 wb_do_writeback fs/fs-writeback.c:2242 [inline]
 wb_workfn+0x3ff/0xe20 fs/fs-writeback.c:2282
 process_one_work kernel/workqueue.c:2634 [inline]
 process_scheduled_works+0xa45/0x15b0 kernel/workqueue.c:2711
 worker_thread+0xa55/0xfc0 kernel/workqueue.c:2792
 kthread+0x2fa/0x390 kernel/kthread.c:388
 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:152
 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:293
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:hfs_write_inode+0x7c4/0x7d0 fs/hfs/inode.c:449
Code: c7 c1 00 e3 ec 96 80 e1 07 80 c1 03 38 c1 0f 8c 7d fe ff ff 48 c7 c7 00 e3 ec 96 e8 06 09 86 ff e9 6c fe ff ff e8 2c 64 2d ff <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 f3 0f 1e fa 55 41 57 41 56 41
RSP: 0018:ffffc9000bbe7360 EFLAGS: 00010293
RAX: ffffffff825832b4 RBX: ffff88802f8e9ba8 RCX: ffff88802c5a9e00
RDX: 0000000000000000 RSI: ffffffff8cf39e60 RDI: 0000000000000005
RBP: ffffc9000bbe74f0 R08: ffff88802c5a9e00 R09: 0000000000000003
R10: 0000000000000004 R11: 0000000000000000 R12: dffffc0000000000
R13: 1ffff9200177ce70 R14: ffff88802f8e9b58 R15: 0000000000000005
FS:  0000000000000000(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000557997f40980 CR3: 000000000cb30000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (1144):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/06/17 18:56 linux-6.6.y c2603c511feb cfebc887 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-6-kasan kernel BUG in hfs_write_inode
2025/08/30 19:50 linux-6.6.y cc1a1c5b404a 807a3b61 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in hfs_write_inode
2025/08/30 01:43 linux-6.6.y cc1a1c5b404a 807a3b61 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in hfs_write_inode
2025/08/30 01:43 linux-6.6.y cc1a1c5b404a 807a3b61 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in hfs_write_inode
2025/08/29 23:37 linux-6.6.y cc1a1c5b404a 807a3b61 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in hfs_write_inode
2025/08/29 17:01 linux-6.6.y cc1a1c5b404a 3e1beec6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in hfs_write_inode
2025/08/29 11:45 linux-6.6.y cc1a1c5b404a 3e1beec6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in hfs_write_inode
2025/08/29 10:43 linux-6.6.y cc1a1c5b404a 3e1beec6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in hfs_write_inode
2025/08/28 23:44 linux-6.6.y cc1a1c5b404a d401b9d7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in hfs_write_inode
2025/08/28 23:44 linux-6.6.y cc1a1c5b404a d401b9d7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in hfs_write_inode
2025/08/28 21:42 linux-6.6.y cc1a1c5b404a d401b9d7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in hfs_write_inode
2025/08/28 18:44 linux-6.6.y cc1a1c5b404a e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in hfs_write_inode
2025/08/28 18:36 linux-6.6.y cc1a1c5b404a e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in hfs_write_inode
2025/08/28 17:35 linux-6.6.y cc1a1c5b404a e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in hfs_write_inode
2025/08/28 14:32 linux-6.6.y bb9c90ab9c5a e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in hfs_write_inode
2025/08/28 14:13 linux-6.6.y bb9c90ab9c5a e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in hfs_write_inode
2025/08/26 20:00 linux-6.6.y bb9c90ab9c5a e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in hfs_write_inode
2025/08/26 17:54 linux-6.6.y bb9c90ab9c5a e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in hfs_write_inode
2025/08/26 16:51 linux-6.6.y bb9c90ab9c5a e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in hfs_write_inode
2025/08/26 13:26 linux-6.6.y bb9c90ab9c5a bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in hfs_write_inode
2025/08/26 03:51 linux-6.6.y bb9c90ab9c5a bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in hfs_write_inode
2025/08/26 03:29 linux-6.6.y bb9c90ab9c5a bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in hfs_write_inode
2025/08/25 19:37 linux-6.6.y bb9c90ab9c5a bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in hfs_write_inode
2025/08/24 19:00 linux-6.6.y bb9c90ab9c5a bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in hfs_write_inode
2025/08/24 18:31 linux-6.6.y bb9c90ab9c5a bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in hfs_write_inode
2025/08/24 18:16 linux-6.6.y bb9c90ab9c5a bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in hfs_write_inode
2025/08/23 19:34 linux-6.6.y bb9c90ab9c5a bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in hfs_write_inode
2025/08/22 05:05 linux-6.6.y bb9c90ab9c5a bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in hfs_write_inode
2025/08/21 21:33 linux-6.6.y bb9c90ab9c5a 3e79b825 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in hfs_write_inode
2025/08/21 15:14 linux-6.6.y bb9c90ab9c5a 3e79b825 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in hfs_write_inode
2025/08/21 15:14 linux-6.6.y bb9c90ab9c5a 3e79b825 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in hfs_write_inode
2025/08/21 01:56 linux-6.6.y bb9c90ab9c5a 0b9605c8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in hfs_write_inode
2025/08/20 20:35 linux-6.6.y bb9c90ab9c5a 0b9605c8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in hfs_write_inode
2025/08/20 15:52 linux-6.6.y bb9c90ab9c5a 0b9605c8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in hfs_write_inode
2025/08/20 13:47 linux-6.6.y bb9c90ab9c5a 79512909 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in hfs_write_inode
2025/08/20 07:18 linux-6.6.y bb9c90ab9c5a 79512909 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in hfs_write_inode
2025/08/20 03:18 linux-6.6.y bb9c90ab9c5a 79512909 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in hfs_write_inode
2025/08/19 23:35 linux-6.6.y bb9c90ab9c5a 254a27c1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in hfs_write_inode
2025/08/19 23:24 linux-6.6.y bb9c90ab9c5a 254a27c1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in hfs_write_inode
2025/08/19 14:57 linux-6.6.y bb9c90ab9c5a 254a27c1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in hfs_write_inode
2025/08/19 01:53 linux-6.6.y bb9c90ab9c5a 523f460e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in hfs_write_inode
2025/08/18 14:23 linux-6.6.y bb9c90ab9c5a 1804e95e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in hfs_write_inode
2025/08/16 10:08 linux-6.6.y bb9c90ab9c5a 1804e95e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in hfs_write_inode
2025/08/15 17:32 linux-6.6.y bb9c90ab9c5a 1804e95e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in hfs_write_inode
2025/06/16 18:04 linux-6.6.y c2603c511feb d1716036 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in hfs_write_inode
* Struck through repros no longer work on HEAD.