syzbot


kernel BUG in ext4_write_inline_data

Status: upstream: reported C repro on 2023/07/02 21:30
Bug presence: origin:lts
[Documentation on labels]
Reported-by: syzbot+2d1829aea6073b10c7e6@syzkaller.appspotmail.com
First crash: 514d, last: 4d02h
Cause bisection: failed (error log, bisect log)
  
Bug presence (2)
Date Name Commit Repro Result
2023/10/10 lts (merge base) b1644a0031cf C [report] kernel BUG in ext4_write_inline_data
2023/10/10 upstream (ToT) 94f6f0550c62 C Didn't crash
Similar bugs (7)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 kernel BUG in ext4_write_inline_data ext4 C 4 652d 747d 0/1 upstream: reported C repro on 2022/11/04 18:44
upstream kernel BUG at fs/ext4/inline.c:LINE! ext4 C done done 76 675d 1499d 22/28 fixed on 2023/02/24 13:50
upstream kernel BUG in ext4_write_inline_data ext4 C error 36 129d 615d 27/28 fixed on 2024/08/22 01:52
linux-4.19 kernel BUG in ext4_write_inline_data_end ext4 C error 12 629d 1376d 0/1 upstream: reported C repro on 2021/02/14 13:39
upstream kernel BUG in ext4_write_inline_data (2) ext4 C error 4 4d01h 7h31m 0/28 upstream: reported C repro on 2024/11/21 09:00
android-5-10 kernel BUG in ext4_write_inline_data ext4 C error inconclusive 3 648d 746d 2/2 fixed on 2023/05/04 14:51
android-54 kernel BUG in ext4_write_inline_data C 3 708d 746d 2/2 fixed on 2023/04/05 17:17
Last patch testing requests (8)
Created Duration User Patch Repo Result
2024/10/31 20:04 9m retest repro android14-6.1 report log
2024/10/17 13:01 1h17m retest repro android14-6.1 report log
2024/10/17 13:01 23m retest repro android14-6.1 report log
2024/09/26 00:51 55m retest repro android14-6.1 report log
2024/09/26 00:51 22m retest repro android14-6.1 report log
2024/09/26 00:51 11m retest repro android14-6.1 report log
2024/08/22 12:03 7m retest repro android14-6.1 report log
2024/08/08 11:27 14m retest repro android14-6.1 report log
Fix bisection attempts (3)
Created Duration User Patch Repo Result
2024/02/23 15:19 1h16m bisect fix android14-6.1 OK (0) job log log
2023/12/08 17:40 1h39m bisect fix android14-6.1 OK (0) job log log
2023/10/09 23:56 1h27m bisect fix android14-6.1 OK (0) job log log

Sample crash report:
------------[ cut here ]------------
kernel BUG at fs/ext4/inline.c:236!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 294 Comm: syz-executor296 Not tainted 6.1.112-syzkaller-00110-g976b055754d7 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:ext4_write_inline_data+0x3a4/0x3b0 fs/ext4/inline.c:236
Code: 07 fe c1 38 c1 0f 8c 42 ff ff ff 4c 89 e7 49 89 d6 e8 b0 66 ca ff 4c 89 f2 e9 2f ff ff ff e8 23 fd 82 ff 0f 0b e8 1c fd 82 ff <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 55 48 89 e5 41 57 41 56 41 55
RSP: 0018:ffffc90000ec7768 EFLAGS: 00010293
RAX: ffffffff81f2a6f4 RBX: 000000000000003c RCX: ffff888111410000
RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000010000000006
RBP: ffffc90000ec77d0 R08: ffffffff81f2a47d R09: ffffed1021ef644b
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000010000000005
R13: ffffc90000ec7860 R14: 0000010000000006 R15: 0000000000000001
FS:  000055557499b380(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055ead33c4e18 CR3: 0000000126eaa000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 ext4_write_inline_data_end+0x328/0xa90 fs/ext4/inline.c:777
 ext4_da_write_end+0x1ea/0x9a0 fs/ext4/inode.c:3092
 generic_perform_write+0x3e6/0x5c0 mm/filemap.c:3860
 ext4_buffered_write_iter+0x360/0x640 fs/ext4/file.c:285
 ext4_file_write_iter+0x194/0x1570
 call_write_iter include/linux/fs.h:2274 [inline]
 new_sync_write fs/read_write.c:491 [inline]
 vfs_write+0xaf6/0xed0 fs/read_write.c:584
 ksys_pwrite64 fs/read_write.c:699 [inline]
 __do_sys_pwrite64 fs/read_write.c:709 [inline]
 __se_sys_pwrite64 fs/read_write.c:706 [inline]
 __x64_sys_pwrite64+0x1a6/0x230 fs/read_write.c:706
 x64_sys_call+0xa6/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:19
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f2924c4c6b9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 61 17 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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffed45523e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000012
RAX: ffffffffffffffda RBX: 00007ffed45525b8 RCX: 00007f2924c4c6b9
RDX: 0000000000000001 RSI: 0000000020000300 RDI: 0000000000000004
RBP: 00007f2924cc0610 R08: 00007ffed45525b8 R09: 00007ffed45525b8
R10: 0000010000000005 R11: 0000000000000246 R12: 0000000000000001
R13: 00007ffed45525a8 R14: 0000000000000001 R15: 0000000000000001
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:ext4_write_inline_data+0x3a4/0x3b0 fs/ext4/inline.c:236
Code: 07 fe c1 38 c1 0f 8c 42 ff ff ff 4c 89 e7 49 89 d6 e8 b0 66 ca ff 4c 89 f2 e9 2f ff ff ff e8 23 fd 82 ff 0f 0b e8 1c fd 82 ff <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 55 48 89 e5 41 57 41 56 41 55
RSP: 0018:ffffc90000ec7768 EFLAGS: 00010293
RAX: ffffffff81f2a6f4 RBX: 000000000000003c RCX: ffff888111410000
RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000010000000006
RBP: ffffc90000ec77d0 R08: ffffffff81f2a47d R09: ffffed1021ef644b
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000010000000005
R13: ffffc90000ec7860 R14: 0000010000000006 R15: 0000000000000001
FS:  000055557499b380(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055ead33c4e18 CR3: 0000000126eaa000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (20):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/11/07 05:11 android14-6.1 976b055754d7 df3dc63b .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-6-1 kernel BUG in ext4_write_inline_data
2024/09/11 12:48 android14-6.1 d02968a02321 8ab55d0e .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-6-1 kernel BUG in ext4_write_inline_data
2024/05/16 11:02 android14-6.1 274e3e96961d ef5d53ed .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
2024/03/02 12:29 android14-6.1 09ca5740fbbe 25905f5d .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-6-1 kernel BUG in ext4_write_inline_data
2023/08/13 09:31 android14-6.1 d7dacaa439c7 39990d51 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-6-1 kernel BUG in ext4_write_inline_data
2023/07/02 21:22 android14-6.1 ed2a228522b9 bfc47836 .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
2024/04/24 13:44 android14-6.1 d0c6724b0f6f 21339d7b .config console log report syz [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-6-1 kernel BUG in ext4_write_inline_data
2024/01/03 17:41 android14-6.1 2c085909e7a7 fb427a07 .config console log report syz [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-6-1 kernel BUG in ext4_write_inline_data
2024/11/17 13:37 android14-6.1 defe0024cfb0 cfe3a04a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_write_inline_data
2024/11/17 02:31 android14-6.1 defe0024cfb0 cfe3a04a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_write_inline_data
2024/09/11 12:32 android14-6.1 d02968a02321 8ab55d0e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_write_inline_data
2024/09/11 12:32 android14-6.1 d02968a02321 8ab55d0e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_write_inline_data
2024/04/14 15:58 android14-6.1 b76ed1185975 c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_write_inline_data
2024/04/08 08:40 android14-6.1 60534eef4739 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_write_inline_data
2024/01/18 14:21 android14-6.1 899194d7e909 239abf84 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_write_inline_data
2024/01/03 15:21 android14-6.1 2c085909e7a7 fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_write_inline_data
2023/10/25 00:01 android14-6.1 cd4ea97d2adf 17e6d526 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_write_inline_data
2023/09/07 15:05 android14-6.1 84131c988b4a 72324844 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_write_inline_data
2023/08/07 22:31 android14-6.1 3926cc6ef8cc b1b6ae3d .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_write_inline_data
2023/06/26 07:29 android14-6.1 fa9645687ea5 79782afc .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_write_inline_data
* Struck through repros no longer work on HEAD.