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: 331d, last: 5d22h
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 (6)
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 468d 564d 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 492d 1315d 22/26 fixed on 2023/02/24 13:50
upstream kernel BUG in ext4_write_inline_data ext4 C error 33 19d 432d 0/26 upstream: reported C repro on 2023/03/17 03:16
linux-4.19 kernel BUG in ext4_write_inline_data_end ext4 C error 12 446d 1192d 0/1 upstream: reported C repro on 2021/02/14 13:39
android-5-10 kernel BUG in ext4_write_inline_data ext4 C error inconclusive 3 464d 563d 2/2 fixed on 2023/05/04 14:51
android-54 kernel BUG in ext4_write_inline_data C 3 525d 563d 2/2 fixed on 2023/04/05 17:17
Last patch testing requests (7)
Created Duration User Patch Repo Result
2024/05/08 18:31 7m retest repro android14-6.1 report log
2024/05/08 18:31 13m retest repro android14-6.1 report log
2024/03/27 18:56 1h29m retest repro android14-6.1 report log
2024/03/16 12:50 20m retest repro android14-6.1 report log
2024/02/16 21:06 11m retest repro android14-6.1 report log
2024/01/17 17:43 9m retest repro android14-6.1 report log
2024/01/17 17:43 12m retest repro android14-6.1 OK log
Fix bisection attempts (3)
Created Duration User Patch Repo Result
2024/02/23 15:19 1h16m bisect fix android14-6.1 job log (0) log
2023/12/08 17:40 1h39m bisect fix android14-6.1 job log (0) log
2023/10/09 23:56 1h27m bisect fix android14-6.1 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: 304 Comm: syz-executor253 Not tainted 6.1.75-syzkaller-00009-g274e3e96961d #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/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 90 a0 ca ff 4c 89 f2 e9 2f ff ff ff e8 c3 a7 83 ff 0f 0b e8 bc a7 83 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:ffffc90000c77768 EFLAGS: 00010293
RAX: ffffffff81f1c854 RBX: 000000000000003c RCX: ffff88812356d100
RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000010000000006
RBP: ffffc90000c777d0 R08: ffffffff81f1c5dd R09: ffffed102011444b
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000010000000005
R13: ffffc90000c77860 R14: 0000010000000006 R15: 0000000000000001
FS:  0000555557457380(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055bc84d6dc50 CR3: 0000000121e07000 CR4: 00000000003506a0
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:3081
 generic_perform_write+0x3e6/0x5c0 mm/filemap.c:3849
 ext4_buffered_write_iter+0x360/0x640 fs/ext4/file.c:285
 ext4_file_write_iter+0x194/0x1570
 call_write_iter include/linux/fs.h:2258 [inline]
 new_sync_write fs/read_write.c:491 [inline]
 vfs_write+0x902/0xeb0 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
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f8bfb3df679
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:00007ffea6b4d7e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000012
RAX: ffffffffffffffda RBX: 00007ffea6b4d9b8 RCX: 00007f8bfb3df679
RDX: 0000000000000001 RSI: 0000000020000140 RDI: 0000000000000004
RBP: 00007f8bfb453610 R08: 0000000000000000 R09: 00007ffea6b4d9b8
R10: 0000010000000005 R11: 0000000000000246 R12: 0000000000000001
R13: 00007ffea6b4d9a8 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 90 a0 ca ff 4c 89 f2 e9 2f ff ff ff e8 c3 a7 83 ff 0f 0b e8 bc a7 83 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:ffffc90000c77768 EFLAGS: 00010293
RAX: ffffffff81f1c854 RBX: 000000000000003c RCX: ffff88812356d100
RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000010000000006
RBP: ffffc90000c777d0 R08: ffffffff81f1c5dd R09: ffffed102011444b
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000010000000005
R13: ffffc90000c77860 R14: 0000010000000006 R15: 0000000000000001
FS:  0000555557457380(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055bc84d6dc50 CR3: 0000000121e07000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (14):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
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/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.