syzbot
WARNING in hfsplus_cat_write_inode
Status:
fixed on 2023/06/26 14:47
Bug presence:
origin:lts-only
[Documentation on labels]
Reported-by: syzbot+f38e4d4c584d28d53c86@syzkaller.appspotmail.com
Fix commit:
81b21c0f0138
fs: hfsplus: remove WARN_ON() from hfsplus_cat_{read,write}_inode()
First crash: 1236d, last: 1177d
▶
▼
Bug presence (2)
| Date |
Name |
Commit |
Repro |
Result |
| 2023/05/08 |
linux-6.1.y (ToT) |
ca48fc16c493 |
C
|
[report] WARNING in hfsplus_cat_write_inode
|
| 2023/05/08 |
upstream (ToT) |
ac9a78681b92 |
C
|
Didn't crash |
Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 102 at fs/hfsplus/inode.c:616 hfsplus_cat_write_inode+0xb2f/0x1000
Modules linked in:
CPU: 0 PID: 102 Comm: kworker/u4:4 Not tainted 6.1.29-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/28/2023
Workqueue: writeback wb_workfn (flush-7:0)
RIP: 0010:hfsplus_cat_write_inode+0xb2f/0x1000 fs/hfsplus/inode.c:616
Code: 00 0f 85 e8 04 00 00 44 89 f0 48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 2d e9 2d ff 0f 0b e9 d4 f7 ff ff e8 21 e9 2d ff <0f> 0b e9 85 fa ff ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 0b f6 ff
RSP: 0018:ffffc900015b7140 EFLAGS: 00010293
RAX: ffffffff825bdbaf RBX: 0000000000000058 RCX: ffff888013779dc0
RDX: 0000000000000000 RSI: 0000000000000058 RDI: 00000000000000f8
RBP: ffffc900015b74f0 R08: ffffffff825bd62a R09: ffffed100f79f029
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88807bcf81b0
R13: dffffc0000000000 R14: ffffc900015b71a0 R15: ffffc900015b7200
FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f77c7c51418 CR3: 000000000cc8e000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
write_inode fs/fs-writeback.c:1443 [inline]
__writeback_single_inode+0x67d/0x11e0 fs/fs-writeback.c:1655
writeback_sb_inodes+0xc21/0x1ac0 fs/fs-writeback.c:1881
wb_writeback+0x49d/0xe10 fs/fs-writeback.c:2055
wb_do_writeback fs/fs-writeback.c:2198 [inline]
wb_workfn+0x427/0x1020 fs/fs-writeback.c:2238
process_one_work+0x8aa/0x11f0 kernel/workqueue.c:2289
worker_thread+0xa5f/0x1210 kernel/workqueue.c:2436
kthread+0x26e/0x300 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306
</TASK>
* Struck through repros no longer work on HEAD.