kernel BUG in hfs_write_inode

Status: upstream: reported C repro on 2023/04/10 13:50
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+2b311dee7c3dadfc1a7e@syzkaller.appspotmail.com
First crash: 1327d, last: 5h55m
Fix bisection: failed (error log, bisect log)
▶ ▼ Bug presence (1)
Date Name Commit Repro Result
2024/04/20 upstream (ToT) 13a2e429f644 C [report] kernel BUG in hfs_write_inode
▶ ▼ 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 missing-backport -1 syz, C inconclusive 32572 4h11m 1333d 0/3 upstream: reported C repro on 2023/04/04 07:01
linux-4.14 kernel BUG in hfs_write_inode hfs -1 syz, C 3 1363d 1455d 0/1 upstream: reported C repro on 2022/12/02 20:03
linux-4.19 kernel BUG in hfs_write_inode hfs -1 syz, C 24 1361d 1462d 0/1 upstream: reported C repro on 2022/11/26 01:52
linux-6.6 kernel BUG in hfs_write_inode origin:upstream missing-backport -1 syz, C done 13573 3d15h 528d 0/2 upstream: reported C repro on 2025/06/16 18:04
upstream kernel BUG in hfs_write_inode prio:high hfs -1 syz, C error 243697 4d16h 1463d 28/30 upstream: reported C repro on 2022/11/25 09:45

Sample crash report:
------------[ cut here ]------------
kernel BUG at fs/hfs/inode.c:443!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 1466 Comm: kworker/u4:5 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/07/2026
Workqueue: writeback wb_workfn (flush-7:0)
RIP: 0010:hfs_write_inode+0xa19/0xa20 fs/hfs/inode.c:443
Code: 8d ff e9 05 fe ff ff 44 89 f1 80 e1 07 80 c1 03 38 c1 0f 8c 50 fe ff ff 4c 89 f7 e8 01 ba 8d ff e9 43 fe ff ff e8 d7 71 48 ff <0f> 0b 0f 1f 44 00 00 55 41 57 41 56 41 54 53 48 89 fb 49 bf 00 00
RSP: 0018:ffffc90005cb73a0 EFLAGS: 00010293
RAX: ffffffff8230bbb9 RBX: ffff88807c1a8dc8 RCX: ffff888024c18000
RDX: 0000000000000000 RSI: ffffffff8d2e2d80 RDI: 0000000000000000
RBP: ffffc90005cb7530 R08: ffff888024c18000 R09: 0000000000000003
R10: 0000000000000004 R11: 0000000000000000 R12: dffffc0000000000
R13: 1ffff92000b96e78 R14: 0000000000000000 R15: ffff88807c1a8d88
FS:  0000000000000000(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055d97a949090 CR3: 00000000189b6000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 write_inode fs/fs-writeback.c:1505 [inline]
 __writeback_single_inode+0x6c4/0xda0 fs/fs-writeback.c:1715
 writeback_sb_inodes+0xaaa/0x1750 fs/fs-writeback.c:1940
 wb_writeback+0x44a/0xbc0 fs/fs-writeback.c:2114
 wb_do_writeback fs/fs-writeback.c:2257 [inline]
 wb_workfn+0x43a/0xf20 fs/fs-writeback.c:2298
 process_one_work+0x867/0xff0 kernel/workqueue.c:2310
 worker_thread+0xad7/0x12a0 kernel/workqueue.c:2457
 kthread+0x42e/0x520 kernel/kthread.c:334
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287
 </TASK>
Modules linked in:
---[ end trace 2c61b0c09626af3e ]---
RIP: 0010:hfs_write_inode+0xa19/0xa20 fs/hfs/inode.c:443
Code: 8d ff e9 05 fe ff ff 44 89 f1 80 e1 07 80 c1 03 38 c1 0f 8c 50 fe ff ff 4c 89 f7 e8 01 ba 8d ff e9 43 fe ff ff e8 d7 71 48 ff <0f> 0b 0f 1f 44 00 00 55 41 57 41 56 41 54 53 48 89 fb 49 bf 00 00
RSP: 0018:ffffc90005cb73a0 EFLAGS: 00010293
RAX: ffffffff8230bbb9 RBX: ffff88807c1a8dc8 RCX: ffff888024c18000
RDX: 0000000000000000 RSI: ffffffff8d2e2d80 RDI: 0000000000000000
RBP: ffffc90005cb7530 R08: ffff888024c18000 R09: 0000000000000003

Crashes (22620):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/11/04 00:14 linux-5.15.y 700e62ea909a e2d35131 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2026/07/26 08:04 linux-5.15.y 674f684f7c61 492bab15 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2026/04/16 08:08 linux-5.15.y 91d48252ad4b df15c5f3 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2026/01/04 20:10 linux-5.15.y 68efe5a6c16a d6526ea3 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2026/01/04 17:55 linux-5.15.y 68efe5a6c16a d6526ea3 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2026/01/04 15:44 linux-5.15.y 68efe5a6c16a d6526ea3 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2026/01/04 13:29 linux-5.15.y 68efe5a6c16a d6526ea3 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2026/01/04 11:08 linux-5.15.y 68efe5a6c16a d6526ea3 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2026/01/04 08:37 linux-5.15.y 68efe5a6c16a d6526ea3 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2026/01/04 06:19 linux-5.15.y 68efe5a6c16a d6526ea3 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2026/01/04 04:02 linux-5.15.y 68efe5a6c16a d6526ea3 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2026/01/04 01:45 linux-5.15.y 68efe5a6c16a d6526ea3 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2025/12/15 04:59 linux-5.15.y 68efe5a6c16a d6526ea3 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2025/12/03 23:40 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 kernel BUG in hfs_write_inode
2025/08/25 21:48 linux-5.15.y c79648372d02 bf27483f .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2025/05/17 19:02 linux-5.15.y 3b8db0e4f263 f41472b0 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2024/12/24 06:40 linux-5.15.y 91786f140358 444551c4 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2024/10/14 05:50 linux-5.15.y 3a5928702e71 084d8178 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2024/04/05 11:35 linux-5.15.y 9465fef4ae35 0ee3535e .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2025/02/26 07:06 linux-5.15.y c16c81c81336 d34966d1 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 kernel BUG in hfs_write_inode
2025/02/08 08:09 linux-5.15.y c16c81c81336 ef44b750 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 kernel BUG in hfs_write_inode
2024/08/23 10:45 linux-5.15.y fa93fa65db6e ce8a9099 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 kernel BUG in hfs_write_inode
2024/08/23 09:34 linux-5.15.y fa93fa65db6e ce8a9099 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 kernel BUG in hfs_write_inode
2024/05/14 20:33 linux-5.15.y 284087d4f7d5 fdb4c10c .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 kernel BUG in hfs_write_inode
2024/04/14 03:18 linux-5.15.y fa3df276cd36 c8349e48 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 kernel BUG in hfs_write_inode
2023/09/29 04:38 linux-5.15.y b911329317b4 d265efd8 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 kernel BUG in hfs_write_inode
2023/05/22 07:39 linux-5.15.y 9d6bde853685 4bce1a3e .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 kernel BUG in hfs_write_inode
2023/06/18 10:10 linux-5.15.y 471e639e59d1 f3921d4d .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2026/11/27 11:13 linux-5.15.y 4f2df9a01754 bff1a522 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2026/11/26 23:14 linux-5.15.y 4f2df9a01754 f1f6b8bf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2026/11/26 10:32 linux-5.15.y 4f2df9a01754 1c78e8c0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2026/11/26 02:29 linux-5.15.y 4f2df9a01754 9a575fe5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2026/11/25 14:18 linux-5.15.y 4f2df9a01754 01ff072a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2026/11/25 01:54 linux-5.15.y 4f2df9a01754 bda6e3c6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2026/11/25 01:52 linux-5.15.y 4f2df9a01754 bda6e3c6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2026/11/24 13:39 linux-5.15.y 4f2df9a01754 50451a16 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2026/11/24 07:28 linux-5.15.y 4f2df9a01754 fab64d89 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2026/11/24 06:12 linux-5.15.y 4f2df9a01754 fab64d89 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2026/11/24 01:55 linux-5.15.y 4f2df9a01754 fab64d89 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2026/11/23 13:01 linux-5.15.y 4f2df9a01754 e9bfbe3a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2026/11/23 09:08 linux-5.15.y 4f2df9a01754 b2c69459 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2026/11/23 08:50 linux-5.15.y 4f2df9a01754 b2c69459 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2026/11/20 20:59 linux-5.15.y 29c6cdaac04a b2c69459 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2026/11/20 09:27 linux-5.15.y 29c6cdaac04a 625aa117 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2026/11/20 09:05 linux-5.15.y 29c6cdaac04a 625aa117 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2026/11/19 20:28 linux-5.15.y 29c6cdaac04a 229865fb .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2026/11/19 20:26 linux-5.15.y 29c6cdaac04a 229865fb .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2026/11/19 11:50 linux-5.15.y 29c6cdaac04a f138241c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2026/11/19 08:17 linux-5.15.y 29c6cdaac04a f138241c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2026/11/18 18:29 linux-5.15.y 29c6cdaac04a 2006bdcc .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2026/11/18 06:04 linux-5.15.y 29c6cdaac04a eb4895d7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2026/11/18 06:01 linux-5.15.y 29c6cdaac04a eb4895d7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2026/11/17 17:35 linux-5.15.y 29c6cdaac04a 122f94d5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2026/11/17 10:10 linux-5.15.y 29c6cdaac04a 43af6cac .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2026/11/17 09:50 linux-5.15.y 29c6cdaac04a 43af6cac .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2026/11/16 21:16 linux-5.15.y 29c6cdaac04a a3e64cfc .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2026/11/16 08:55 linux-5.15.y 29c6cdaac04a 31830773 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2026/11/16 08:40 linux-5.15.y 29c6cdaac04a 31830773 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2026/11/15 21:17 linux-5.15.y 29c6cdaac04a 819ebe34 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2026/11/15 16:01 linux-5.15.y 29c6cdaac04a 819ebe34 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2026/11/14 00:40 linux-5.15.y 29c6cdaac04a 819ebe34 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2026/11/14 00:38 linux-5.15.y 29c6cdaac04a 819ebe34 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2026/11/13 17:03 linux-5.15.y 29c6cdaac04a be5d1971 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2026/11/13 12:03 linux-5.15.y 29c6cdaac04a be5d1971 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2026/11/13 06:47 linux-5.15.y 29c6cdaac04a 26b2fee0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2026/11/12 16:59 linux-5.15.y 29c6cdaac04a c0087d7f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2026/11/12 16:44 linux-5.15.y 29c6cdaac04a c0087d7f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2026/11/12 00:30 linux-5.15.y 29c6cdaac04a 8d68b303 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2026/11/12 00:30 linux-5.15.y 29c6cdaac04a 8d68b303 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2026/11/11 12:11 linux-5.15.y 29c6cdaac04a e56a968c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2025/08/28 14:15 linux-5.15.y c79648372d02 e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in hfs_write_inode
2023/04/10 13:50 linux-5.15.y d86dfc4d95cd 71147e29 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
* Struck through repros no longer work on HEAD.