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: 523d, last: 27d
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 610d 1434d 22/28 fixed on 2023/02/24 13:50
android-54 kernel BUG in ext4_write_inline_data_end C 4 794d 928d 2/2 fixed on 2022/09/27 22:24
android-5-10 kernel BUG in ext4_write_inline_data_end C error 3 861d 928d 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 145d 812d 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 38 2d11h 554d 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 21d 308d 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 652d 713d 2/2 fixed on 2023/02/02 00:40
linux-4.19 kernel BUG in ext4_write_inline_data_end ext4 C error 12 564d 1310d 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 4 46d 476d 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 267d 564d 25/28 fixed on 2024/01/30 23:26
android-54 kernel BUG in ext4_write_inline_data_end (2) ext4 syz 9 55d 600d 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 650d 1236d 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 65 44m 228d 0/28 upstream: reported C repro on 2024/02/02 09:24
Last patch testing requests (8)
Created Duration User Patch Repo Result
2024/09/14 22:20 9m retest repro android13-5.15-lts report log
2024/08/21 05:41 10m retest repro android13-5.15-lts report log
2024/08/21 05:41 22m retest repro android13-5.15-lts report log
2024/08/21 05:41 18m retest repro android13-5.15-lts report log
2024/08/21 05:41 5m retest repro android13-5.15-lts report log
2024/08/21 05:41 8m retest repro android13-5.15-lts report log
2024/07/20 22:45 9m retest repro android13-5.15-lts report log
2024/07/06 21:00 10m retest repro android13-5.15-lts report log
Fix bisection attempts (4)
Created Duration User Patch Repo Result
2024/04/27 18:48 2h03m bisect fix android13-5.15-lts OK (0) job log log
2024/02/26 07:08 53m bisect fix android13-5.15-lts OK (0) job log log
2023/12/28 22:41 37m bisect fix android13-5.15-lts OK (0) job log log
2023/11/08 06:16 1h51m bisect fix android13-5.15-lts OK (0) job log log

Sample crash report:
EXT4-fs (loop0): mounted filesystem without journal. Opts: ,errors=continue. Quota mode: none.
------------[ cut here ]------------
kernel BUG at fs/ext4/inline.c:236!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 313 Comm: syz-executor224 Not tainted 5.15.149-syzkaller-00490-g5d96939590c0 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
RIP: 0010:ext4_write_inline_data fs/ext4/inline.c:236 [inline]
RIP: 0010:ext4_write_inline_data_end+0xe28/0xe30 fs/ext4/inline.c:791
Code: ff e8 6c b4 cc ff e9 1b fa ff ff e8 52 50 dd 02 e8 dd 91 8a ff 0f 0b e8 d6 91 8a ff 0f 0b e8 cf 91 8a ff 0f 0b e8 c8 91 8a ff <0f> 0b 66 0f 1f 44 00 00 55 48 89 e5 41 57 41 56 41 55 41 54 53 48
RSP: 0018:ffffc900009a7720 EFLAGS: 00010293
RAX: ffffffff81e59468 RBX: 000000000000003c RCX: ffff888120ac8000
RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000000000000080
RBP: ffffc900009a7868 R08: ffffffff81e58a3b R09: ffffed1020af344b
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: 0000000000000078 R14: ffffea00047e7d80 R15: 0000000000000080
FS:  00007f94147b86c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f94148870f8 CR3: 0000000105fbd000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 ext4_da_write_end+0x3b2/0xab0 fs/ext4/inode.c:3080
 generic_perform_write+0x3b4/0x5a0 mm/filemap.c:3858
 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:0x7f9414807c09
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 c1 1f 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:00007f94147b8168 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f941488f488 RCX: 00007f9414807c09
RDX: 0000000000000078 RSI: 00000000200000c0 RDI: 0000000000000004
RBP: 00007f941488f480 R08: 00007f94147b86c0 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f941488f48c
R13: 000000000000000b R14: 00007ffff194e8f0 R15: 00007ffff194e9d8
 </TASK>
Modules linked in:
---[ end trace d8ebd5f5fffdc0b2 ]---
RIP: 0010:ext4_write_inline_data fs/ext4/inline.c:236 [inline]
RIP: 0010:ext4_write_inline_data_end+0xe28/0xe30 fs/ext4/inline.c:791
Code: ff e8 6c b4 cc ff e9 1b fa ff ff e8 52 50 dd 02 e8 dd 91 8a ff 0f 0b e8 d6 91 8a ff 0f 0b e8 cf 91 8a ff 0f 0b e8 c8 91 8a ff <0f> 0b 66 0f 1f 44 00 00 55 48 89 e5 41 57 41 56 41 55 41 54 53 48
RSP: 0018:ffffc900009a7720 EFLAGS: 00010293
RAX: ffffffff81e59468 RBX: 000000000000003c RCX: ffff888120ac8000
RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000000000000080
RBP: ffffc900009a7868 R08: ffffffff81e58a3b R09: ffffed1020af344b
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: 0000000000000078 R14: ffffea00047e7d80 R15: 0000000000000080
FS:  00007f94147b86c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f94148870f8 CR3: 0000000105fbd000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (9):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/05/15 04:32 android13-5.15-lts 5d96939590c0 fdb4c10c .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
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
2024/05/29 02:17 android13-5.15-lts 424f92bcbe8f 34889ee3 .config console log report syz / log [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-5-15 kernel BUG in ext4_write_inline_data_end
2024/05/16 13:33 android13-5.15-lts 5d96939590c0 ef5d53ed .config console log report syz [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.