syzbot


kernel BUG in ext4_write_inline_data

Status: upstream: reported syz repro on 2025/03/10 13:01
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+15d88ef154cc332d3b56@syzkaller.appspotmail.com
First crash: 1d22h, last: 1d22h
Bug presence (1)
Date Name Commit Repro Result
2025/03/10 upstream (ToT) 80e54e84911a C [report] kernel BUG in ext4_write_inline_data
Similar bugs (8)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 kernel BUG in ext4_write_inline_data ext4 C 4 762d 858d 0/1 upstream: reported C repro on 2022/11/04 18:44
upstream kernel BUG at fs/ext4/inline.c:LINE! ext4 C done done 76 786d 1609d 22/28 fixed on 2023/02/24 13:50
upstream kernel BUG in ext4_write_inline_data ext4 C error 36 240d 726d 27/28 fixed on 2024/08/22 01:52
android-6-1 kernel BUG in ext4_write_inline_data origin:lts C error 22 11d 618d 0/2 upstream: reported C repro on 2023/07/02 21:30
linux-4.19 kernel BUG in ext4_write_inline_data_end ext4 C error 12 740d 1486d 0/1 upstream: reported C repro on 2021/02/14 13:39
upstream kernel BUG in ext4_write_inline_data (2) ext4 C error 13 2d05h 111d 0/28 upstream: reported C repro on 2024/11/21 09:00
android-5-10 kernel BUG in ext4_write_inline_data ext4 C error inconclusive 3 759d 857d 2/2 fixed on 2023/05/04 14:51
android-54 kernel BUG in ext4_write_inline_data C 3 819d 857d 2/2 fixed on 2023/04/05 17:17

Sample crash report:
EXT4-fs (loop0): mounted filesystem without journal. Quota mode: none.
------------[ cut here ]------------
kernel BUG at fs/ext4/inline.c:236!
Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP
Modules linked in:
CPU: 0 PID: 4438 Comm: syz.0.17 Not tainted 6.1.130-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : ext4_write_inline_data+0x2fc/0x300 fs/ext4/inline.c:236
lr : ext4_write_inline_data+0x2fc/0x300 fs/ext4/inline.c:236
sp : ffff8000217e74f0
x29: ffff8000217e7500 x28: 0000000000000078 x27: dfff800000000000
x26: 000000000000003c x25: 0000000000000080 x24: ffff8000217e75c0
x23: ffff0000ea564000 x22: ffff0000ea263a9a x21: ffff0000ea2634d8
x20: 0000000000000008 x19: 0000000000000078 x18: ffff8000217e7100
x17: ffff800018c58000 x16: ffff8000122e0990 x15: 0000000000000000
x14: 00000000ffffffc3 x13: ffff0000d881b780 x12: 0000000000000001
x11: 0000000000ff0100 x10: 0000000000000000 x9 : ffff800008e3a9ec
x8 : ffff0000d881b780 x7 : ffff800008ddf598 x6 : 0000000000000000
x5 : 0000000000000000 x4 : 0000000000000078 x3 : 0000000000000008
x2 : ffff0000ea564000 x1 : 000000000000003c x0 : 0000000000000080
Call trace:
 ext4_write_inline_data+0x2fc/0x300 fs/ext4/inline.c:236
 ext4_write_inline_data_end+0x300/0xc94 fs/ext4/inline.c:777
 ext4_da_write_end+0x414/0x940 fs/ext4/inode.c:3091
 generic_perform_write+0x384/0x55c mm/filemap.c:3856
 ext4_buffered_write_iter+0x2e0/0x538 fs/ext4/file.c:285
 ext4_file_write_iter+0x18c/0x1654
 call_write_iter include/linux/fs.h:2265 [inline]
 new_sync_write fs/read_write.c:491 [inline]
 vfs_write+0x610/0x91c fs/read_write.c:584
 ksys_write+0x15c/0x26c fs/read_write.c:637
 __do_sys_write fs/read_write.c:649 [inline]
 __se_sys_write fs/read_write.c:646 [inline]
 __arm64_sys_write+0x7c/0x90 fs/read_write.c:646
 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
 invoke_syscall+0x98/0x2bc arch/arm64/kernel/syscall.c:52
 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140
 do_el0_svc+0x58/0x13c arch/arm64/kernel/syscall.c:204
 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637
 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655
 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585
Code: 17ffffcb 97dae47c d4210000 97dae47a (d4210000) 
---[ end trace 0000000000000000 ]---

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/03/10 13:00 linux-6.1.y 6ae7ac5c4251 163f510d .config console log report syz / log [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-linux-6-1-kasan-arm64 kernel BUG in ext4_write_inline_data
* Struck through repros no longer work on HEAD.