syzbot


kernel BUG in ext4_mark_iloc_dirty

Status: upstream: reported C repro on 2024/04/13 22:22
Reported-by: syzbot+c9a076d9fe9cddb8717c@syzkaller.appspotmail.com
First crash: 173d, last: 11d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-54 kernel BUG in ext4_mark_iloc_dirty C 3 2h29m 156d 0/2 upstream: reported C repro on 2024/04/30 10:27
Last patch testing requests (5)
Created Duration User Patch Repo Result
2024/09/22 21:39 5m retest repro android13-5.10-lts report log
2024/09/22 21:39 13m retest repro android13-5.10-lts OK log
2024/09/22 21:39 13m retest repro android13-5.10-lts OK log
2024/06/04 07:38 12m retest repro android13-5.10-lts report log
2024/04/27 23:33 4m retest repro android13-5.10-lts report log

Sample crash report:
------------[ cut here ]------------
kernel BUG at fs/ext4/inode.c:5263!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 304 Comm: syz-executor355 Not tainted 5.10.210-syzkaller-00394-g70b6ab09a34b #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
RIP: 0010:ext4_do_update_inode fs/ext4/inode.c:5262 [inline]
RIP: 0010:ext4_mark_iloc_dirty+0x3e51/0x3e60 fs/ext4/inode.c:5858
Code: 6d ca ff e9 0f f1 ff ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 21 f1 ff ff 48 89 df e8 c9 6d ca ff e9 14 f1 ff ff e8 2f ed 8c ff <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 55 48 89 e5 41 57 41
RSP: 0018:ffffc90000ca6fc0 EFLAGS: 00010293
RAX: ffffffff81ddbcd1 RBX: 0000000000000000 RCX: ffff88811eaf2780
RDX: 0000000000000000 RSI: 0000000000000005 RDI: 0000000000000000
RBP: ffffc90000ca70d0 R08: ffffffff81dd98ed R09: ffffed10220be11d
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: 0000000000000005 R14: 0000000000000000 R15: ffff88811eda1000
FS:  00007f48011a06c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f47f8dbf000 CR3: 000000011eb93000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 __ext4_mark_inode_dirty+0x4fc/0x7b0 fs/ext4/inode.c:6060
 __ext4_ext_dirty+0x133/0x1f0 fs/ext4/extents.c:182
 ext4_ext_rm_leaf fs/ext4/extents.c:2740 [inline]
 ext4_ext_remove_space+0x201a/0x4e10 fs/ext4/extents.c:2952
 ext4_ext_truncate+0x17f/0x200 fs/ext4/extents.c:4413
 ext4_truncate+0xb19/0x1220 fs/ext4/inode.c:4355
 ext4_setattr+0xee2/0x1780 fs/ext4/inode.c:5635
 notify_change+0xbb6/0xe60 fs/attr.c:410
 do_truncate+0x1ed/0x2d0 fs/open.c:65
 handle_truncate fs/namei.c:3054 [inline]
 do_open fs/namei.c:3395 [inline]
 path_openat+0x298d/0x3000 fs/namei.c:3509
 do_filp_open+0x21c/0x460 fs/namei.c:3536
 do_sys_openat2+0x13f/0x6f0 fs/open.c:1217
 do_sys_open fs/open.c:1233 [inline]
 __do_sys_creat fs/open.c:1307 [inline]
 __se_sys_creat fs/open.c:1301 [inline]
 __x64_sys_creat+0x11f/0x160 fs/open.c:1301
 do_syscall_64+0x34/0x70
 entry_SYSCALL_64_after_hwframe+0x61/0xc6
RIP: 0033:0x7f48011e38b9
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:00007f48011a0218 EFLAGS: 00000246 ORIG_RAX: 0000000000000055
RAX: ffffffffffffffda RBX: 00007f480126b608 RCX: 00007f48011e38b9
RDX: 00007f48011e38b9 RSI: 0000000000000000 RDI: 0000000020000140
RBP: 00007f480126b600 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f4801237d98
R13: 0030656c69662f2e R14: 0030656c69662f30 R15: 2f30656c69662f2e
Modules linked in:
---[ end trace 76265d9e99675413 ]---
RIP: 0010:ext4_do_update_inode fs/ext4/inode.c:5262 [inline]
RIP: 0010:ext4_mark_iloc_dirty+0x3e51/0x3e60 fs/ext4/inode.c:5858
Code: 6d ca ff e9 0f f1 ff ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 21 f1 ff ff 48 89 df e8 c9 6d ca ff e9 14 f1 ff ff e8 2f ed 8c ff <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 55 48 89 e5 41 57 41
RSP: 0018:ffffc90000ca6fc0 EFLAGS: 00010293
RAX: ffffffff81ddbcd1 RBX: 0000000000000000 RCX: ffff88811eaf2780
RDX: 0000000000000000 RSI: 0000000000000005 RDI: 0000000000000000
RBP: ffffc90000ca70d0 R08: ffffffff81dd98ed R09: ffffed10220be11d
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: 0000000000000005 R14: 0000000000000000 R15: ffff88811eda1000
FS:  00007f48011a06c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f47f8dbf000 CR3: 000000011eb93000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (67):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/04/30 10:48 android13-5.10-lts 70b6ab09a34b f10afd69 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro #1] [mounted in repro #2] ci2-android-5-10 kernel BUG in ext4_mark_iloc_dirty
2024/09/08 21:12 android13-5.10-lts 1c5354a314ea 9750182a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in ext4_mark_iloc_dirty
2024/09/01 21:30 android13-5.10-lts 1c5354a314ea 1eda0d14 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in ext4_mark_iloc_dirty
2024/08/25 22:12 android13-5.10-lts 0890c03b8b7d d7d32352 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in ext4_mark_iloc_dirty
2024/08/19 06:31 android13-5.10-lts 0890c03b8b7d dbc93b08 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in ext4_mark_iloc_dirty
2024/08/10 18:31 android13-5.10-lts fd58936f3c1f 6f4edef4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in ext4_mark_iloc_dirty
2024/08/10 01:40 android13-5.10-lts fd58936f3c1f a83d9288 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-5-10 kernel BUG in ext4_mark_iloc_dirty
2024/08/10 00:51 android13-5.10-lts fd58936f3c1f a83d9288 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in ext4_mark_iloc_dirty
2024/08/05 06:46 android13-5.10-lts fd58936f3c1f 1786a2a8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in ext4_mark_iloc_dirty
2024/08/05 03:05 android13-5.10-lts fd58936f3c1f 1786a2a8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in ext4_mark_iloc_dirty
2024/08/05 00:36 android13-5.10-lts fd58936f3c1f 1786a2a8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in ext4_mark_iloc_dirty
2024/08/04 21:01 android13-5.10-lts fd58936f3c1f 1786a2a8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in ext4_mark_iloc_dirty
2024/08/04 19:46 android13-5.10-lts fd58936f3c1f 1786a2a8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in ext4_mark_iloc_dirty
2024/08/04 11:54 android13-5.10-lts fd58936f3c1f 1786a2a8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in ext4_mark_iloc_dirty
2024/08/04 10:11 android13-5.10-lts fd58936f3c1f 1786a2a8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in ext4_mark_iloc_dirty
2024/08/03 05:23 android13-5.10-lts fd58936f3c1f 1786a2a8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in ext4_mark_iloc_dirty
2024/08/03 01:40 android13-5.10-lts fd58936f3c1f 1786a2a8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in ext4_mark_iloc_dirty
2024/08/02 09:51 android13-5.10-lts fd58936f3c1f 1e9c4cf3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in ext4_mark_iloc_dirty
2024/08/02 08:24 android13-5.10-lts fd58936f3c1f 1e9c4cf3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in ext4_mark_iloc_dirty
2024/07/31 17:04 android13-5.10-lts fd58936f3c1f 6fde257d .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in ext4_mark_iloc_dirty
2024/07/31 05:45 android13-5.10-lts fd58936f3c1f 6fde257d .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in ext4_mark_iloc_dirty
2024/07/29 08:25 android13-5.10-lts fd58936f3c1f 46eb10b7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in ext4_mark_iloc_dirty
2024/07/29 06:32 android13-5.10-lts fd58936f3c1f 46eb10b7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in ext4_mark_iloc_dirty
2024/07/29 04:49 android13-5.10-lts fd58936f3c1f 46eb10b7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in ext4_mark_iloc_dirty
2024/07/29 02:42 android13-5.10-lts fd58936f3c1f 46eb10b7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in ext4_mark_iloc_dirty
2024/07/28 21:11 android13-5.10-lts fd58936f3c1f 46eb10b7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in ext4_mark_iloc_dirty
2024/07/28 15:07 android13-5.10-lts fd58936f3c1f 46eb10b7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in ext4_mark_iloc_dirty
2024/07/28 06:52 android13-5.10-lts fd58936f3c1f 46eb10b7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in ext4_mark_iloc_dirty
2024/07/26 22:54 android13-5.10-lts fd58936f3c1f 46eb10b7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in ext4_mark_iloc_dirty
2024/07/26 22:54 android13-5.10-lts fd58936f3c1f 46eb10b7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in ext4_mark_iloc_dirty
2024/07/26 09:28 android13-5.10-lts fd58936f3c1f 3f86dfed .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in ext4_mark_iloc_dirty
2024/07/23 06:42 android13-5.10-lts 1240968f7644 708c10c4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in ext4_mark_iloc_dirty
2024/07/22 14:24 android13-5.10-lts 1240968f7644 df655b64 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in ext4_mark_iloc_dirty
2024/07/21 14:32 android13-5.10-lts 1240968f7644 b88348e9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in ext4_mark_iloc_dirty
2024/07/16 02:30 android13-5.10-lts 3feee789f446 e8709b21 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in ext4_mark_iloc_dirty
2024/07/16 02:30 android13-5.10-lts 3feee789f446 e8709b21 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in ext4_mark_iloc_dirty
2024/07/16 02:30 android13-5.10-lts 3feee789f446 e8709b21 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in ext4_mark_iloc_dirty
2024/07/16 02:29 android13-5.10-lts 3feee789f446 e8709b21 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in ext4_mark_iloc_dirty
2024/07/14 22:27 android13-5.10-lts 3feee789f446 eaeb5c15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in ext4_mark_iloc_dirty
2024/07/14 22:27 android13-5.10-lts 3feee789f446 eaeb5c15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in ext4_mark_iloc_dirty
2024/07/09 01:36 android13-5.10-lts 3feee789f446 bc23a442 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in ext4_mark_iloc_dirty
2024/06/30 22:14 android13-5.10-lts a4a2b7a82ee4 757f06b1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in ext4_mark_iloc_dirty
2024/06/30 13:26 android13-5.10-lts a4a2b7a82ee4 757f06b1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in ext4_mark_iloc_dirty
2024/06/30 01:00 android13-5.10-lts a4a2b7a82ee4 757f06b1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in ext4_mark_iloc_dirty
2024/06/28 09:14 android13-5.10-lts a4a2b7a82ee4 6ef39602 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in ext4_mark_iloc_dirty
2024/06/27 04:29 android13-5.10-lts a4a2b7a82ee4 c6d33a01 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in ext4_mark_iloc_dirty
2024/06/27 01:56 android13-5.10-lts a4a2b7a82ee4 c6d33a01 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in ext4_mark_iloc_dirty
2024/05/21 06:31 android13-5.10-lts 70b6ab09a34b c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in ext4_mark_iloc_dirty
2024/05/21 05:55 android13-5.10-lts 70b6ab09a34b c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in ext4_mark_iloc_dirty
2024/05/20 15:34 android13-5.10-lts 70b6ab09a34b c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in ext4_mark_iloc_dirty
2024/05/20 15:18 android13-5.10-lts 70b6ab09a34b c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in ext4_mark_iloc_dirty
2024/05/20 10:59 android13-5.10-lts 70b6ab09a34b c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in ext4_mark_iloc_dirty
2024/05/20 08:04 android13-5.10-lts 70b6ab09a34b c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in ext4_mark_iloc_dirty
2024/05/20 07:09 android13-5.10-lts 70b6ab09a34b c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in ext4_mark_iloc_dirty
2024/05/20 06:42 android13-5.10-lts 70b6ab09a34b c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in ext4_mark_iloc_dirty
2024/05/19 20:47 android13-5.10-lts 70b6ab09a34b c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in ext4_mark_iloc_dirty
2024/05/19 11:53 android13-5.10-lts 70b6ab09a34b c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in ext4_mark_iloc_dirty
2024/05/19 01:08 android13-5.10-lts 70b6ab09a34b c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in ext4_mark_iloc_dirty
2024/05/19 01:08 android13-5.10-lts 70b6ab09a34b c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in ext4_mark_iloc_dirty
2024/05/18 22:44 android13-5.10-lts 70b6ab09a34b c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in ext4_mark_iloc_dirty
2024/05/18 10:21 android13-5.10-lts 70b6ab09a34b c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in ext4_mark_iloc_dirty
2024/05/18 06:12 android13-5.10-lts 70b6ab09a34b c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in ext4_mark_iloc_dirty
2024/05/09 17:57 android13-5.10-lts 70b6ab09a34b 05079661 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 kernel BUG in ext4_mark_iloc_dirty
2024/04/13 22:21 android13-5.10-lts 4e1bc8d8e8ae c8349e48 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-5-10 kernel BUG in ext4_mark_iloc_dirty
* Struck through repros no longer work on HEAD.