syzbot


kernel BUG in ext4_write_inline_data_end

Status: upstream: reported C repro on 2023/05/30 10:48
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+23d6388fbebd10b709e4@syzkaller.appspotmail.com
First crash: 331d, last: 18d
Fix bisection: failed (error log, bisect log)
  
Bug presence (1)
Date Name Commit Repro Result
2023/05/30 upstream (ToT) 8b817fded42d C [report] kernel BUG in ext4_do_writepages
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 1289d 22/26 fixed on 2023/02/24 13:50
android-54 kernel BUG in ext4_write_inline_data_end C 4 650d 783d 2/2 fixed on 2022/09/27 22:24
android-5-10 kernel BUG in ext4_write_inline_data_end C error 3 717d 783d 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 6 29d 214d 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 1d12h 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 7d16h 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 163d 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 568d 2/2 fixed on 2023/02/02 00:40
linux-4.19 kernel BUG in ext4_write_inline_data_end ext4 C error 12 419d 1166d 0/1 upstream: reported C repro on 2021/02/14 13:39
upstream kernel BUG in ext4_write_inline_data_end ext4 C error done 32 122d 420d 26/26 fixed on 2024/01/30 23:26
android-54 kernel BUG in ext4_write_inline_data_end (2) ext4 syz 7 13h53m 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 14h47m 83d 0/26 upstream: reported C repro on 2024/02/02 09:24
Fix bisection attempts (3)
Created Duration User Patch Repo Result
2023/11/07 01:15 1h04m bisect fix linux-5.15.y error job log (0)
2023/10/06 01:31 1h40m bisect fix linux-5.15.y job log (0) log
2023/06/30 03:17 58m bisect fix linux-5.15.y job log (0) log

Sample crash report:
------------[ cut here ]------------
kernel BUG at fs/ext4/inline.c:235!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 15221 Comm: syz-executor311 Not tainted 5.15.153-syzkaller #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:235 [inline]
RIP: 0010:ext4_write_inline_data_end+0x1136/0x11e0 fs/ext4/inline.c:777
Code: 6c 24 08 e9 b8 f9 ff ff e8 57 e8 65 ff 4c 89 ff 48 c7 c6 60 0a 9c 8a e8 f8 20 9c ff 0f 0b e8 41 e8 65 ff 0f 0b e8 3a e8 65 ff <0f> 0b e8 33 e8 65 ff eb 2a e8 2c e8 65 ff 49 ff cc 4c 89 24 24 48
RSP: 0018:ffffc90005ad71c0 EFLAGS: 00010293
RAX: ffffffff821a5176 RBX: 0000000000000062 RCX: ffff88801cae1dc0
RDX: 0000000000000000 RSI: 0000000000000062 RDI: 0000000000000069
RBP: ffffc90005ad72e8 R08: ffffffff821a446a R09: ffffed1003620c71
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: 0000000000000069 R14: ffff88807c18e678 R15: ffffea0001c2da80
FS:  00007f2b186886c0(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f2b102b4000 CR3: 0000000022bd1000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 generic_perform_write+0x3b7/0x5b0 mm/filemap.c:3796
 ext4_buffered_write_iter+0x227/0x360 fs/ext4/file.c:268
 ext4_file_write_iter+0x87c/0x1990
 do_iter_readv_writev+0x594/0x7a0
 do_iter_write+0x1ea/0x760 fs/read_write.c:855
 iter_file_splice_write+0x806/0xfa0 fs/splice.c:689
 do_splice_from fs/splice.c:767 [inline]
 direct_splice_actor+0xe3/0x1c0 fs/splice.c:936
 splice_direct_to_actor+0x500/0xc10 fs/splice.c:891
 do_splice_direct+0x285/0x3d0 fs/splice.c:979
 do_sendfile+0x625/0xff0 fs/read_write.c:1249
 __do_sys_sendfile64 fs/read_write.c:1317 [inline]
 __se_sys_sendfile64+0x178/0x1e0 fs/read_write.c:1303
 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:0x7f2b186cbd09
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:00007f2b18688218 EFLAGS: 00000246 ORIG_RAX: 0000000000000028
RAX: ffffffffffffffda RBX: 00007f2b187546c8 RCX: 00007f2b186cbd09
RDX: 0000000000000000 RSI: 0000000000000005 RDI: 0000000000000004
RBP: 00007f2b187546c0 R08: 0000000000000000 R09: 0000000000000000
R10: 0001000000201005 R11: 0000000000000246 R12: 00007f2b18720840
R13: 00007f2b187200c0 R14: 0000000020000f40 R15: 0030656c69662f2e
 </TASK>
Modules linked in:
---[ end trace d910afb8c63f18cc ]---
RIP: 0010:ext4_write_inline_data fs/ext4/inline.c:235 [inline]
RIP: 0010:ext4_write_inline_data_end+0x1136/0x11e0 fs/ext4/inline.c:777
Code: 6c 24 08 e9 b8 f9 ff ff e8 57 e8 65 ff 4c 89 ff 48 c7 c6 60 0a 9c 8a e8 f8 20 9c ff 0f 0b e8 41 e8 65 ff 0f 0b e8 3a e8 65 ff <0f> 0b e8 33 e8 65 ff eb 2a e8 2c e8 65 ff 49 ff cc 4c 89 24 24 48
RSP: 0018:ffffc90005ad71c0 EFLAGS: 00010293
RAX: ffffffff821a5176 RBX: 0000000000000062 RCX: ffff88801cae1dc0
RDX: 0000000000000000 RSI: 0000000000000062 RDI: 0000000000000069
RBP: ffffc90005ad72e8 R08: ffffffff821a446a R09: ffffed1003620c71
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: 0000000000000069 R14: ffff88807c18e678 R15: ffffea0001c2da80
FS:  00007f2b186886c0(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f2b102b4000 CR3: 0000000022bd1000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/04/07 14:11 linux-5.15.y 9465fef4ae35 ca620dd8 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan kernel BUG in ext4_write_inline_data_end
2023/05/30 10:48 linux-5.15.y 1fe619a7d252 cf184559 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan kernel BUG in ext4_write_inline_data_end
2023/08/09 13:21 linux-5.15.y c275eaaaa342 8ad1a287 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in ext4_write_inline_data_end
* Struck through repros no longer work on HEAD.