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: 615d, last: 16h25m
Fix bisection: failed (error log, bisect log)
  
▶ ▼ Bug presence (2)
Date Name Commit Repro Result
2025/04/03 upstream (ToT) e8b471285262 C [report] unregister_netdevice: waiting for DEV to become free
2026/11/11 upstream (ToT) [unknown] C Failed due to an error; will retry later
▶ ▼ 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 1376d 1472d 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 1400d 2223d 22/29 fixed on 2023/02/24 13:50
upstream kernel BUG in ext4_write_inline_data ext4 -1 syz, C error 36 854d 1339d 27/29 fixed on 2024/08/22 01:52
upstream kernel BUG in ext4_write_inline_data (4) ext4 -1 syz, C error 13 192d 286d 29/29 fixed on 2026/05/21 07:49
android-6-1 kernel BUG in ext4_write_inline_data origin:lts -1 syz, C error error 33 11d 1231d 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 319d 428d 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 1353d 2100d 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 error 28 89d 159d 0/29 auto-obsoleted due to no activity on 2026/10/27 05:53
upstream kernel BUG in ext4_write_inline_data (2) ext4 -1 syz, C error 46 510d 724d 29/29 fixed on 2025/07/08 00:33
android-5-10 kernel BUG in ext4_write_inline_data ext4 -1 syz, C error inconclusive 3 1372d 1470d 2/2 fixed on 2023/05/04 14:51
android-54 kernel BUG in ext4_write_inline_data -1 syz, C 3 1432d 1470d 2/2 fixed on 2023/04/05 17:17

Sample crash report:
------------[ cut here ]------------
kernel BUG at fs/ext4/inline.c:236!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 4536 Comm: syz.2.23 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026
RIP: 0010:ext4_write_inline_data+0x340/0x350 fs/ext4/inline.c:236
Code: 07 fe c1 38 c1 0f 8c 3e ff ff ff 48 89 df 49 89 d4 e8 14 09 af ff 4c 89 e2 e9 2b ff ff ff e8 57 a5 5d ff 0f 0b e8 50 a5 5d ff <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 55 48 89 e5 41 57
RSP: 0018:ffffc90003657248 EFLAGS: 00010293
RAX: ffffffff8224c350 RBX: 000000000000003c RCX: ffff88802f3d5a00
RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000000000048000
RBP: dffffc0000000000 R08: ffff88802aa9c417 R09: 1ffff11005553882
R10: dffffc0000000000 R11: ffffed1005553883 R12: 0000000000048000
R13: ffffc90003657320 R14: 0000000000047000 R15: ffff88806b066700
FS:  00007f32328e16c0(0000) GS:ffff8880b8c00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000020000000057a CR3: 000000005f1da000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 ext4_write_inline_data_end+0x2f9/0xd50 fs/ext4/inline.c:803
 generic_perform_write+0x393/0x5c0 mm/filemap.c:3873
 ext4_buffered_write_iter+0x11a/0x380 fs/ext4/file.c:292
 ext4_file_write_iter+0x1e3/0x17d0 fs/ext4/file.c:-1
 do_iter_readv_writev fs/read_write.c:-1 [inline]
 do_iter_write+0x638/0xb10 fs/read_write.c:861
 iter_file_splice_write+0x6be/0xcf0 fs/splice.c:685
 do_splice_from fs/splice.c:763 [inline]
 direct_splice_actor+0xe1/0x130 fs/splice.c:950
 splice_direct_to_actor+0x4b8/0xbd0 fs/splice.c:896
 do_splice_direct+0x1ce/0x2f0 fs/splice.c:1002
 do_sendfile+0x51b/0xe20 fs/read_write.c:1255
 __do_sys_sendfile64 fs/read_write.c:1323 [inline]
 __se_sys_sendfile64+0x141/0x1a0 fs/read_write.c:1309
 do_syscall_x64 arch/x86/entry/common.c:46 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f32319a94d9
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f32328e1028 EFLAGS: 00000246 ORIG_RAX: 0000000000000028
RAX: ffffffffffffffda RBX: 00007f3231c25fa0 RCX: 00007f32319a94d9
RDX: 0000000000000000 RSI: 0000000000000005 RDI: 0000000000000004
RBP: 00007f3231a3804e R08: 0000000000000000 R09: 0000000000000000
R10: 0001000000201005 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f3231c26038 R14: 00007f3231c25fa0 R15: 00007ffdc5ad3608
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:ext4_write_inline_data+0x340/0x350 fs/ext4/inline.c:236
Code: 07 fe c1 38 c1 0f 8c 3e ff ff ff 48 89 df 49 89 d4 e8 14 09 af ff 4c 89 e2 e9 2b ff ff ff e8 57 a5 5d ff 0f 0b e8 50 a5 5d ff <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 55 48 89 e5 41 57
RSP: 0018:ffffc90003657248 EFLAGS: 00010293
RAX: ffffffff8224c350 RBX: 000000000000003c RCX: ffff88802f3d5a00
RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000000000048000
RBP: dffffc0000000000 R08: ffff88802aa9c417 R09: 1ffff11005553882
R10: dffffc0000000000 R11: ffffed1005553883 R12: 0000000000048000
R13: ffffc90003657320 R14: 0000000000047000 R15: ffff88806b066700
FS:  00007f32328e16c0(0000) GS:ffff8880b8c00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000020000000057a CR3: 000000005f1da000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (14):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/11/15 04:06 linux-6.1.y c75b0cf0982c 819ebe34 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-linux-6-1-kasan kernel BUG in ext4_write_inline_data
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
2026/02/10 22:05 linux-6.1.y 0182cb5b74ee 91d776d3 .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/05/03 08:53 linux-6.1.y b6736e03756f b0714e37 .config console log report syz / log [disk image] [vmlinux] [kernel image] [mounted in repro #1 (corrupt fs)] [mounted in repro #2 (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
2026/02/11 05:16 linux-6.1.y 0182cb5b74ee 441e25b7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_write_inline_data
2025/05/19 09:02 linux-6.1.y 325285d9fc86 f41472b0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_write_inline_data
2025/05/19 09:02 linux-6.1.y 325285d9fc86 f41472b0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan 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/06/25 21:53 linux-6.1.y 58485ff1a74f 26d77996 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in ext4_write_inline_data
2025/05/19 07:59 linux-6.1.y 325285d9fc86 f41472b0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in ext4_write_inline_data
2025/05/19 07:58 linux-6.1.y 325285d9fc86 f41472b0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 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.