syzbot


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

Status: public: reported C repro on 2019/04/11 08:44
Reported-by: syzbot+e53139ff36812041e772@syzkaller.appspotmail.com
First crash: 2396d, last: 2140d
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! ext4 C error 145 644d 1517d 0/1 upstream: reported C repro on 2020/10/14 01:19
android-54 kernel BUG at fs/ext4/inode.c:LINE! ext4 C 174 18d 1791d 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 1440d 1565d 19/28 fixed on 2021/03/10 01:48
linux-4.14 kernel BUG at fs/ext4/inode.c:LINE! ext4 C 11 651d 1445d 0/1 upstream: reported C repro on 2020/12/25 03:51
android-414 kernel BUG at fs/ext4/inode.c:LINE! 1 2215d 2066d 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 965d 1133d 2/2 fixed on 2022/04/21 04:24
android-5-10 kernel BUG in ext4_writepages C error 5 783d 945d 2/2 fixed on 2022/11/16 18:44
android-44 kernel BUG at fs/ext4/inode.c:LINE! C 110 2157d 2069d 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 727d 1288d 0/28 auto-obsoleted due to no activity on 2024/03/07 20:46

Sample crash report:
------------[ cut here ]------------
kernel BUG at fs/ext4/inode.c:2630!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
Dumping ftrace buffer:
   (ftrace buffer empty)
Modules linked in:
CPU: 0 PID: 6446 Comm: syz-executor599 Not tainted 4.9.112-g9e79039 #7
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffff8801cb368000 task.stack: ffff8801b5a38000
RIP: 0010:[<ffffffff81740088>]  [<ffffffff81740088>] mpage_prepare_extent_to_map+0x7f8/0xa40 fs/ext4/inode.c:2630
RSP: 0018:ffff8801b5a3f800  EFLAGS: 00010293
RAX: ffff8801cb368000 RBX: ffffea0007018200 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff81740088 RDI: ffffea0007018208
RBP: ffff8801b5a3f9c8 R08: ffff8801cb368938 R09: 0000000000000001
R10: 0000000000000000 R11: 1ffff1003966d122 R12: 0000000000000001
R13: 0000000000000000 R14: ffff8801b5a3fb30 R15: dffffc0000000000
FS:  0000000000889880(0000) GS:ffff8801db200000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fac6e747e78 CR3: 00000001ba86b000 CR4: 00000000001606f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Stack:
 1ffff10036b47f10 ffff8801b5a3fb38 ffff8801b5a3f8a0 ffff8801b5a3fb40
 00000000cb3688c0 ffff8801bee08c00 000000090000000c 7fffffffffffffff
 ffff8801b5a3f8e0 ffff8801b5a3fb48 ffffea0007018210 ffffed0036b47f67
Call Trace:
 [<ffffffff81750f59>] ext4_writepages+0xdb9/0x2e50 fs/ext4/inode.c:2792
 [<ffffffff8145ed0f>] do_writepages+0xef/0x1d0 mm/page-writeback.c:2347
 [<ffffffff8143ccd3>] __filemap_fdatawrite_range+0x1b3/0x250 mm/filemap.c:390
 [<ffffffff8143cef3>] __filemap_fdatawrite mm/filemap.c:398 [inline]
 [<ffffffff8143cef3>] filemap_flush+0x23/0x30 mm/filemap.c:423
 [<ffffffff81746459>] ext4_alloc_da_blocks+0xd9/0x330 fs/ext4/inode.c:3169
 [<ffffffff8172c30f>] ext4_release_file+0x1ff/0x2e0 fs/ext4/file.c:42
 [<ffffffff815782e3>] __fput+0x263/0x700 fs/file_table.c:208
 [<ffffffff81578805>] ____fput+0x15/0x20 fs/file_table.c:244
 [<ffffffff8119839c>] task_work_run+0x10c/0x180 kernel/task_work.c:116
 [<ffffffff8100559c>] tracehook_notify_resume include/linux/tracehook.h:191 [inline]
 [<ffffffff8100559c>] exit_to_usermode_loop+0xfc/0x120 arch/x86/entry/common.c:161
 [<ffffffff810064d4>] prepare_exit_to_usermode arch/x86/entry/common.c:191 [inline]
 [<ffffffff810064d4>] syscall_return_slowpath arch/x86/entry/common.c:260 [inline]
 [<ffffffff810064d4>] do_syscall_64+0x364/0x490 arch/x86/entry/common.c:287
 [<ffffffff839f9f53>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb
Code: ff 48 8b 75 d0 65 48 33 34 25 28 00 00 00 0f 85 50 02 00 00 48 81 c4 a0 01 00 00 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 e8 e9 c1 ff <0f> 0b e8 e1 e9 c1 ff 8b 95 18 ff ff ff 85 d2 75 7a e8 d2 e9 c1 
RIP  [<ffffffff81740088>] mpage_prepare_extent_to_map+0x7f8/0xa40 fs/ext4/inode.c:2630
 RSP <ffff8801b5a3f800>
---[ end trace 55d0fb3bf5735192 ]---

Crashes (280):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/07/16 09:28 https://android.googlesource.com/kernel/common android-4.9 9e7903954483 92a49505 .config console log report syz C ci-android-49-kasan-gce-root
2018/07/16 05:12 https://android.googlesource.com/kernel/common android-4.9 9e7903954483 92a49505 .config console log report syz C ci-android-49-kasan-gce
2018/05/19 18:57 https://android.googlesource.com/kernel/common android-4.9 e14d1a35ebd9 849705db .config console log report syz C ci-android-49-kasan-gce
2018/05/19 18:55 https://android.googlesource.com/kernel/common android-4.9 e14d1a35ebd9 849705db .config console log report syz C ci-android-49-kasan-gce-root
2018/05/19 07:33 https://android.googlesource.com/kernel/common android-4.9 e14d1a35ebd9 849705db .config console log report syz C ci-android-49-kasan-gce
2018/05/19 07:21 https://android.googlesource.com/kernel/common android-4.9 e14d1a35ebd9 849705db .config console log report syz C ci-android-49-kasan-gce-root
2018/10/13 13:10 https://android.googlesource.com/kernel/common android-4.9 d589c0d40671 caf12900 .config console log report syz ci-android-49-kasan-gce
2018/10/13 13:07 https://android.googlesource.com/kernel/common android-4.9 d589c0d40671 caf12900 .config console log report syz ci-android-49-kasan-gce-root
2018/09/23 18:00 https://android.googlesource.com/kernel/common android-4.9 1c57ba4f543b 37079712 .config console log report syz ci-android-49-kasan-gce-root
2018/09/01 02:46 https://android.googlesource.com/kernel/common android-4.9 a06ea261bc2a a4718693 .config console log report syz ci-android-49-kasan-gce-root
2018/10/13 13:10 https://android.googlesource.com/kernel/common android-4.9 d589c0d40671 caf12900 .config console log report syz ci-android-49-kasan-gce-386
2018/07/16 05:04 https://android.googlesource.com/kernel/common android-4.9 9e7903954483 92a49505 .config console log report syz ci-android-49-kasan-gce-386
2018/05/19 18:47 https://android.googlesource.com/kernel/common android-4.9 e14d1a35ebd9 849705db .config console log report syz ci-android-49-kasan-gce-386
2018/05/19 07:12 https://android.googlesource.com/kernel/common android-4.9 e14d1a35ebd9 849705db .config console log report syz ci-android-49-kasan-gce-386
2018/11/26 13:08 https://android.googlesource.com/kernel/common android-4.9 f44ed2c9232d ac912200 .config console log report ci-android-49-kasan-gce
2018/11/12 21:23 https://android.googlesource.com/kernel/common android-4.9 ba62b3018e0d 74dbb806 .config console log report ci-android-49-kasan-gce
2018/11/12 13:05 https://android.googlesource.com/kernel/common android-4.9 ba62b3018e0d 7b5f8621 .config console log report ci-android-49-kasan-gce
2018/11/12 07:45 https://android.googlesource.com/kernel/common android-4.9 ba62b3018e0d 7b5f8621 .config console log report ci-android-49-kasan-gce
2018/11/12 05:39 https://android.googlesource.com/kernel/common android-4.9 ba62b3018e0d 7b5f8621 .config console log report ci-android-49-kasan-gce
2018/11/12 02:42 https://android.googlesource.com/kernel/common android-4.9 ba62b3018e0d 7b5f8621 .config console log report ci-android-49-kasan-gce
2018/11/12 00:18 https://android.googlesource.com/kernel/common android-4.9 ba62b3018e0d 7b5f8621 .config console log report ci-android-49-kasan-gce
2018/11/11 19:28 https://android.googlesource.com/kernel/common android-4.9 ba62b3018e0d 7b5f8621 .config console log report ci-android-49-kasan-gce
2018/11/11 13:18 https://android.googlesource.com/kernel/common android-4.9 ba62b3018e0d f3c4e618 .config console log report ci-android-49-kasan-gce
2018/11/10 13:54 https://android.googlesource.com/kernel/common android-4.9 ba62b3018e0d f9815aaf .config console log report ci-android-49-kasan-gce
2018/11/10 11:30 https://android.googlesource.com/kernel/common android-4.9 ba62b3018e0d f9815aaf .config console log report ci-android-49-kasan-gce
2018/11/10 00:57 https://android.googlesource.com/kernel/common android-4.9 ba62b3018e0d f9815aaf .config console log report ci-android-49-kasan-gce
2018/11/09 23:20 https://android.googlesource.com/kernel/common android-4.9 ba62b3018e0d f9815aaf .config console log report ci-android-49-kasan-gce
2018/11/09 15:13 https://android.googlesource.com/kernel/common android-4.9 ba62b3018e0d 8fd01d3a .config console log report ci-android-49-kasan-gce
2018/11/09 04:25 https://android.googlesource.com/kernel/common android-4.9 ba62b3018e0d 8fd01d3a .config console log report ci-android-49-kasan-gce
2018/11/08 19:23 https://android.googlesource.com/kernel/common android-4.9 80af43361004 e85d2a61 .config console log report ci-android-49-kasan-gce
2018/11/08 16:51 https://android.googlesource.com/kernel/common android-4.9 80af43361004 e85d2a61 .config console log report ci-android-49-kasan-gce
2018/11/08 12:43 https://android.googlesource.com/kernel/common android-4.9 80af43361004 e85d2a61 .config console log report ci-android-49-kasan-gce
2018/11/08 00:47 https://android.googlesource.com/kernel/common android-4.9 80af43361004 e85d2a61 .config console log report ci-android-49-kasan-gce
2018/11/07 18:22 https://android.googlesource.com/kernel/common android-4.9 80af43361004 e85d2a61 .config console log report ci-android-49-kasan-gce
2018/11/07 10:39 https://android.googlesource.com/kernel/common android-4.9 80af43361004 8bd6bd63 .config console log report ci-android-49-kasan-gce
2018/11/07 01:58 https://android.googlesource.com/kernel/common android-4.9 80af43361004 8bd6bd63 .config console log report ci-android-49-kasan-gce
2018/11/07 00:05 https://android.googlesource.com/kernel/common android-4.9 80af43361004 8bd6bd63 .config console log report ci-android-49-kasan-gce
2018/11/06 01:28 https://android.googlesource.com/kernel/common android-4.9 f68c8f49db5a 8bd6bd63 .config console log report ci-android-49-kasan-gce
2018/11/05 20:48 https://android.googlesource.com/kernel/common android-4.9 f68c8f49db5a 8bd6bd63 .config console log report ci-android-49-kasan-gce
2018/10/31 01:20 https://android.googlesource.com/kernel/common android-4.9 4ba3f69128be 4ccf7bb4 .config console log report ci-android-49-kasan-gce
2018/10/30 12:28 https://android.googlesource.com/kernel/common android-4.9 4ba3f69128be 8dbb755a .config console log report ci-android-49-kasan-gce
2018/10/16 17:44 https://android.googlesource.com/kernel/common android-4.9 a144472d407b 1ba7fd7e .config console log report ci-android-49-kasan-gce
2018/10/15 04:44 https://android.googlesource.com/kernel/common android-4.9 d589c0d40671 caf12900 .config console log report ci-android-49-kasan-gce
2018/10/13 11:31 https://android.googlesource.com/kernel/common android-4.9 d589c0d40671 caf12900 .config console log report ci-android-49-kasan-gce
2018/10/09 22:51 https://android.googlesource.com/kernel/common android-4.9 7bebf33f9d46 8b311eaf .config console log report ci-android-49-kasan-gce
2018/10/06 10:58 https://android.googlesource.com/kernel/common android-4.9 7bebf33f9d46 8b311eaf .config console log report ci-android-49-kasan-gce
2018/10/06 09:30 https://android.googlesource.com/kernel/common android-4.9 7bebf33f9d46 8b311eaf .config console log report ci-android-49-kasan-gce
2018/10/04 23:45 https://android.googlesource.com/kernel/common android-4.9 7bebf33f9d46 8b311eaf .config console log report ci-android-49-kasan-gce
2018/10/04 13:52 https://android.googlesource.com/kernel/common android-4.9 713657425a18 8b311eaf .config console log report ci-android-49-kasan-gce
2018/10/04 10:08 https://android.googlesource.com/kernel/common android-4.9 713657425a18 8b311eaf .config console log report ci-android-49-kasan-gce
2018/10/04 06:07 https://android.googlesource.com/kernel/common android-4.9 713657425a18 8b311eaf .config console log report ci-android-49-kasan-gce
2019/01/30 18:36 https://android.googlesource.com/kernel/common android-4.9 8fe428403e30 aa432daf .config console log report ci-android-49-kasan-gce-386
2019/01/19 02:53 https://android.googlesource.com/kernel/common android-4.9 8fe428403e30 2103a236 .config console log report ci-android-49-kasan-gce-386
2019/01/01 00:57 https://android.googlesource.com/kernel/common android-4.9 8fe428403e30 3d85f48c .config console log report ci-android-49-kasan-gce-386
2018/12/27 08:58 https://android.googlesource.com/kernel/common android-4.9 8fe428403e30 e747ec98 .config console log report ci-android-49-kasan-gce-386
2018/11/19 21:56 https://android.googlesource.com/kernel/common android-4.9 109a48ed2f69 adf636a8 .config console log report ci-android-49-kasan-gce-386
2018/10/16 03:28 https://android.googlesource.com/kernel/common android-4.9 d589c0d40671 8cd30605 .config console log report ci-android-49-kasan-gce-386
2018/10/09 23:55 https://android.googlesource.com/kernel/common android-4.9 7bebf33f9d46 8b311eaf .config console log report ci-android-49-kasan-gce-386
2018/10/08 07:53 https://android.googlesource.com/kernel/common android-4.9 7bebf33f9d46 8b311eaf .config console log report ci-android-49-kasan-gce-386
2018/10/05 15:45 https://android.googlesource.com/kernel/common android-4.9 7bebf33f9d46 8b311eaf .config console log report ci-android-49-kasan-gce-386
2018/10/04 11:47 https://android.googlesource.com/kernel/common android-4.9 713657425a18 8b311eaf .config console log report ci-android-49-kasan-gce-386
* Struck through repros no longer work on HEAD.