syzbot
kernel BUG in ext4_write_inline_data
Status:
fixed on 2023/05/04 14:51
Subsystems:
ext4
[Documentation on labels]
Reported-by: syzbot+00f9392c959181b8e1c6@syzkaller.appspotmail.com
Fix commit:
5c099c4fdc43
UPSTREAM: ext4: fix kernel BUG in 'ext4_write_inline_data_end()'
First crash: 1371d, last: 1272d
▶
▼
Similar bugs (11)
| Kernel |
Title |
Rank
🛈
|
Repro |
Cause bisect |
Fix bisect |
Count |
Last |
Reported |
Patched |
Status |
| linux-4.14 |
kernel BUG in ext4_write_inline_data
ext4
|
-1 |
syz, C |
|
|
4 |
1276d |
1372d
|
0/1 |
upstream: reported C repro on 2022/11/04 18:44
|
| upstream |
kernel BUG at fs/ext4/inline.c:LINE!
ext4
|
-1 |
syz, C |
done |
done |
76 |
1300d |
2123d
|
22/29 |
fixed on 2023/02/24 13:50
|
| upstream |
kernel BUG in ext4_write_inline_data
ext4
|
-1 |
syz, C |
error |
|
36 |
754d |
1240d
|
27/29 |
fixed on 2024/08/22 01:52
|
| upstream |
kernel BUG in ext4_write_inline_data (4)
ext4
|
-1 |
syz, C |
error |
|
13 |
93d |
186d
|
29/29 |
fixed on 2026/05/21 07:49
|
| linux-6.1 |
kernel BUG in ext4_write_inline_data
origin:upstream
|
-1 |
syz, C |
|
error |
13 |
178d |
515d
|
0/3 |
upstream: reported C repro on 2025/03/10 13:01
|
| android-6-1 |
kernel BUG in ext4_write_inline_data
origin:lts
|
-1 |
syz, C |
error |
error |
33 |
9d05h |
1132d
|
0/2 |
upstream: reported C repro on 2023/07/02 21:30
|
| upstream |
kernel BUG in ext4_write_inline_data (3)
ext4
|
-1 |
syz, C |
error |
|
8 |
219d |
328d
|
29/29 |
fixed on 2026/01/07 12:29
|
| linux-4.19 |
kernel BUG in ext4_write_inline_data_end
ext4
|
-1 |
syz, C |
|
error |
12 |
1253d |
2000d
|
0/1 |
upstream: reported C repro on 2021/02/14 13:39
|
| upstream |
kernel BUG in ext4_write_inline_data (5)
prio:high
ext4
|
-1 |
syz |
error |
|
12 |
2d00h |
59d
|
0/29 |
upstream: reported syz repro on 2026/06/09 08:13
|
| upstream |
kernel BUG in ext4_write_inline_data (2)
ext4
|
-1 |
syz, C |
error |
|
46 |
411d |
624d
|
29/29 |
fixed on 2025/07/08 00:33
|
| android-54 |
kernel BUG in ext4_write_inline_data
|
-1 |
syz, C |
|
|
3 |
1333d |
1370d
|
2/2 |
fixed on 2023/04/05 17:17
|
▶
▼
Last patch testing requests (1)
▶
▼
Fix bisection attempts (2)
Sample crash report:
EXT4-fs (loop0): dirty_blocks=96
EXT4-fs (loop0): Block reservation details
EXT4-fs (loop0): i_reserved_data_blocks=1
------------[ cut here ]------------
kernel BUG at fs/ext4/inline.c:226!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 371 Comm: syz-executor104 Not tainted 5.10.149-syzkaller-01350-g0118fb827bc7 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
RIP: 0010:ext4_write_inline_data+0x382/0x390 fs/ext4/inline.c:226
Code: ff ff 89 d9 80 e1 07 fe c1 38 c1 0f 8c 35 ff ff ff 48 89 df e8 4f c5 cc ff e9 28 ff ff ff e8 05 a6 92 ff 0f 0b e8 fe a5 92 ff <0f> 0b 66 66 2e 0f 1f 84 00 00 00 00 00 90 55 48 89 e5 41 57 41 56
RSP: 0018:ffffc90000a0f638 EFLAGS: 00010293
RAX: ffffffff81da4482 RBX: 000000000000003c RCX: ffff8881067e13c0
RDX: 0000000000000000 RSI: 000000000000003c RDI: 000000000002004c
RBP: ffffc90000a0f690 R08: ffffffff81da424f R09: ffffed10209fae53
R10: ffffed10209fae53 R11: 1ffff110209fae52 R12: 0000000000020026
R13: ffffc90000a0f700 R14: 000000000002004c R15: ffff88811a58dd7c
FS: 0000555555947300(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000004571f0 CR3: 0000000106bd4000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
ext4_write_inline_data_end+0x258/0x4b0 fs/ext4/inline.c:772
ext4_write_end+0x1e5/0xde0 fs/ext4/inode.c:1304
ext4_da_write_end+0xb7/0xb40 fs/ext4/inode.c:3144
generic_perform_write+0x410/0x5b0 mm/filemap.c:3479
ext4_buffered_write_iter+0x47c/0x610 fs/ext4/file.c:272
ext4_file_write_iter+0x192/0x1cd0 fs/ext4/file.c:683
call_write_iter include/linux/fs.h:1952 [inline]
new_sync_write fs/read_write.c:518 [inline]
vfs_write+0xc4a/0xf80 fs/read_write.c:605
ksys_write+0x198/0x2c0 fs/read_write.c:658
__do_sys_write fs/read_write.c:670 [inline]
__se_sys_write fs/read_write.c:667 [inline]
__x64_sys_write+0x7b/0x90 fs/read_write.c:667
do_syscall_64+0x34/0x70 arch/x86/entry/common.c:46
entry_SYSCALL_64_after_hwframe+0x61/0xc6
RIP: 0033:0x7fe02542fa49
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 c0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fff90bab7d8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fe02542fa49
RDX: 0000000000000026 RSI: 0000000020000580 RDI: 0000000000000003
RBP: 00007fe0253ef210 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fe0253ef2a0
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
Modules linked in:
---[ end trace f80412e140b121f6 ]---
RIP: 0010:ext4_write_inline_data+0x382/0x390 fs/ext4/inline.c:226
Code: ff ff 89 d9 80 e1 07 fe c1 38 c1 0f 8c 35 ff ff ff 48 89 df e8 4f c5 cc ff e9 28 ff ff ff e8 05 a6 92 ff 0f 0b e8 fe a5 92 ff <0f> 0b 66 66 2e 0f 1f 84 00 00 00 00 00 90 55 48 89 e5 41 57 41 56
RSP: 0018:ffffc90000a0f638 EFLAGS: 00010293
RAX: ffffffff81da4482 RBX: 000000000000003c RCX: ffff8881067e13c0
RDX: 0000000000000000 RSI: 000000000000003c RDI: 000000000002004c
RBP: ffffc90000a0f690 R08: ffffffff81da424f R09: ffffed10209fae53
R10: ffffed10209fae53 R11: 1ffff110209fae52 R12: 0000000000020026
R13: ffffc90000a0f700 R14: 000000000002004c R15: ffff88811a58dd7c
FS: 0000555555947300(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000004571f0 CR3: 0000000106bd4000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
* Struck through repros no longer work on HEAD.