syzbot


kernel BUG in ext4_write_inline_data_end

Status: upstream: reported C repro on 2023/03/12 18:03
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+8ae1605a88a0c5f7ad95@syzkaller.appspotmail.com
First crash: 437d, last: 34d
Bug presence (1)
Date Name Commit Repro Result
2023/05/04 upstream (ToT) 3c4aa4434377 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 493d 1316d 22/26 fixed on 2023/02/24 13:50
android-54 kernel BUG in ext4_write_inline_data_end C 4 677d 810d 2/2 fixed on 2022/09/27 22:24
android-5-10 kernel BUG in ext4_write_inline_data_end C error 3 743d 810d 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 6d05h 241d 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 28d 695d 2/2 upstream: reported C repro on 2022/06/27 15:18
android-6-1 kernel BUG in ext4_write_inline_data_end origin:lts C error 1 11d 190d 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 534d 595d 2/2 fixed on 2023/02/02 00:40
linux-4.19 kernel BUG in ext4_write_inline_data_end ext4 C error 12 446d 1193d 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 45d 358d 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 149d 447d 26/26 fixed on 2024/01/30 23:26
android-54 kernel BUG in ext4_write_inline_data_end (2) ext4 syz 9 8d10h 483d 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 533d 1118d 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 2d00h 110d 0/26 upstream: reported C repro on 2024/02/02 09:24
Fix bisection attempts (6)
Created Duration User Patch Repo Result
2024/03/14 20:06 2h22m bisect fix linux-6.1.y job log (0) log
2024/02/09 15:06 2h00m bisect fix linux-6.1.y job log (0) log
2023/12/18 08:23 1h56m bisect fix linux-6.1.y job log (0) log
2023/10/24 19:30 1h58m bisect fix linux-6.1.y job log (0) log
2023/06/01 04:50 40m bisect fix linux-6.1.y job log (0) log
2023/05/01 14:48 39m bisect fix linux-6.1.y job log (0) log

Sample crash report:
------------[ cut here ]------------
kernel BUG at fs/ext4/inline.c:236!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 3560 Comm: syz-executor393 Not tainted 6.1.62-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023
RIP: 0010:ext4_write_inline_data fs/ext4/inline.c:236 [inline]
RIP: 0010:ext4_write_inline_data_end+0xe46/0x10c0 fs/ext4/inline.c:777
Code: 00 00 31 ff e8 8b f2 52 ff 48 89 d8 48 25 ff 0f 00 00 74 78 e8 9b ee 52 ff e9 db 01 00 00 e8 91 ee 52 ff 0f 0b e8 8a ee 52 ff <0f> 0b 48 8b 1c 24 48 89 de 48 81 e6 ff 0f 00 00 31 ff e8 53 f2 52
RSP: 0018:ffffc90003cff240 EFLAGS: 00010293
RAX: ffffffff82379fe6 RBX: 000000000000003c RCX: ffff888028805940
RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000000000054000
RBP: ffffc90003cff368 R08: ffffffff82379593 R09: ffffed100fccec71
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: ffff888073a04690 R14: 0000000000054000 R15: ffff888073a048e8
FS:  00007fa730d246c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055c8e63c3fb8 CR3: 000000007298c000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 generic_perform_write+0x3e9/0x5e0 mm/filemap.c:3765
 ext4_buffered_write_iter+0x122/0x3a0 fs/ext4/file.c:285
 ext4_file_write_iter+0x1d2/0x18f0
 do_iter_write+0x6e6/0xc50 fs/read_write.c:861
 iter_file_splice_write+0x806/0xfa0 fs/splice.c:686
 do_splice_from fs/splice.c:764 [inline]
 direct_splice_actor+0xe3/0x1c0 fs/splice.c:931
 splice_direct_to_actor+0x4c0/0xbd0 fs/splice.c:886
 do_splice_direct+0x27f/0x3c0 fs/splice.c:974
 do_sendfile+0x61c/0xff0 fs/read_write.c:1255
 __do_sys_sendfile64 fs/read_write.c:1323 [inline]
 __se_sys_sendfile64+0x178/0x1e0 fs/read_write.c:1309
 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:0x7fa730d67579
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 81 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:00007fa730d24218 EFLAGS: 00000246 ORIG_RAX: 0000000000000028
RAX: ffffffffffffffda RBX: 00007fa730dee608 RCX: 00007fa730d67579
RDX: 0000000000000000 RSI: 0000000000000005 RDI: 0000000000000004
RBP: 00007fa730dee600 R08: 0000000000000000 R09: 0000000000000000
R10: 0001000000201005 R11: 0000000000000246 R12: 00007fa730dbb840
R13: 00007fa730dbb0c0 R14: 0000000020000f40 R15: 0030656c69662f2e
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:ext4_write_inline_data fs/ext4/inline.c:236 [inline]
RIP: 0010:ext4_write_inline_data_end+0xe46/0x10c0 fs/ext4/inline.c:777
Code: 00 00 31 ff e8 8b f2 52 ff 48 89 d8 48 25 ff 0f 00 00 74 78 e8 9b ee 52 ff e9 db 01 00 00 e8 91 ee 52 ff 0f 0b e8 8a ee 52 ff <0f> 0b 48 8b 1c 24 48 89 de 48 81 e6 ff 0f 00 00 31 ff e8 53 f2 52
RSP: 0018:ffffc90003cff240 EFLAGS: 00010293
RAX: ffffffff82379fe6 RBX: 000000000000003c RCX: ffff888028805940
RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000000000054000
RBP: ffffc90003cff368 R08: ffffffff82379593 R09: ffffed100fccec71
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: ffff888073a04690 R14: 0000000000054000 R15: ffff888073a048e8
FS:  00007fa730d246c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055c8e63c3fb8 CR3: 000000007298c000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (36):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/11/18 07:37 linux-6.1.y fb2635ac69ab cb976f63 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan kernel BUG in ext4_write_inline_data_end
2023/09/18 16:37 linux-6.1.y 09045dae0d90 0b6a67ac .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan kernel BUG in ext4_write_inline_data_end
2023/09/15 10:24 linux-6.1.y 09045dae0d90 0b6a67ac .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan kernel BUG in ext4_write_inline_data_end
2023/03/31 22:36 linux-6.1.y 3b29299e5f60 f325deb0 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan kernel BUG in ext4_write_inline_data_end
2023/08/21 12:10 linux-6.1.y 6c44e13dc284 d216d8a0 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan kernel BUG in ext4_write_inline_data_end
2023/08/16 03:06 linux-6.1.y 1321ab403b38 39990d51 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan kernel BUG in ext4_write_inline_data_end
2023/07/23 00:59 linux-6.1.y a456e1743881 27cbe77f .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan kernel BUG in ext4_write_inline_data_end
2023/06/06 23:50 linux-6.1.y 76ba310227d2 a4ae4f42 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan kernel BUG in ext4_write_inline_data_end
2023/03/12 18:02 linux-6.1.y 1cc3fcf63192 5205ef30 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan kernel BUG in ext4_write_inline_data_end
2024/04/18 09:38 linux-6.1.y 6741e066ec76 af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_write_inline_data_end
2024/03/31 12:54 linux-6.1.y e5cd595e23c1 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_write_inline_data_end
2024/01/02 15:34 linux-6.1.y a507f147e6f0 fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_write_inline_data_end
2024/04/06 22:03 linux-6.1.y 347385861c50 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in ext4_write_inline_data_end
2023/08/10 22:53 linux-6.1.y 0a4a7855302d da3c3ef8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_write_inline_data_end
2023/08/04 21:19 linux-6.1.y 52a953d0934b cdae481e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_write_inline_data_end
2023/08/02 23:37 linux-6.1.y d2a6dc4eaf6d b178af49 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_write_inline_data_end
2023/08/02 21:28 linux-6.1.y d2a6dc4eaf6d b178af49 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_write_inline_data_end
2023/08/01 17:33 linux-6.1.y d2a6dc4eaf6d df07ffe8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_write_inline_data_end
2023/07/27 09:42 linux-6.1.y d2a6dc4eaf6d 41fe1bae .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_write_inline_data_end
2023/07/26 22:39 linux-6.1.y 5302e81aa209 41fe1bae .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_write_inline_data_end
2023/07/26 12:34 linux-6.1.y 5302e81aa209 2a509c27 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_write_inline_data_end
2023/07/17 18:58 linux-6.1.y 61fd484b2cf6 20f8b3c2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_write_inline_data_end
2023/07/17 02:08 linux-6.1.y 61fd484b2cf6 35d9ecc5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_write_inline_data_end
2023/07/14 22:02 linux-6.1.y 61fd484b2cf6 35d9ecc5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_write_inline_data_end
2023/07/14 11:28 linux-6.1.y 61fd484b2cf6 d624500f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_write_inline_data_end
2023/07/14 07:25 linux-6.1.y 61fd484b2cf6 d624500f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_write_inline_data_end
2023/07/13 23:06 linux-6.1.y 61fd484b2cf6 55eda22f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_write_inline_data_end
2023/07/13 08:14 linux-6.1.y 61fd484b2cf6 86081196 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_write_inline_data_end
2023/07/12 21:42 linux-6.1.y 61fd484b2cf6 979d5fe2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_write_inline_data_end
2023/07/12 19:17 linux-6.1.y 61fd484b2cf6 979d5fe2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_write_inline_data_end
2023/07/10 21:07 linux-6.1.y 61fd484b2cf6 d47e94ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_write_inline_data_end
2023/07/07 06:58 linux-6.1.y 61fd484b2cf6 22ae5830 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_write_inline_data_end
2023/07/06 11:17 linux-6.1.y 61fd484b2cf6 ba5dba36 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_write_inline_data_end
2023/07/02 12:44 linux-6.1.y 0f4ac6b4c5f0 bfc47836 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_write_inline_data_end
2023/06/21 17:45 linux-6.1.y e84a4e368abe 79782afc .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_write_inline_data_end
2023/06/09 13:33 linux-6.1.y 2f3918bc53fb 058b3a5a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_write_inline_data_end
* Struck through repros no longer work on HEAD.