syzbot


kernel BUG in ext4_write_inline_data_end (2)

Status: upstream: reported C repro on 2023/09/24 12:05
Bug presence: origin:lts
[Documentation on labels]
Reported-by: syzbot+2087f3e0c87c7a3f4247@syzkaller.appspotmail.com
First crash: 379d, last: 30d
Bug presence (2)
Date Name Commit Repro Result
2023/09/24 lts (merge base) aff03380bda4 C [report] kernel BUG in ext4_write_inline_data_end
2023/09/24 upstream (ToT) 3aba70aed91f C Didn't crash
Similar bugs (13)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream kernel BUG at fs/ext4/inline.c:LINE! ext4 C done done 76 466d 1290d 22/26 fixed on 2023/02/24 13:50
android-54 kernel BUG in ext4_write_inline_data_end C 4 650d 784d 2/2 fixed on 2022/09/27 22:24
android-5-10 kernel BUG in ext4_write_inline_data_end C error 3 717d 784d 0/2 closed as dup on 2022/03/04 15:25
android-5-10 kernel BUG in ext4_write_inline_data_end (2) C error 13 2d01h 668d 2/2 upstream: reported C repro on 2022/06/27 15:18
linux-6.1 kernel BUG in ext4_write_inline_data_end origin:upstream C 36 8d05h 410d 0/3 upstream: reported C repro on 2023/03/12 18:03
android-6-1 kernel BUG in ext4_write_inline_data_end origin:lts C error 1 15d 164d 0/2 upstream: reported C repro on 2023/11/14 10:56
android-5-15 kernel BUG in ext4_write_inline_data_end C error 11 508d 569d 2/2 fixed on 2023/02/02 00:40
linux-4.19 kernel BUG in ext4_write_inline_data_end ext4 C error 12 420d 1167d 0/1 upstream: reported C repro on 2021/02/14 13:39
linux-5.15 kernel BUG in ext4_write_inline_data_end origin:upstream C error 3 19d 332d 0/3 upstream: reported C repro on 2023/05/30 10:48
upstream kernel BUG in ext4_write_inline_data_end ext4 C error done 32 123d 420d 26/26 fixed on 2024/01/30 23:26
android-54 kernel BUG in ext4_write_inline_data_end (2) ext4 syz 7 1d02h 456d 0/2 upstream: reported syz repro on 2023/01/25 15:39
linux-4.14 kernel BUG in ext4_write_inline_data_end C error 4 506d 1092d 0/1 upstream: reported C repro on 2021/04/30 02:18
upstream kernel BUG in ext4_write_inline_data_end (2) ext4 C inconclusive 23 1d03h 84d 0/26 upstream: reported C repro on 2024/02/02 09:24
Last patch testing requests (7)
Created Duration User Patch Repo Result
2024/03/27 10:15 7m retest repro android13-5.15-lts report log
2024/03/11 08:15 7m retest repro android13-5.15-lts report log
2024/02/25 15:25 9m retest repro android13-5.15-lts report log
2024/02/05 11:37 8m retest repro android13-5.15-lts report log
2024/01/17 08:13 12m retest repro android13-5.15-lts report log
2023/12/17 15:16 8m retest repro android13-5.15-lts report log
2023/11/28 13:20 5m retest repro android13-5.15-lts report log
Fix bisection attempts (3)
Created Duration User Patch Repo Result
2024/02/26 07:08 53m bisect fix android13-5.15-lts job log (0) log
2023/12/28 22:41 37m bisect fix android13-5.15-lts job log (0) log
2023/11/08 06:16 1h51m bisect fix android13-5.15-lts job log (0) log

Sample crash report:
------------[ cut here ]------------
kernel BUG at fs/ext4/inline.c:781!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 2417 Comm: syz-executor353 Not tainted 5.15.147-syzkaller-00327-g1c3a1f32bcbd #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
RIP: 0010:ext4_write_inline_data_end+0xe13/0xe30 fs/ext4/inline.c:781
Code: f8 ff ff 44 89 f9 80 e1 07 fe c1 38 c1 0f 8c 28 fa ff ff 4c 89 ff e8 8c bf cc ff e9 1b fa ff ff e8 c2 1c dd 02 e8 4d c7 8a ff <0f> 0b e8 46 c7 8a ff 0f 0b e8 3f c7 8a ff 0f 0b e8 38 c7 8a ff 0f
RSP: 0018:ffffc90005a87680 EFLAGS: 00010293
RAX: ffffffff81e547e3 RBX: 0000000000000000 RCX: ffff888110afa780
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90005a877d8 R08: ffffffff81e53c50 R09: ffffed1021fcdbbb
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: 000000000000000c R14: 0000004c00080000 R15: 1ffff11021fcdbba
FS:  00007fdd155c56c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005555574157f8 CR3: 000000010c94e000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 ext4_write_end+0x374/0xa00 fs/ext4/inode.c:1311
 ext4_da_write_end+0x88/0xab0 fs/ext4/inode.c:3071
 generic_perform_write+0x3b4/0x5a0 mm/filemap.c:3854
 ext4_buffered_write_iter+0x48a/0x610 fs/ext4/file.c:270
 ext4_file_write_iter+0x443/0x1c80
 call_write_iter include/linux/fs.h:2202 [inline]
 new_sync_write fs/read_write.c:507 [inline]
 vfs_write+0xd5d/0x1110 fs/read_write.c:594
 ksys_write+0x199/0x2c0 fs/read_write.c:647
 __do_sys_write fs/read_write.c:659 [inline]
 __se_sys_write fs/read_write.c:656 [inline]
 __x64_sys_write+0x7b/0x90 fs/read_write.c:656
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7fdd15632369
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 c1 1b 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fdd155c5168 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fdd156b46d8 RCX: 00007fdd15632369
RDX: 000000000000000c RSI: 0000000020000300 RDI: 0000000000000004
RBP: 00007fdd156b46d0 R08: 00007fdd155c56c0 R09: 0000000000000000
R10: 00007fdd155c56c0 R11: 0000000000000246 R12: 00007fdd156b46dc
R13: 0000000000000006 R14: 00007ffe2fb43a10 R15: 00007ffe2fb43af8
 </TASK>
Modules linked in:
---[ end trace c2a95362e1ec042e ]---
RIP: 0010:ext4_write_inline_data_end+0xe13/0xe30 fs/ext4/inline.c:781
Code: f8 ff ff 44 89 f9 80 e1 07 fe c1 38 c1 0f 8c 28 fa ff ff 4c 89 ff e8 8c bf cc ff e9 1b fa ff ff e8 c2 1c dd 02 e8 4d c7 8a ff <0f> 0b e8 46 c7 8a ff 0f 0b e8 3f c7 8a ff 0f 0b e8 38 c7 8a ff 0f
RSP: 0018:ffffc90005a87680 EFLAGS: 00010293
RAX: ffffffff81e547e3 RBX: 0000000000000000 RCX: ffff888110afa780
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90005a877d8 R08: ffffffff81e53c50 R09: ffffed1021fcdbbb
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: 000000000000000c R14: 0000004c00080000 R15: 1ffff11021fcdbba
FS:  00007fdd155c56c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fdd0d2bf000 CR3: 000000010c94e000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (6):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/01/21 14:33 android13-5.15-lts 1c3a1f32bcbd 9bd8dcda .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-5-15 kernel BUG in ext4_write_inline_data_end
2023/11/14 13:11 android13-5.15-lts 61cfd264993d cb976f63 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-5-15 kernel BUG in ext4_write_inline_data_end
2023/09/24 15:04 android13-5.15-lts ea586874d2f9 0b6a67ac .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-5-15 kernel BUG in ext4_write_inline_data_end
2023/09/24 12:01 android13-5.15-lts ea586874d2f9 0b6a67ac .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-5-15 kernel BUG in ext4_write_inline_data_end
2023/07/02 19:53 android13-5.15-lts 241da2ad5601 bfc47836 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 kernel BUG in ext4_write_inline_data_end
2023/04/12 18:31 android13-5.15-lts 7364b7abbafb 1a1596b6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 kernel BUG in ext4_write_inline_data_end
* Struck through repros no longer work on HEAD.