syzbot


kernel BUG at fs/ext4/inode.c:LINE!

Status: upstream: reported C repro on 2020/10/14 01:19
Subsystems: ext4
[Documentation on labels]
Reported-by: syzbot+48d1691ba2166f340a9c@syzkaller.appspotmail.com
First crash: 1499d, last: 625d
Fix bisection: failed (error log, bisect log)
  
Similar bugs (14)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-54 kernel BUG at fs/ext4/inode.c:LINE! ext4 C 174 3h10m 1773d 0/2 upstream: reported C repro on 2020/01/14 12:13
upstream kernel BUG at fs/ext4/inode.c:LINE! ext4 C done 9 1422d 1547d 19/28 fixed on 2021/03/10 01:48
android-49 kernel BUG at fs/ext4/inode.c:LINE! C 280 2122d 2051d 0/3 public: reported C repro on 2019/04/11 08:44
linux-4.14 kernel BUG at fs/ext4/inode.c:LINE! ext4 C 11 633d 1427d 0/1 upstream: reported C repro on 2020/12/25 03:51
android-414 kernel BUG at fs/ext4/inode.c:LINE! 1 2197d 2048d 0/1 auto-closed as invalid on 2019/05/15 13:37
android-5-10 kernel BUG in mpage_prepare_extent_to_map C error 254 946d 1115d 2/2 fixed on 2022/04/21 04:24
android-5-10 kernel BUG in ext4_writepages C error 5 765d 927d 2/2 fixed on 2022/11/16 18:44
android-44 kernel BUG at fs/ext4/inode.c:LINE! C 110 2138d 2051d 0/2 public: reported C repro on 2019/04/11 08:44
upstream kernel BUG in mpage_prepare_extent_to_map ext4 C done error 145 709d 1270d 0/28 auto-obsoleted due to no activity on 2024/03/07 20:46
linux-5.15 kernel BUG in ext4_writepages origin:upstream C error 60 8d03h 619d 0/3 upstream: reported C repro on 2023/03/13 06:22
linux-6.1 kernel BUG in ext4_writepages origin:upstream C 67 20d 620d 0/3 upstream: reported C repro on 2023/03/12 17:26
android-5-15 kernel BUG in ext4_writepages ext4 origin:upstream C error 411 13d 765d 0/2 upstream: reported C repro on 2022/10/18 14:12
android-6-1 kernel BUG in ext4_writepages origin:upstream C error 123 4d08h 535d 0/2 upstream: reported C repro on 2023/06/05 07:33
android-5-10 kernel BUG in ext4_writepages (2) ext4 C error inconclusive 155 13h48m 725d 0/2 upstream: reported C repro on 2022/11/27 00:51
Fix bisection attempts (14)
Created Duration User Patch Repo Result
2021/10/21 00:50 11m bisect fix linux-4.19.y error job log
2021/09/21 00:22 27m bisect fix linux-4.19.y OK (0) job log log
2021/08/21 23:52 29m bisect fix linux-4.19.y OK (0) job log log
2021/07/22 23:24 27m bisect fix linux-4.19.y OK (0) job log log
2021/06/22 17:02 24m bisect fix linux-4.19.y OK (0) job log log
2021/05/23 09:21 33m bisect fix linux-4.19.y OK (0) job log log
2021/04/23 06:22 23m bisect fix linux-4.19.y OK (0) job log log
2021/03/24 03:25 23m bisect fix linux-4.19.y OK (0) job log log
2021/02/22 02:30 23m bisect fix linux-4.19.y OK (0) job log log
2021/02/18 12:53 18m bisect fix linux-4.19.y error job log
2021/02/11 03:22 0m bisect fix linux-4.19.y error job log
2021/01/12 02:29 24m bisect fix linux-4.19.y OK (0) job log log
2020/12/13 01:58 30m bisect fix linux-4.19.y OK (0) job log log
2020/11/13 01:34 24m bisect fix linux-4.19.y OK (0) job log log

Sample crash report:
EXT4-fs (loop0): mounted filesystem without journal. Opts: ,errors=continue
EXT4-fs error (device loop0): ext4_mb_generate_buddy:744: group 0, block bitmap and bg descriptor inconsistent: 25 vs 150994969 free clusters
------------[ cut here ]------------
kernel BUG at fs/ext4/inode.c:2794!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 8544 Comm: syz-executor540 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/16/2023
RIP: 0010:ext4_writepages+0x2d31/0x37f0 fs/ext4/inode.c:2794
Code: 00 fc ff df 44 89 64 24 18 48 c1 ea 03 80 3c 02 00 0f 84 25 da ff ff 48 8b 3c 24 e8 89 2d b8 ff e9 17 da ff ff e8 8f 50 82 ff <0f> 0b 4c 8b b4 24 20 01 00 00 e8 80 50 82 ff 0f b6 ac 24 50 02 00
RSP: 0018:ffff8880ab057588 EFLAGS: 00010293
RAX: ffff88809b0304c0 RBX: 0000000000000001 RCX: ffffffff81e03070
RDX: 0000000000000000 RSI: ffffffff81e034e1 RDI: 0000000000000007
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000007 R11: 0000000000000000 R12: 0000000000000001
R13: dffffc0000000000 R14: ffff88808b559830 R15: 0000000000000000
FS:  00007f2c685ad700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055fbad9758e0 CR3: 000000009dc91000 CR4: 00000000003406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 do_writepages+0xe5/0x290 mm/page-writeback.c:2344
 __filemap_fdatawrite_range+0x27d/0x350 mm/filemap.c:446
 file_write_and_wait_range+0x93/0x100 mm/filemap.c:776
 __generic_file_fsync+0x74/0x1f0 fs/libfs.c:985
 ext4_sync_file+0xa35/0x1420 fs/ext4/fsync.c:118
 vfs_fsync_range+0x13a/0x220 fs/sync.c:197
 generic_write_sync include/linux/fs.h:2750 [inline]
 ext4_file_write_iter+0x726/0xf20 fs/ext4/file.c:283
 call_write_iter include/linux/fs.h:1821 [inline]
 new_sync_write fs/read_write.c:474 [inline]
 __vfs_write+0x51b/0x770 fs/read_write.c:487
 vfs_write+0x1f3/0x540 fs/read_write.c:549
 ksys_write+0x12b/0x2a0 fs/read_write.c:599
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f2c70922639
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:00007f2c685ad2f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 000000000000003f RCX: 00007f2c70922639
RDX: 000000000000000c RSI: 00000000200002c0 RDI: 0000000000000004
RBP: 00007f2c709a77b8 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f2c709a77b0
R13: 00007f2c70974838 R14: 0000000020001200 R15: 0030656c69662f2e
Modules linked in:
---[ end trace c186cb4b11fdcbe6 ]---
RIP: 0010:ext4_writepages+0x2d31/0x37f0 fs/ext4/inode.c:2794
Code: 00 fc ff df 44 89 64 24 18 48 c1 ea 03 80 3c 02 00 0f 84 25 da ff ff 48 8b 3c 24 e8 89 2d b8 ff e9 17 da ff ff e8 8f 50 82 ff <0f> 0b 4c 8b b4 24 20 01 00 00 e8 80 50 82 ff 0f b6 ac 24 50 02 00
RSP: 0018:ffff8880ab057588 EFLAGS: 00010293
RAX: ffff88809b0304c0 RBX: 0000000000000001 RCX: ffffffff81e03070
RDX: 0000000000000000 RSI: ffffffff81e034e1 RDI: 0000000000000007
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000007 R11: 0000000000000000 R12: 0000000000000001
R13: dffffc0000000000 R14: ffff88808b559830 R15: 0000000000000000
FS:  00007f2c685ad700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055fbad9758e0 CR3: 000000009dc91000 CR4: 00000000003406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (145):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/02/27 02:11 linux-4.19.y 3f8a27f9e27b ee50e71c .config console log report syz C [disk image] [vmlinux] [mounted in repro] ci2-linux-4-19 kernel BUG in ext4_writepages
2022/11/29 14:48 linux-4.19.y 3f8a27f9e27b ca9683b8 .config console log report syz C [disk image] [vmlinux] [mounted in repro] ci2-linux-4-19 kernel BUG in ext4_writepages
2022/11/29 12:26 linux-4.19.y 3f8a27f9e27b ca9683b8 .config console log report syz C [disk image] [vmlinux] [mounted in repro] ci2-linux-4-19 kernel BUG in ext4_writepages
2022/11/27 22:58 linux-4.19.y 3f8a27f9e27b f4470a7b .config console log report syz C [disk image] [vmlinux] [mounted in repro] ci2-linux-4-19 kernel BUG in ext4_writepages
2022/11/27 12:13 linux-4.19.y 3f8a27f9e27b f4470a7b .config console log report syz C [disk image] [vmlinux] [mounted in repro] ci2-linux-4-19 kernel BUG in ext4_writepages
2022/11/26 17:52 linux-4.19.y 3f8a27f9e27b f4470a7b .config console log report syz C [disk image] [vmlinux] [mounted in repro] ci2-linux-4-19 kernel BUG in ext4_writepages
2022/11/02 21:55 linux-4.19.y 3f8a27f9e27b 08977f5d .config console log report syz C [disk image] [vmlinux] [mounted in repro] ci2-linux-4-19 kernel BUG in ext4_writepages
2022/10/25 19:20 linux-4.19.y 3f8a27f9e27b 45645420 .config console log report syz C [disk image] [vmlinux] [mounted in repro] ci2-linux-4-19 kernel BUG in ext4_getblk
2022/10/18 21:41 linux-4.19.y 3f8a27f9e27b b31320fc .config console log report syz C [disk image] [vmlinux] [mounted in repro] ci2-linux-4-19 kernel BUG in ext4_writepages
2022/08/17 12:22 linux-4.19.y 3f8a27f9e27b 4e72d229 .config console log report syz C ci2-linux-4-19 kernel BUG in ext4_writepages
2022/05/09 19:27 linux-4.19.y 3f8a27f9e27b 8b277b8e .config console log report syz C ci2-linux-4-19 kernel BUG in ext4_writepages
2020/10/14 01:19 linux-4.19.y a1b977b49b66 fc7735a2 .config console log report syz C ci2-linux-4-19
2023/03/06 21:56 linux-4.19.y 3f8a27f9e27b f8902b57 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 kernel BUG in ext4_writepages
2023/03/05 12:58 linux-4.19.y 3f8a27f9e27b f8902b57 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 kernel BUG in ext4_getblk
2023/03/05 11:48 linux-4.19.y 3f8a27f9e27b f8902b57 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 kernel BUG in ext4_getblk
2023/03/05 06:41 linux-4.19.y 3f8a27f9e27b f8902b57 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 kernel BUG in ext4_getblk
2023/03/05 05:39 linux-4.19.y 3f8a27f9e27b f8902b57 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 kernel BUG in ext4_getblk
2023/03/05 05:14 linux-4.19.y 3f8a27f9e27b f8902b57 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 kernel BUG in ext4_getblk
2023/03/04 11:00 linux-4.19.y 3f8a27f9e27b f8902b57 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 kernel BUG in ext4_writepages
2023/03/04 04:52 linux-4.19.y 3f8a27f9e27b f8902b57 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 kernel BUG in ext4_getblk
2023/03/02 05:01 linux-4.19.y 3f8a27f9e27b f8902b57 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 kernel BUG in ext4_getblk
2023/03/02 03:18 linux-4.19.y 3f8a27f9e27b f8902b57 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 kernel BUG in ext4_getblk
2023/03/01 13:20 linux-4.19.y 3f8a27f9e27b ef65e6cb .config console log report info [disk image] [vmlinux] ci2-linux-4-19 kernel BUG in ext4_getblk
2023/03/01 11:50 linux-4.19.y 3f8a27f9e27b ef65e6cb .config console log report info [disk image] [vmlinux] ci2-linux-4-19 kernel BUG in ext4_getblk
2023/02/28 17:43 linux-4.19.y 3f8a27f9e27b 95aee97a .config console log report info [disk image] [vmlinux] ci2-linux-4-19 kernel BUG in ext4_getblk
2023/02/28 09:01 linux-4.19.y 3f8a27f9e27b 95aee97a .config console log report info [disk image] [vmlinux] ci2-linux-4-19 kernel BUG in ext4_getblk
2023/02/28 03:28 linux-4.19.y 3f8a27f9e27b 95aee97a .config console log report info [disk image] [vmlinux] ci2-linux-4-19 kernel BUG in ext4_getblk
2023/02/28 00:44 linux-4.19.y 3f8a27f9e27b 95aee97a .config console log report info [disk image] [vmlinux] ci2-linux-4-19 kernel BUG in ext4_getblk
2023/02/26 17:54 linux-4.19.y 3f8a27f9e27b ee50e71c .config console log report info [disk image] [vmlinux] ci2-linux-4-19 kernel BUG in ext4_writepages
2023/02/25 08:02 linux-4.19.y 3f8a27f9e27b ee50e71c .config console log report info [disk image] [vmlinux] ci2-linux-4-19 kernel BUG in ext4_getblk
2023/02/25 07:35 linux-4.19.y 3f8a27f9e27b ee50e71c .config console log report info [disk image] [vmlinux] ci2-linux-4-19 kernel BUG in ext4_getblk
2023/02/24 14:24 linux-4.19.y 3f8a27f9e27b ee50e71c .config console log report info [disk image] [vmlinux] ci2-linux-4-19 kernel BUG in ext4_writepages
2023/02/22 16:05 linux-4.19.y 3f8a27f9e27b 9f1e2cb3 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 kernel BUG in ext4_writepages
2023/02/22 13:33 linux-4.19.y 3f8a27f9e27b 42a4d508 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 kernel BUG in ext4_writepages
2023/02/20 02:46 linux-4.19.y 3f8a27f9e27b bcdf85f8 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 kernel BUG in ext4_writepages
2023/02/19 17:53 linux-4.19.y 3f8a27f9e27b bcdf85f8 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 kernel BUG in ext4_writepages
2023/02/19 06:57 linux-4.19.y 3f8a27f9e27b bcdf85f8 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 kernel BUG in ext4_getblk
2023/02/19 05:32 linux-4.19.y 3f8a27f9e27b bcdf85f8 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 kernel BUG in ext4_writepages
2023/02/14 12:58 linux-4.19.y 3f8a27f9e27b 93ae7e0a .config console log report info [disk image] [vmlinux] ci2-linux-4-19 kernel BUG in ext4_getblk
2023/02/06 16:11 linux-4.19.y 3f8a27f9e27b 0a9c11b6 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 kernel BUG in ext4_writepages
2023/02/05 12:42 linux-4.19.y 3f8a27f9e27b be607b78 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 kernel BUG in ext4_writepages
2023/02/03 19:19 linux-4.19.y 3f8a27f9e27b 1b2f701a .config console log report info [disk image] [vmlinux] ci2-linux-4-19 kernel BUG in ext4_writepages
2023/02/02 15:17 linux-4.19.y 3f8a27f9e27b 16d19e30 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 kernel BUG in ext4_writepages
2023/02/01 13:24 linux-4.19.y 3f8a27f9e27b 9a6f477c .config console log report info [disk image] [vmlinux] ci2-linux-4-19 kernel BUG in ext4_writepages
2023/02/01 03:29 linux-4.19.y 3f8a27f9e27b b68fb8d6 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 kernel BUG in ext4_writepages
2023/01/26 05:52 linux-4.19.y 3f8a27f9e27b 9dfcf09c .config console log report info [disk image] [vmlinux] ci2-linux-4-19 kernel BUG in ext4_writepages
2023/01/20 02:01 linux-4.19.y 3f8a27f9e27b 71197f3a .config console log report info [disk image] [vmlinux] ci2-linux-4-19 kernel BUG in ext4_writepages
2023/01/18 22:05 linux-4.19.y 3f8a27f9e27b 4620c2d9 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 kernel BUG in ext4_getblk
2023/01/16 08:33 linux-4.19.y 3f8a27f9e27b a63719e7 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 kernel BUG in ext4_writepages
2023/01/15 12:47 linux-4.19.y 3f8a27f9e27b a63719e7 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 kernel BUG in ext4_getblk
2023/01/14 21:05 linux-4.19.y 3f8a27f9e27b a63719e7 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 kernel BUG in ext4_getblk
2023/01/13 17:06 linux-4.19.y 3f8a27f9e27b 529798b0 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 kernel BUG in ext4_getblk
2023/01/12 18:44 linux-4.19.y 3f8a27f9e27b 96166539 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 kernel BUG in ext4_getblk
2023/01/12 02:22 linux-4.19.y 3f8a27f9e27b 96166539 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 kernel BUG in ext4_writepages
2023/01/11 21:13 linux-4.19.y 3f8a27f9e27b 96166539 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 kernel BUG in ext4_writepages
2023/01/10 07:15 linux-4.19.y 3f8a27f9e27b 48bc529a .config console log report info [disk image] [vmlinux] ci2-linux-4-19 kernel BUG in ext4_getblk
2023/01/07 21:02 linux-4.19.y 3f8a27f9e27b 1dac8c7a .config console log report info [disk image] [vmlinux] ci2-linux-4-19 kernel BUG in ext4_writepages
2023/01/03 22:09 linux-4.19.y 3f8a27f9e27b f0036e18 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 kernel BUG in ext4_writepages
2023/01/01 08:18 linux-4.19.y 3f8a27f9e27b ab32d508 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 kernel BUG in ext4_getblk
* Struck through repros no longer work on HEAD.