syzbot


kernel BUG in ext4_write_inline_data_end

Status: fixed on 2024/01/30 23:26
Subsystems: ext4
[Documentation on labels]
Reported-by: syzbot+198e7455f3a4f38b838a@syzkaller.appspotmail.com
Fix commit: 6f861765464f fs: Block writes to mounted block devices
First crash: 587d, last: 285d
Cause bisection: failed (error log, bisect log)
  
Fix bisection: fixed by (bisect log) :
commit 6f861765464f43a71462d52026fbddfc858239a5
Author: Jan Kara <jack@suse.cz>
Date: Wed Nov 1 17:43:10 2023 +0000

  fs: Block writes to mounted block devices

  
Discussions (6)
Title Replies (including bot) Last reply
[syzbot] [ext4?] kernel BUG in ext4_write_inline_data_end 1 (3) 2024/01/26 11:05
[syzbot] Monthly ext4 report (Dec 2023) 0 (1) 2023/12/10 10:05
[syzbot] Monthly ext4 report (Nov 2023) 0 (1) 2023/11/08 23:44
[syzbot] Monthly ext4 report (Sep 2023) 0 (1) 2023/09/07 09:25
[syzbot] Monthly ext4 report (Aug 2023) 0 (1) 2023/08/07 07:27
[syzbot] Monthly ext4 report (Jul 2023) 0 (1) 2023/07/06 14:18
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 629d 1452d 22/28 fixed on 2023/02/24 13:50
android-54 kernel BUG in ext4_write_inline_data_end C 4 813d 946d 2/2 fixed on 2022/09/27 22:24
android-5-10 kernel BUG in ext4_write_inline_data_end C error 3 880d 946d 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 9 6d06h 377d 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 164d 831d 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 38 21d 573d 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 40d 326d 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 671d 731d 2/2 fixed on 2023/02/02 00:40
linux-4.19 kernel BUG in ext4_write_inline_data_end ext4 C error 12 582d 1329d 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 4 65d 494d 0/3 upstream: reported C repro on 2023/05/30 10:48
android-54 kernel BUG in ext4_write_inline_data_end (2) ext4 syz 9 74d 619d 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 669d 1255d 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 69 3d05h 246d 0/28 upstream: reported C repro on 2024/02/02 09:24
Last patch testing requests (17)
Created Duration User Patch Repo Result
2023/12/25 08:17 15m retest repro upstream report log
2023/12/19 15:31 20m retest repro upstream report log
2023/12/19 14:03 54m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci report log
2023/11/25 17:46 25m retest repro upstream report log
2023/11/25 17:55 21m retest repro upstream report log
2023/11/25 17:46 37m retest repro upstream report log
2023/11/25 17:55 14m retest repro upstream report log
2023/09/27 02:09 18m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci report log
2023/09/12 23:07 16m retest repro upstream report log
2023/09/12 23:07 23m retest repro upstream OK log
2023/07/03 02:27 40m tytso@mit.edu patch git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git dev report log
2023/07/02 20:11 15m tytso@mit.edu patch git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git dev error
2023/07/01 23:33 17m tytso@mit.edu patch git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git dev report log
2023/07/01 17:05 2h41m tytso@mit.edu patch git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git dev report log
2023/07/01 03:15 14m tytso@mit.edu patch git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git dev report log
2023/06/30 20:41 14m tytso@mit.edu patch git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git dev report log
2023/06/30 05:28 14m tytso@mit.edu patch git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git dev report log
Fix bisection attempts (2)
Created Duration User Patch Repo Result
2024/01/24 21:32 5h43m bisect fix upstream OK (1) job log
2023/10/16 05:06 2h26m bisect fix upstream OK (0) job log log

Sample crash report:
------------[ cut here ]------------
kernel BUG at fs/ext4/inline.c:765!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 8682 Comm: syz-executor303 Not tainted 6.4.0-rc6-syzkaller-00279-g8c1f0c38b310 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023
RIP: 0010:ext4_write_inline_data_end+0x84f/0xd20 fs/ext4/inline.c:765
Code: 31 ff 89 de e8 32 06 5a ff 85 db 0f 84 f0 fc ff ff e8 05 0a 5a ff 48 89 ee 31 ff e8 0b b2 14 00 e9 c0 fc ff ff e8 f1 09 5a ff <0f> 0b e8 ea 09 5a ff 48 89 ef e8 52 b0 01 00 31 ff 41 89 c7 89 c6
RSP: 0018:ffffc9000cbc7918 EFLAGS: 00010293
RAX: 0000000000000000 RBX: 0000000000000020 RCX: 0000000000000000
RDX: ffff88807c062000 RSI: ffffffff82295dbf RDI: 0000000000000001
RBP: ffff88806e0d83f0 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000001 R12: ffffea0001eda840
R13: 0000000000000020 R14: ffff88806e0d8190 R15: ffffc9000cbc7968
FS:  00007fc5f2c95700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fc5faeb7000 CR3: 0000000074321000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 ext4_write_end+0x4be/0xc90 fs/ext4/inode.c:1290
 ext4_da_write_end+0x4d4/0xad0 fs/ext4/inode.c:2977
 generic_perform_write+0x316/0x570 mm/filemap.c:3940
 ext4_buffered_write_iter+0x15b/0x460 fs/ext4/file.c:289
 ext4_file_write_iter+0xbe0/0x1740 fs/ext4/file.c:710
 call_write_iter include/linux/fs.h:1868 [inline]
 new_sync_write fs/read_write.c:491 [inline]
 vfs_write+0x945/0xd50 fs/read_write.c:584
 ksys_write+0x12b/0x250 fs/read_write.c:637
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7fc5faf0af69
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 71 15 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:00007fc5f2c95208 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fc5faf917b8 RCX: 00007fc5faf0af69
RDX: 0000000000000020 RSI: 0000000020000040 RDI: 0000000000000004
RBP: 00007fc5faf917b0 R08: 00007fc5f2c95700 R09: 0000000000000000
R10: 00007fc5f2c95700 R11: 0000000000000246 R12: 00007fc5faf917bc
R13: 00007fff53fae30f R14: 00007fc5f2c95300 R15: 0000000000022000
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:ext4_write_inline_data_end+0x84f/0xd20 fs/ext4/inline.c:765
Code: 31 ff 89 de e8 32 06 5a ff 85 db 0f 84 f0 fc ff ff e8 05 0a 5a ff 48 89 ee 31 ff e8 0b b2 14 00 e9 c0 fc ff ff e8 f1 09 5a ff <0f> 0b e8 ea 09 5a ff 48 89 ef e8 52 b0 01 00 31 ff 41 89 c7 89 c6
RSP: 0018:ffffc9000cbc7918 EFLAGS: 00010293
RAX: 0000000000000000 RBX: 0000000000000020 RCX: 0000000000000000
RDX: ffff88807c062000 RSI: ffffffff82295dbf RDI: 0000000000000001
RBP: ffff88806e0d83f0 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000001 R12: ffffea0001eda840
R13: 0000000000000020 R14: ffff88806e0d8190 R15: ffffc9000cbc7968
FS:  00007fc5f2c95700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fc5faeb7000 CR3: 0000000074321000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (32):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/06/19 06:25 upstream 8c1f0c38b310 f3921d4d .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-selinux-root kernel BUG in ext4_write_inline_data_end
2023/05/07 12:50 upstream fc4354c6e5c2 90c93c40 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs kernel BUG in ext4_write_inline_data_end
2023/05/07 04:02 upstream 994e2419f1e7 90c93c40 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-smack-root kernel BUG in ext4_write_inline_data_end
2023/03/30 04:02 upstream ffe78bbd5121 f325deb0 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-smack-root kernel BUG in ext4_write_inline_data_end
2023/02/26 15:42 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 2ebd1fbb946d ee50e71c .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-gce-arm64 kernel BUG in ext4_write_inline_data_end
2023/12/05 12:00 upstream bee0e7762ad2 f819d6f7 .config console log report syz [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-smack-root kernel BUG in ext4_write_inline_data_end
2023/11/04 19:05 upstream 90b0c2b2edd1 500bfdc4 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs kernel BUG in ext4_write_inline_data_end
2023/06/23 07:59 upstream 8a28a0b6f1a1 09ffe269 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-smack-root kernel BUG in ext4_write_inline_data_end
2023/06/17 12:46 upstream 1639fae5132b f3921d4d .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-smack-root kernel BUG in ext4_write_inline_data_end
2023/11/04 17:08 upstream 90b0c2b2edd1 500bfdc4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in ext4_write_inline_data_end
2023/08/14 16:33 upstream 2ccdd1b13c59 39990d51 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in ext4_write_inline_data_end
2023/08/14 08:01 upstream 2ccdd1b13c59 39990d51 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in ext4_write_inline_data_end
2023/07/31 12:47 upstream 5d0c230f1de8 2a0d0f29 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in ext4_write_inline_data_end
2023/07/15 03:44 upstream bde7f150276b 35d9ecc5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in ext4_write_inline_data_end
2023/06/26 15:00 upstream 6995e2de6891 4cd5bb25 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in ext4_write_inline_data_end
2023/06/24 04:11 upstream 61dabacdad4e 09ffe269 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root kernel BUG in ext4_write_inline_data_end
2023/06/21 23:53 upstream dad9774deaf1 09ffe269 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root kernel BUG in ext4_write_inline_data_end
2023/06/20 09:10 upstream 692b7dc87ca6 09ffe269 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root kernel BUG in ext4_write_inline_data_end
2023/06/19 17:13 upstream 45a3e24f65e9 d521bc56 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root kernel BUG in ext4_write_inline_data_end
2023/06/12 12:32 upstream 858fd168a95c 7086cdb9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root kernel BUG in ext4_write_inline_data_end
2023/06/12 00:36 upstream 4c605260bc60 7086cdb9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root kernel BUG in ext4_write_inline_data_end
2023/06/11 20:17 upstream 4c605260bc60 7086cdb9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root kernel BUG in ext4_write_inline_data_end
2023/06/11 14:41 upstream 022ce8862dff 7086cdb9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root kernel BUG in ext4_write_inline_data_end
2023/06/10 00:54 upstream 64569520920a 7086cdb9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root kernel BUG in ext4_write_inline_data_end
2023/06/08 21:12 upstream 25041a4c02c7 7086cdb9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root kernel BUG in ext4_write_inline_data_end
2023/06/04 19:12 upstream 9561de3a55be a4ae4f42 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root kernel BUG in ext4_write_inline_data_end
2023/06/04 02:19 upstream 51f269a6ecc7 a4ae4f42 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in ext4_write_inline_data_end
2023/11/11 17:36 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 8de1e7afcc1c 6d6dbf8a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 kernel BUG in ext4_write_inline_data_end
2023/04/26 20:35 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 14f8db1c0f9a 19a3dabe .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 kernel BUG in ext4_write_inline_data_end
2023/04/18 13:29 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 327bf9bb94cf 436577a9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 kernel BUG in ext4_write_inline_data_end
2023/04/17 19:50 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 327bf9bb94cf c6ec7083 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 kernel BUG in ext4_write_inline_data_end
2023/04/15 18:03 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 1f5b16c51aef ec410564 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 kernel BUG in ext4_write_inline_data_end
* Struck through repros no longer work on HEAD.