syzbot


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

Status: upstream: reported C repro on 2020/01/14 12:13
Reported-by: syzbot+f4b1559572b9dba7bfbc@syzkaller.appspotmail.com
First crash: 985d, last: 29d
similar bugs (9):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 kernel BUG at fs/ext4/inode.c:LINE! C error 4 39d 711d 0/1 upstream: reported C repro on 2020/10/14 01:19
upstream kernel BUG at fs/ext4/inode.c:LINE! C done 9 634d 759d 21/24 fixed on 2021/03/10 01:48
android-49 kernel BUG at fs/ext4/inode.c:LINE! C 280 1333d 1263d 0/3 public: reported C repro on 2019/04/11 08:44
linux-4.14 kernel BUG at fs/ext4/inode.c:LINE! C 5 8d09h 639d 0/1 upstream: reported C repro on 2020/12/25 03:51
android-414 kernel BUG at fs/ext4/inode.c:LINE! 1 1409d 1260d 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 158d 326d 2/2 fixed on 2022/04/21 04:24
android-5-10 kernel BUG in ext4_writepages C error 4 39d 138d 0/2 upstream: reported C repro on 2022/05/09 19:22
android-44 kernel BUG at fs/ext4/inode.c:LINE! C 110 1350d 1263d 0/2 public: reported C repro on 2019/04/11 08:44
upstream kernel BUG in mpage_prepare_extent_to_map C done 109 50d 482d 0/24 upstream: reported C repro on 2021/05/31 07:15

Sample crash report:
------------[ cut here ]------------
kernel BUG at fs/ext4/inode.c:2837!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 304 Comm: syz-executor403 Not tainted 5.4.197-syzkaller-00009-g2bf0b614f0fb #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022
RIP: 0010:ext4_writepages+0x356c/0x3590 fs/ext4/inode.c:2836
Code: 94 c3 40 0f 94 c6 31 ff e8 51 60 a5 ff 84 db 75 2e e8 b8 5d a5 ff 49 bf 00 00 00 00 00 fc ff df e9 3d cd ff ff e8 a4 5d a5 ff <0f> 0b e8 9d 5d a5 ff 0f 0b e8 96 5d a5 ff e8 c1 4c 45 ff eb 9e e8
RSP: 0018:ffff8881de3ef890 EFLAGS: 00010293
RAX: ffffffff81baf54c RBX: 0000018410000000 RCX: ffff8881de0a8000
RDX: 0000000000000000 RSI: 0000010000000000 RDI: 0000000000000000
RBP: 0000010000000000 R08: ffffffff81bac844 R09: ffffed103cd0fc80
R10: ffffed103cd0fc80 R11: 1ffff1103cd0fc7f R12: ffff8881e687e4a8
R13: ffff8881de369000 R14: 0000000000000001 R15: dffffc0000000000
FS:  0000555555ff6300(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055e02c0570c8 CR3: 00000001de1c2000 CR4: 00000000003406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 do_writepages+0xda/0x1f0 mm/page-writeback.c:2344
 __filemap_fdatawrite_range mm/filemap.c:421 [inline]
 file_write_and_wait_range+0x2cd/0x360 mm/filemap.c:782
 __generic_file_fsync+0x6e/0x190 fs/libfs.c:1006
 ext4_sync_file+0x266/0xc70 fs/ext4/fsync.c:118
 generic_write_sync include/linux/fs.h:2960 [inline]
 ext4_file_write_iter+0x963/0x1040 fs/ext4/file.c:281
 call_write_iter include/linux/fs.h:1976 [inline]
 new_sync_write fs/read_write.c:483 [inline]
 __vfs_write+0x4f9/0x6a0 fs/read_write.c:496
 vfs_write+0x210/0x4f0 fs/read_write.c:558
 ksys_write+0x158/0x260 fs/read_write.c:611
 do_syscall_64+0xcb/0x1c0 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x7fa4c331a029
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 c0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffeb3e2d1e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0030656c69662f2e RCX: 00007fa4c331a029
RDX: 0000000000000016 RSI: 0000000020000380 RDI: 0000000000000004
RBP: 00007fa4c32d9820 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fa4c32d98b0
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
Modules linked in:
---[ end trace cbf7761ff9781116 ]---
RIP: 0010:ext4_writepages+0x356c/0x3590 fs/ext4/inode.c:2836
Code: 94 c3 40 0f 94 c6 31 ff e8 51 60 a5 ff 84 db 75 2e e8 b8 5d a5 ff 49 bf 00 00 00 00 00 fc ff df e9 3d cd ff ff e8 a4 5d a5 ff <0f> 0b e8 9d 5d a5 ff 0f 0b e8 96 5d a5 ff e8 c1 4c 45 ff eb 9e e8
RSP: 0018:ffff8881de3ef890 EFLAGS: 00010293
RAX: ffffffff81baf54c RBX: 0000018410000000 RCX: ffff8881de0a8000
RDX: 0000000000000000 RSI: 0000010000000000 RDI: 0000000000000000
RBP: 0000010000000000 R08: ffffffff81bac844 R09: ffffed103cd0fc80
R10: ffffed103cd0fc80 R11: 1ffff1103cd0fc7f R12: ffff8881e687e4a8
R13: ffff8881de369000 R14: 0000000000000001 R15: dffffc0000000000
FS:  0000555555ff6300(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055e02c0570c8 CR3: 00000001de1c2000 CR4: 00000000003406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (113):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-android-5-4-kasan 2022/08/17 12:17 android12-5.4 2bf0b614f0fb 4e72d229 .config log report syz C kernel BUG in ext4_writepages
ci2-android-5-4-kasan 2022/05/09 17:54 android12-5.4 0e9e1752f526 8b277b8e .config log report syz C kernel BUG in ext4_writepages
ci2-android-5-4-kasan 2022/03/21 02:54 android12-5.4 49216514f3a3 e2d91b1d .config log report syz C kernel BUG in mpage_prepare_extent_to_map
ci2-android-5-4-kasan 2022/02/03 05:07 android12-5.4 ac3eac18e72e 4ebb2798 .config log report syz C kernel BUG in mpage_prepare_extent_to_map
ci2-android-5-4-kasan 2021/12/11 23:45 android12-5.4 4fd09f7a7972 49ca1f59 .config log report syz C kernel BUG in mpage_prepare_extent_to_map
ci2-android-5-4-kasan 2020/12/21 17:25 android12-5.4 4aa7a7c97391 04201c06 .config log report syz C
ci2-android-5-4-kasan 2022/08/27 08:33 android12-5.4 f0306959ab7c 07177916 .config log report info kernel BUG in ext4_writepages
ci2-android-5-4-kasan 2022/04/28 18:04 android12-5.4 a6d97349a046 e9076525 .config log report info kernel BUG in ext4_writepages
ci2-android-5-4-kasan 2022/04/17 13:09 android12-5.4 b730087e9a5d 8bcc32a6 .config log report info kernel BUG in mpage_prepare_extent_to_map
ci2-android-5-4-kasan 2022/04/04 12:44 android12-5.4 61c005f0f166 79a2a8fc .config log report info kernel BUG in mpage_prepare_extent_to_map
ci2-android-5-4-kasan 2022/04/04 07:45 android12-5.4 61c005f0f166 79a2a8fc .config log report info kernel BUG in mpage_prepare_extent_to_map
ci2-android-5-4-kasan 2022/02/26 12:20 android12-5.4 961dd91cc692 45a13a73 .config log report info kernel BUG in mpage_prepare_extent_to_map
ci2-android-5-4-kasan 2022/02/21 21:54 android12-5.4 29002d26b47f 6e821dbf .config log report info kernel BUG in mpage_prepare_extent_to_map
ci2-android-5-4-kasan 2022/02/17 07:33 android12-5.4 2426795494c7 2bea8a27 .config log report info kernel BUG in mpage_prepare_extent_to_map
ci2-android-5-4-kasan 2022/02/16 16:23 android12-5.4 2426795494c7 8b9ca619 .config log report info kernel BUG in mpage_prepare_extent_to_map
ci2-android-5-4-kasan 2022/02/15 08:12 android12-5.4 84a24b5e2a0f 8b9ca619 .config log report info kernel BUG in mpage_prepare_extent_to_map
ci2-android-5-4-kasan 2022/02/07 18:51 android12-5.4 2159354389cf a7dab638 .config log report info kernel BUG in mpage_prepare_extent_to_map
ci2-android-5-4-kasan 2022/02/04 23:16 android12-5.4 287dec2d1089 e13a05ed .config log report info kernel BUG in mpage_prepare_extent_to_map
ci2-android-5-4-kasan 2022/01/31 09:18 android12-5.4 57f9b292a6a3 a491ad2d .config log report info kernel BUG in mpage_prepare_extent_to_map
ci2-android-5-4-kasan 2022/01/28 22:39 android12-5.4 57f9b292a6a3 495e00c5 .config log report info kernel BUG in mpage_prepare_extent_to_map
ci2-android-5-4-kasan 2022/01/28 05:19 android12-5.4 0cc2d3cf840d 495e00c5 .config log report info kernel BUG in mpage_prepare_extent_to_map
ci2-android-5-4-kasan 2022/01/19 07:01 android12-5.4 37c7c8d4f085 731a2d23 .config log report info kernel BUG in ext4_writepages
ci2-android-5-4-kasan 2022/01/17 11:01 android12-5.4 37c7c8d4f085 731a2d23 .config log report info kernel BUG in mpage_prepare_extent_to_map
ci2-android-5-4-kasan 2022/01/16 02:17 android12-5.4 5b673be0c6b0 723cfaf0 .config log report info kernel BUG in mpage_prepare_extent_to_map
ci2-android-5-4-kasan 2022/01/13 06:18 android12-5.4 5b673be0c6b0 44d1319a .config log report info kernel BUG in mpage_prepare_extent_to_map
ci2-android-5-4-kasan 2022/01/11 10:20 android12-5.4 5b673be0c6b0 1884f55a .config log report info kernel BUG in mpage_prepare_extent_to_map
ci2-android-5-4-kasan 2022/01/10 23:23 android12-5.4 5b673be0c6b0 ddb0ab8c .config log report info kernel BUG in ext4_writepages
ci2-android-5-4-kasan 2022/01/09 17:29 android12-5.4 5b673be0c6b0 2ca0d385 .config log report info kernel BUG in mpage_prepare_extent_to_map
ci2-android-5-4-kasan 2022/01/05 17:34 android12-5.4 5b673be0c6b0 6acc789a .config log report info kernel BUG in mpage_prepare_extent_to_map
ci2-android-5-4-kasan 2022/01/03 08:54 android12-5.4 5b673be0c6b0 e1768e9c .config log report info kernel BUG in ext4_writepages
ci2-android-5-4-kasan 2021/12/25 08:46 android12-5.4 5b673be0c6b0 6caa12e4 .config log report info kernel BUG in mpage_prepare_extent_to_map
ci2-android-5-4-kasan 2021/12/20 20:48 android12-5.4 5b673be0c6b0 62bd192b .config log report info kernel BUG in mpage_prepare_extent_to_map
ci2-android-5-4-kasan 2021/12/16 21:45 android12-5.4 5b673be0c6b0 8dd6a5e3 .config log report info kernel BUG in mpage_prepare_extent_to_map
ci2-android-5-4-kasan 2021/12/16 00:10 android12-5.4 5b673be0c6b0 572bcb40 .config log report info kernel BUG in mpage_prepare_extent_to_map
ci2-android-5-4-kasan 2021/12/13 18:16 android12-5.4 12a69ef55cdd 0304899b .config log report info kernel BUG in mpage_prepare_extent_to_map
ci2-android-5-4-kasan 2021/12/13 14:08 android12-5.4 4fd09f7a7972 0304899b .config log report info kernel BUG in mpage_prepare_extent_to_map
ci2-android-5-4-kasan 2021/12/11 03:37 android12-5.4 4fd09f7a7972 49ca1f59 .config log report info kernel BUG in mpage_prepare_extent_to_map
ci2-android-5-4-kasan 2021/12/10 14:06 android12-5.4 93698d0219f2 fc17c959 .config log report info kernel BUG in mpage_prepare_extent_to_map
ci2-android-5-4-kasan 2021/12/06 23:37 android12-5.4 93698d0219f2 0230ba3e .config log report info kernel BUG in mpage_prepare_extent_to_map
ci2-android-5-4-kasan 2021/12/05 15:01 android12-5.4 97b7ffb32f29 a617004c .config log report info kernel BUG in mpage_prepare_extent_to_map
ci2-android-5-4-kasan 2021/12/05 04:24 android12-5.4 97b7ffb32f29 a617004c .config log report info kernel BUG in mpage_prepare_extent_to_map
ci2-android-5-4-kasan 2021/12/05 03:19 android12-5.4 97b7ffb32f29 a617004c .config log report info kernel BUG in mpage_prepare_extent_to_map
ci2-android-5-4-kasan 2021/12/04 08:07 android12-5.4 97b7ffb32f29 a617004c .config log report info kernel BUG in mpage_prepare_extent_to_map
ci2-android-5-4-kasan 2021/11/30 05:49 android12-5.4 0bbc71d87f4d d0830353 .config log report info kernel BUG in mpage_prepare_extent_to_map
ci2-android-5-4-kasan 2021/11/29 08:11 android12-5.4 0bbc71d87f4d 63eeac02 .config log report info kernel BUG in mpage_prepare_extent_to_map
ci2-android-5-4-kasan 2021/11/24 02:56 android12-5.4 697fba25ed27 545ab074 .config log report info kernel BUG in mpage_prepare_extent_to_map
ci2-android-5-4-kasan 2021/11/21 02:25 android12-5.4 2cdbd9b44172 4eb20a4e .config log report info kernel BUG in mpage_prepare_extent_to_map
ci2-android-5-4-kasan 2021/11/20 21:41 android12-5.4 2cdbd9b44172 4eb20a4e .config log report info kernel BUG in mpage_prepare_extent_to_map
ci2-android-5-4-kasan 2021/11/20 20:35 android12-5.4 2cdbd9b44172 4eb20a4e .config log report info kernel BUG in mpage_prepare_extent_to_map
ci2-android-5-4-kasan 2021/11/02 17:11 android12-5.4 2138e7367558 17f3edd2 .config log report info kernel BUG in ext4_writepage
ci2-android-5-4-kasan 2020/12/21 17:02 android12-5.4 4aa7a7c97391 04201c06 .config log report info
ci2-android-5-4-kasan 2020/01/14 12:13 https://android.googlesource.com/kernel/common android-5.4 d32a4878e299 32881205 .config log report
* Struck through repros no longer work on HEAD.