syzbot


kernel BUG in ext4_write_inline_data_end

Status: upstream: reported C repro on 2023/11/14 10:56
Bug presence: origin:lts
[Documentation on labels]
Reported-by: syzbot+8116d2c9a7677fd7d3f3@syzkaller.appspotmail.com
First crash: 196d, last: 17d
Cause bisection: failed (error log, bisect log)
  
Bug presence (2)
Date Name Commit Repro Result
2023/11/14 lts (merge base) 52a953d0934b C [report] kernel BUG in __block_commit_write
2023/11/14 upstream (ToT) 9bacdd8996c7 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 499d 1322d 22/26 fixed on 2023/02/24 13:50
android-54 kernel BUG in ext4_write_inline_data_end C 4 683d 816d 2/2 fixed on 2022/09/27 22:24
android-5-10 kernel BUG in ext4_write_inline_data_end C error 3 749d 816d 0/2 closed as dup on 2022/03/04 15:25
android-5-15 kernel BUG in ext4_write_inline_data_end (2) origin:lts C 8 12d 247d 0/2 upstream: reported C repro on 2023/09/24 12:05
android-5-10 kernel BUG in ext4_write_inline_data_end (2) C error 13 34d 701d 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 5d14h 443d 0/3 upstream: reported C repro on 2023/03/12 18:03
android-5-15 kernel BUG in ext4_write_inline_data_end C error 11 540d 601d 2/2 fixed on 2023/02/02 00:40
linux-4.19 kernel BUG in ext4_write_inline_data_end ext4 C error 12 452d 1199d 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 51d 364d 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 155d 453d 26/26 fixed on 2024/01/30 23:26
android-54 kernel BUG in ext4_write_inline_data_end (2) ext4 syz 9 14d 489d 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 539d 1124d 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 32 7d23h 116d 0/26 upstream: reported C repro on 2024/02/02 09:24
Last patch testing requests (1)
Created Duration User Patch Repo Result
2023/11/28 11:23 6m retest repro android14-6.1 report log
Fix bisection attempts (5)
Created Duration User Patch Repo Result
2024/05/11 16:28 1h13m bisect fix android14-6.1 job log (0) log
2024/04/10 14:34 2h06m bisect fix android14-6.1 job log (0) log
2024/03/09 17:07 42m bisect fix android14-6.1 job log (0) log
2024/02/01 11:10 1h30m bisect fix android14-6.1 job log (0) log
2023/12/29 16:39 41m bisect fix android14-6.1 job log (0) log

Sample crash report:
EXT4-fs error (device loop0): __ext4_fill_super:5386: inode #2: comm syz-executor848: casefold flag without casefold feature
EXT4-fs (loop0): warning: mounting fs with errors, running e2fsck is recommended
------------[ cut here ]------------
kernel BUG at fs/ext4/inline.c:767!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 1202 Comm: syz-executor848 Not tainted 6.1.43-syzkaller-00009-ga59b32866cd4 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023
RIP: 0010:ext4_write_inline_data_end+0xa85/0xa90 fs/ext4/inline.c:767
Code: f8 ff ff 44 89 e9 80 e1 07 fe c1 38 c1 0f 8c 17 fb ff ff 4c 89 ef e8 7a 0d cb ff e9 0a fb ff ff e8 a0 29 05 03 e8 bb 84 84 ff <0f> 0b e8 b4 84 84 ff 0f 0b 66 90 55 48 89 e5 41 57 41 56 41 55 41
RSP: 0018:ffffc90001aa76e0 EFLAGS: 00010293
RAX: ffffffff81f07815 RBX: 0000000000000000 RCX: ffff888112772880
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90001aa77f8 R08: ffffffff81f07003 R09: ffffed10200b0b7b
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000004c00000000
R13: ffff888112772880 R14: ffff888100585bd0 R15: ffff888100585ce8
FS:  00007f2089ece6c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000200001a0 CR3: 000000011972d000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 ext4_write_end+0x395/0x910 fs/ext4/inode.c:1311
 ext4_da_write_end+0x88/0x9a0 fs/ext4/inode.c:3061
 generic_perform_write+0x3e6/0x5c0 mm/filemap.c:3785
 ext4_buffered_write_iter+0x360/0x640 fs/ext4/file.c:285
 ext4_file_write_iter+0x194/0x1cf0
 call_write_iter include/linux/fs.h:2215 [inline]
 new_sync_write fs/read_write.c:491 [inline]
 vfs_write+0x902/0xeb0 fs/read_write.c:584
 ksys_write+0x199/0x2c0 fs/read_write.c:637
 __do_sys_write fs/read_write.c:649 [inline]
 __se_sys_write fs/read_write.c:646 [inline]
 __x64_sys_write+0x7b/0x90 fs/read_write.c:646
 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+0x63/0xcd
RIP: 0033:0x7f2089f11ed9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 b1 18 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:00007f2089ece218 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f2089f9a6c8 RCX: 00007f2089f11ed9
RDX: 0000000000000007 RSI: 0000000020000180 RDI: 0000000000000004
RBP: 0000000000000018 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f2089f9a6c0
R13: 00007f2089f98100 R14: 00007f2089f66650 R15: 00007f2089f6606b
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:ext4_write_inline_data_end+0xa85/0xa90 fs/ext4/inline.c:767
Code: f8 ff ff 44 89 e9 80 e1 07 fe c1 38 c1 0f 8c 17 fb ff ff 4c 89 ef e8 7a 0d cb ff e9 0a fb ff ff e8 a0 29 05 03 e8 bb 84 84 ff <0f> 0b e8 b4 84 84 ff 0f 0b 66 90 55 48 89 e5 41 57 41 56 41 55 41
RSP: 0018:ffffc90001aa76e0 EFLAGS: 00010293
RAX: ffffffff81f07815 RBX: 0000000000000000 RCX: ffff888112772880
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90001aa77f8 R08: ffffffff81f07003 R09: ffffed10200b0b7b
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000004c00000000
R13: ffff888112772880 R14: ffff888100585bd0 R15: ffff888100585ce8
FS:  00007f2089ece6c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000180 CR3: 000000011972d000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/11/14 10:54 android14-6.1 a59b32866cd4 cb976f63 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-6-1 kernel BUG in ext4_write_inline_data_end
* Struck through repros no longer work on HEAD.