syzbot


kernel BUG in hfs_write_inode

Status: upstream: reported C repro on 2022/12/02 20:03
Subsystems: hfs
[Documentation on labels]
Reported-by: syzbot+5d3fe841cac4d3ad9b25@syzkaller.appspotmail.com
First crash: 701d, last: 609d
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 3596 1h04m 579d 0/3 upstream: reported C repro on 2023/04/04 07:01
linux-4.19 kernel BUG in hfs_write_inode hfs C 24 607d 708d 0/1 upstream: reported C repro on 2022/11/26 01:52
linux-5.15 kernel BUG in hfs_write_inode origin:upstream C error 3385 31m 572d 0/3 upstream: reported C repro on 2023/04/10 13:50
upstream kernel BUG in hfs_write_inode hfs C error 24580 35m 708d 0/28 upstream: reported C repro on 2022/11/25 09:45
Fix bisection attempts (2)
Created Duration User Patch Repo Result
2023/03/05 04:31 24m bisect fix linux-4.14.y OK (0) job log log
2023/02/03 04:05 25m bisect fix linux-4.14.y OK (0) job log log

Sample crash report:
IPVS: ftp: loaded support on port[0] = 21
------------[ cut here ]------------
kernel BUG at fs/hfs/inode.c:441!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
Modules linked in:
CPU: 0 PID: 22 Comm: kworker/u4:1 Not tainted 4.14.300-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
Workqueue: writeback wb_workfn (flush-7:0)
task: ffff8880b55ee5c0 task.stack: ffff8880b55f8000
RIP: 0010:hfs_write_inode+0x44c/0x860 fs/hfs/inode.c:441
RSP: 0018:ffff8880b55ff870 EFLAGS: 00010297
RAX: ffff8880b55ee5c0 RBX: 1ffff11016abff10 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffff8880b55ffab0 RDI: ffff8880b308e740
RBP: ffff8880b308e700 R08: ffffffff8b9c14b0 R09: 0000000000000002
R10: 0000000000000000 R11: ffff8880b55ee5c0 R12: 0000000000000000
R13: 0000000000000000 R14: ffffffff879b7ea0 R15: ffff8880b308e728
FS:  0000000000000000(0000) GS:ffff8880ba400000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fc9b97b8000 CR3: 00000000a105f000 CR4: 00000000003406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 write_inode fs/fs-writeback.c:1241 [inline]
 __writeback_single_inode+0x6a4/0x1010 fs/fs-writeback.c:1439
 writeback_sb_inodes+0x48b/0xd30 fs/fs-writeback.c:1645
 wb_writeback+0x243/0xb80 fs/fs-writeback.c:1820
 wb_do_writeback fs/fs-writeback.c:1952 [inline]
 wb_workfn+0x2bd/0xf50 fs/fs-writeback.c:1988
 process_one_work+0x793/0x14a0 kernel/workqueue.c:2117
 worker_thread+0x5cc/0xff0 kernel/workqueue.c:2251
 kthread+0x30d/0x420 kernel/kthread.c:232
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:406
Code: 41 5d 41 5e 41 5f c3 e8 13 44 7f ff 49 83 fd 03 0f 84 95 00 00 00 49 83 fd 04 74 11 49 83 fd 02 0f 84 69 fc ff ff e8 f4 43 7f ff <0f> 0b e8 ed 43 7f ff 48 8d 7d 28 48 b8 00 00 00 00 00 fc ff df 
RIP: hfs_write_inode+0x44c/0x860 fs/hfs/inode.c:441 RSP: ffff8880b55ff870
---[ end trace d9fe64d357664566 ]---

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/12/03 21:50 linux-4.14.y 179ef7fe8677 e080de16 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-4-14 kernel BUG in hfs_write_inode
2022/12/02 20:02 linux-4.14.y 179ef7fe8677 e080de16 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-4-14 kernel BUG in hfs_write_inode
2023/01/02 09:56 linux-4.14.y c4215ee4771b ab32d508 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 kernel BUG in hfs_write_inode
* Struck through repros no longer work on HEAD.