syzbot


kernel BUG in ext4_write_inline_data

Status: upstream: reported C repro on 2025/03/10 13:01
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+15d88ef154cc332d3b56@syzkaller.appspotmail.com
First crash: 31d, last: 1d13h
Bug presence (1)
Date Name Commit Repro Result
2025/04/03 upstream (ToT) e8b471285262 C [report] unregister_netdevice: waiting for DEV to become free
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 792d 888d 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 816d 1639d 22/28 fixed on 2023/02/24 13:50
upstream kernel BUG in ext4_write_inline_data ext4 C error 36 270d 756d 27/28 fixed on 2024/08/22 01:52
android-6-1 kernel BUG in ext4_write_inline_data origin:lts C error 23 6d22h 648d 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 769d 1516d 0/1 upstream: reported C repro on 2021/02/14 13:39
upstream kernel BUG in ext4_write_inline_data (2) ext4 C error 28 3d02h 140d 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 788d 886d 2/2 fixed on 2023/05/04 14:51
android-54 kernel BUG in ext4_write_inline_data C 3 849d 886d 2/2 fixed on 2023/04/05 17:17

Sample crash report:
------------[ cut here ]------------
kernel BUG at fs/ext4/inline.c:236!
Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP
Modules linked in:
CPU: 1 PID: 4579 Comm: syz-executor237 Not tainted 6.1.132-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 : ffff8000219374f0
x29: ffff800021937500 x28: 0000000000000078 x27: dfff800000000000
x26: 000000000000003c x25: 0000000000000080 x24: ffff8000219375c0
x23: ffff0000e396e000 x22: ffff0000df1758b2 x21: ffff0000df1752f0
x20: 0000000000000008 x19: 0000000000000078 x18: 1fffe0003679c776
x17: ffff800015afd000 x16: ffff8000122de87c x15: 0000000000000000
x14: 00000000ffffffc3 x13: ffff0000d8110000 x12: 0000000000000001
x11: 0000000000ff0100 x10: 0000000000000000 x9 : ffff800008e399b8
x8 : ffff0000d8110000 x7 : ffff800008dde564 x6 : 0000000000000000
x5 : 0000000000000000 x4 : 0000000000000078 x3 : 0000000000000008
x2 : ffff0000e396e000 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 fs/ext4/file.c:-1
 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 97dae8cd d4210000 97dae8cb (d4210000) 
---[ end trace 0000000000000000 ]---

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/04/01 01:07 linux-6.1.y 8e60a714ba3b d3999433 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-linux-6-1-kasan-arm64 kernel BUG in ext4_write_inline_data
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
2025/04/09 14:09 linux-6.1.y 3dfebb87d7eb 47d015b1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_write_inline_data
2025/03/24 02:58 linux-6.1.y 344a09659766 875573af .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_write_inline_data
2025/04/04 04:47 linux-6.1.y 8e60a714ba3b d7ae3a11 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in ext4_write_inline_data
* Struck through repros no longer work on HEAD.