syzbot


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: 411d, last: 14h01m
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 (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 kernel BUG in hfs_write_inode origin:upstream C 128 13h20m 418d 0/3 upstream: reported C repro on 2023/04/04 07:01
linux-4.14 kernel BUG in hfs_write_inode hfs C 3 448d 540d 0/1 upstream: reported C repro on 2022/12/02 20:03
linux-4.19 kernel BUG in hfs_write_inode hfs C 24 446d 547d 0/1 upstream: reported C repro on 2022/11/26 01:52
upstream kernel BUG in hfs_write_inode hfs C error 3298 9m 548d 0/26 upstream: reported C repro on 2022/11/25 09:45

Sample crash report:
------------[ cut here ]------------
kernel BUG at fs/hfs/inode.c:444!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 1196 Comm: kworker/u4:4 Not tainted 5.15.153-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
Workqueue: writeback wb_workfn (flush-7:0)
RIP: 0010:hfs_write_inode+0xeb0/0xec0 fs/hfs/inode.c:444
Code: ff e9 88 fb ff ff 89 f9 80 e1 07 80 c1 03 38 c1 0f 8c 9d fb ff ff e8 ff 1a 86 ff e9 93 fb ff ff e8 e5 1a d8 07 e8 a0 5b 3c ff <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 41 57 41 56 41 54
RSP: 0018:ffffc90004fdf2c0 EFLAGS: 00010293
RAX: ffffffff8243de10 RBX: 0000000000000007 RCX: ffff88801cf00000
RDX: 0000000000000000 RSI: ffffffff8cae49a0 RDI: 0000000000000007
RBP: ffffc90004fdf450 R08: 0000000000000007 R09: ffffffff8243d0ba
R10: 0000000000000003 R11: ffff88801cf00000 R12: 1ffff920009fbe5c
R13: dffffc0000000000 R14: 0000000000000000 R15: ffff8880782394d8
FS:  0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f5f34243590 CR3: 000000001d1e4000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 write_inode fs/fs-writeback.c:1495 [inline]
 __writeback_single_inode+0x644/0xe30 fs/fs-writeback.c:1705
 writeback_sb_inodes+0xbce/0x1a40 fs/fs-writeback.c:1930
 __writeback_inodes_wb+0x114/0x400 fs/fs-writeback.c:2001
 wb_writeback+0x465/0xc50 fs/fs-writeback.c:2106
 wb_check_background_flush fs/fs-writeback.c:2172 [inline]
 wb_do_writeback fs/fs-writeback.c:2260 [inline]
 wb_workfn+0xd07/0x1130 fs/fs-writeback.c:2288
 process_one_work+0x8a1/0x10c0 kernel/workqueue.c:2310
 worker_thread+0xaca/0x1280 kernel/workqueue.c:2457
 kthread+0x3f6/0x4f0 kernel/kthread.c:319
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298
 </TASK>
Modules linked in:
---[ end trace ffe37803dd452434 ]---
RIP: 0010:hfs_write_inode+0xeb0/0xec0 fs/hfs/inode.c:444
Code: ff e9 88 fb ff ff 89 f9 80 e1 07 80 c1 03 38 c1 0f 8c 9d fb ff ff e8 ff 1a 86 ff e9 93 fb ff ff e8 e5 1a d8 07 e8 a0 5b 3c ff <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 41 57 41 56 41 54
RSP: 0018:ffffc90004fdf2c0 EFLAGS: 00010293
RAX: ffffffff8243de10 RBX: 0000000000000007 RCX: ffff88801cf00000
RDX: 0000000000000000 RSI: ffffffff8cae49a0 RDI: 0000000000000007
RBP: ffffc90004fdf450 R08: 0000000000000007 R09: ffffffff8243d0ba
R10: 0000000000000003 R11: ffff88801cf00000 R12: 1ffff920009fbe5c
R13: dffffc0000000000 R14: 0000000000000000 R15: ffff8880782394d8
FS:  0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffeb7e40038 CR3: 000000002355a000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (212):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
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
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
2024/05/25 21:39 linux-5.15.y c61bd26ae81a a10a183e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2024/05/25 19:04 linux-5.15.y c61bd26ae81a a10a183e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2024/05/25 15:51 linux-5.15.y c61bd26ae81a a10a183e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2024/05/25 15:49 linux-5.15.y c61bd26ae81a a10a183e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2024/05/25 04:36 linux-5.15.y 83655231580b a10a183e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2024/05/25 03:08 linux-5.15.y 83655231580b a10a183e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2024/05/22 17:06 linux-5.15.y 83655231580b 4d098039 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2024/05/22 01:58 linux-5.15.y 83655231580b 1014eca7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2024/05/21 23:51 linux-5.15.y 83655231580b 1014eca7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2024/05/21 14:31 linux-5.15.y 83655231580b 4c0d3ee3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2024/05/21 10:51 linux-5.15.y 83655231580b 4c0d3ee3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2024/05/21 00:05 linux-5.15.y 83655231580b c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2024/05/19 13:37 linux-5.15.y 83655231580b c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2024/05/19 10:55 linux-5.15.y 83655231580b c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2024/05/18 02:20 linux-5.15.y 83655231580b c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2024/05/18 02:20 linux-5.15.y 83655231580b c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2024/05/17 17:07 linux-5.15.y 83655231580b a12e99e7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2024/05/17 13:51 linux-5.15.y 83655231580b a12e99e7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2024/05/17 00:38 linux-5.15.y 284087d4f7d5 c2e07261 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2024/05/13 13:50 linux-5.15.y 284087d4f7d5 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2024/05/12 20:29 linux-5.15.y 284087d4f7d5 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2024/05/09 10:38 linux-5.15.y 284087d4f7d5 05079661 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2024/05/03 12:04 linux-5.15.y 284087d4f7d5 dd26401e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2024/05/03 08:51 linux-5.15.y 284087d4f7d5 dd26401e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2024/05/03 01:07 linux-5.15.y 284087d4f7d5 ddfc15a1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2024/05/02 22:26 linux-5.15.y 284087d4f7d5 ddfc15a1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2024/05/02 18:03 linux-5.15.y 284087d4f7d5 3ba885bc .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2024/05/02 13:13 linux-5.15.y b925f60c6ee7 3ba885bc .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2024/05/01 19:25 linux-5.15.y b925f60c6ee7 3ba885bc .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2024/05/01 19:22 linux-5.15.y b925f60c6ee7 3ba885bc .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2024/05/01 03:59 linux-5.15.y b925f60c6ee7 3ba885bc .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2024/05/01 02:42 linux-5.15.y b925f60c6ee7 3ba885bc .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2024/04/30 19:39 linux-5.15.y b925f60c6ee7 3ce4924c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2024/04/30 16:36 linux-5.15.y b925f60c6ee7 3ce4924c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2024/04/30 12:01 linux-5.15.y b925f60c6ee7 3ce4924c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2024/04/30 05:44 linux-5.15.y b925f60c6ee7 f10afd69 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2024/04/29 23:24 linux-5.15.y b925f60c6ee7 f10afd69 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2024/04/29 11:02 linux-5.15.y b925f60c6ee7 27e33c58 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2024/04/29 09:37 linux-5.15.y b925f60c6ee7 27e33c58 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_write_inode
2024/05/25 01:59 linux-5.15.y 83655231580b a10a183e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in hfs_write_inode
2024/05/25 01:33 linux-5.15.y 83655231580b a10a183e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in hfs_write_inode
2024/05/15 08:17 linux-5.15.y 284087d4f7d5 fdb4c10c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in hfs_write_inode
2024/05/13 09:25 linux-5.15.y 284087d4f7d5 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in hfs_write_inode
2024/05/13 09:25 linux-5.15.y 284087d4f7d5 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in hfs_write_inode
2024/05/13 01:36 linux-5.15.y 284087d4f7d5 9026e142 .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.