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+377f8341676334784aa6@syzkaller.appspotmail.com
Fix commit:
81b21c0f0138
fs: hfsplus: remove WARN_ON() from hfsplus_cat_{read,write}_inode()
First crash: 1224d, last: 1162d
▶
▼
Bug presence (2)
| Date |
Name |
Commit |
Repro |
Result |
| 2023/05/08 |
linux-5.15.y (ToT) |
8a7f2a5c5aa1 |
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: 144 at fs/hfsplus/inode.c:614 hfsplus_cat_write_inode+0xb2f/0x1000
Modules linked in:
CPU: 0 PID: 144 Comm: kworker/u4:1 Not tainted 5.15.111-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:614
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 bd 83 41 ff 0f 0b e9 d4 f7 ff ff e8 b1 83 41 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:ffffc9000135f140 EFLAGS: 00010293
RAX: ffffffff823e602f RBX: 0000000000000058 RCX: ffff888012b43b80
RDX: 0000000000000000 RSI: 0000000000000058 RDI: 00000000000000f8
RBP: ffffc9000135f4f0 R08: ffffffff823e5aaa R09: ffffed100f0bb2b1
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8880785d95f0
R13: dffffc0000000000 R14: ffffc9000135f1a0 R15: ffffc9000135f200
FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005622fc59e4a8 CR3: 0000000021bca000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
write_inode fs/fs-writeback.c:1478 [inline]
__writeback_single_inode+0x644/0xe30 fs/fs-writeback.c:1683
writeback_sb_inodes+0xbf0/0x1a50 fs/fs-writeback.c:1908
wb_writeback+0x451/0xc50 fs/fs-writeback.c:2082
wb_do_writeback fs/fs-writeback.c:2225 [inline]
wb_workfn+0x46c/0x1130 fs/fs-writeback.c:2266
process_one_work+0x8a1/0x10c0 kernel/workqueue.c:2307
worker_thread+0xaca/0x1280 kernel/workqueue.c:2454
kthread+0x3f6/0x4f0 kernel/kthread.c:319
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298
</TASK>
* Struck through repros no longer work on HEAD.