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: 1313d, last: 1h10m
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 32193 3h46m 1319d 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 1349d 1441d 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 1347d 1448d 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 13498 4d04h 515d 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 243696 21d 1449d 27/29 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 (22396):
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/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
2026/11/10 14:59 linux-5.15.y 29c6cdaac04a d3056657 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2026/11/10 05:34 linux-5.15.y 29c6cdaac04a 70ec0380 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2026/11/10 02:59 linux-5.15.y 29c6cdaac04a 70ec0380 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2026/11/09 12:34 linux-5.15.y 29c6cdaac04a 5cecaf1f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2026/11/09 08:37 linux-5.15.y 29c6cdaac04a 5cecaf1f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2026/11/08 18:11 linux-5.15.y 29c6cdaac04a 5cecaf1f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2026/11/08 12:43 linux-5.15.y 29c6cdaac04a 5cecaf1f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2026/11/08 10:07 linux-5.15.y 29c6cdaac04a 5cecaf1f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2026/11/08 08:45 linux-5.15.y 29c6cdaac04a 5cecaf1f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2026/11/08 07:28 linux-5.15.y 29c6cdaac04a 5cecaf1f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2026/11/08 07:13 linux-5.15.y 29c6cdaac04a 5cecaf1f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2026/11/08 07:01 linux-5.15.y 29c6cdaac04a 5cecaf1f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2026/11/06 20:17 linux-5.15.y 29c6cdaac04a 5cecaf1f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2026/11/05 21:03 linux-5.15.y 700e62ea909a 5cecaf1f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2026/11/05 20:44 linux-5.15.y 700e62ea909a 5cecaf1f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2026/11/05 11:21 linux-5.15.y 700e62ea909a 2ee8459f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2026/11/05 07:27 linux-5.15.y 700e62ea909a 2ee8459f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2026/11/04 15:55 linux-5.15.y 700e62ea909a 73438ed0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2026/11/04 15:54 linux-5.15.y 700e62ea909a 73438ed0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2026/11/04 07:55 linux-5.15.y 700e62ea909a 5af5b6c6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2026/11/04 03:42 linux-5.15.y 700e62ea909a 5af5b6c6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2026/11/03 12:36 linux-5.15.y 700e62ea909a e2d35131 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2026/11/03 12:36 linux-5.15.y 700e62ea909a e2d35131 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2026/11/02 10:50 linux-5.15.y 700e62ea909a 6969b601 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2026/11/01 02:48 linux-5.15.y 700e62ea909a 25a0ae84 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2026/10/31 09:37 linux-5.15.y 700e62ea909a 2041d3f8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2026/10/31 09:24 linux-5.15.y 700e62ea909a 2041d3f8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2026/10/30 21:15 linux-5.15.y 700e62ea909a 0ec395f8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2026/10/30 17:41 linux-5.15.y 700e62ea909a 0ec395f8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2026/10/30 15:31 linux-5.15.y 700e62ea909a b498adee .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2026/10/30 15:17 linux-5.15.y 700e62ea909a b498adee .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2026/10/29 18:16 linux-5.15.y 792fbe1537d8 b498adee .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2026/10/29 04:08 linux-5.15.y 792fbe1537d8 b1d00f76 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2026/10/28 11:06 linux-5.15.y 792fbe1537d8 858db2ec .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2026/10/27 17:19 linux-5.15.y 792fbe1537d8 96923c60 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2026/10/27 17:01 linux-5.15.y 792fbe1537d8 96923c60 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2026/10/26 12:55 linux-5.15.y 792fbe1537d8 168cb7a2 .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.