syzbot


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

Status: public: reported C repro on 2019/04/11 08:44
Reported-by: syzbot+35320e72780513e8f97c@syzkaller.appspotmail.com
First crash: 2380d, last: 2141d
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 628d 1502d 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 2d10h 1775d 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 1424d 1550d 19/28 fixed on 2021/03/10 01:48
android-49 kernel BUG at fs/ext4/inode.c:LINE! C 280 2124d 2053d 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 635d 1429d 0/1 upstream: reported C repro on 2020/12/25 03:51
android-414 kernel BUG at fs/ext4/inode.c:LINE! 1 2199d 2051d 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 949d 1117d 2/2 fixed on 2022/04/21 04:24
android-5-10 kernel BUG in ext4_writepages C error 5 767d 929d 2/2 fixed on 2022/11/16 18:44
upstream kernel BUG in mpage_prepare_extent_to_map ext4 C done error 145 711d 1272d 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:2474!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
Dumping ftrace buffer:
   (ftrace buffer empty)
Modules linked in:
CPU: 0 PID: 5492 Comm: syz-executor950 Not tainted 4.4.140-ged9bdc8 #68
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffff8800b0720000 task.stack: ffff8800b1ac0000
RIP: 0010:[<ffffffff816d7fcf>]  [<ffffffff816d7fcf>] mpage_prepare_extent_to_map+0x74f/0x970 fs/ext4/inode.c:2474
RSP: 0000:ffff8800b1ac75e0  EFLAGS: 00010293
RAX: ffff8800b0720000 RBX: ffffea000284fbc0 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff816d7fcf RDI: ffffea000284fbc8
RBP: ffff8800b1ac77a8 R08: ffff8800b0720928 R09: 0000000000000001
R10: 0000000000000000 R11: ffff8800b0720000 R12: 0000000000000003
R13: 0000000000000000 R14: ffff8800b1ac78f0 R15: dffffc0000000000
FS:  00007fb5e539b700(0000) GS:ffff8801db200000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020d83ff8 CR3: 00000000b28df000 CR4: 00000000001606f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Stack:
 ffff8800b1ac7708 1ffff10016358ecc ffff8800b1ac78f8 ffff8800b1ac7680
 ffff8800b1ac7900 00000000b657b3e8 ffff8800b9f0dbd8 000000070000000c
 7fffffffffffffff ffff8800b1ac76c0 ffff8800b1ac7908 ffffea000284fbd0
Call Trace:
 [<ffffffff816ea250>] ext4_writepages+0xbb0/0x2c80 fs/ext4/inode.c:2629
 [<ffffffff814401bf>] do_writepages+0xef/0x1d0 mm/page-writeback.c:2350
 [<ffffffff81422773>] __filemap_fdatawrite_range+0x1b3/0x250 mm/filemap.c:347
 [<ffffffff81422993>] __filemap_fdatawrite mm/filemap.c:355 [inline]
 [<ffffffff81422993>] filemap_flush+0x23/0x30 mm/filemap.c:380
 [<ffffffff816e0258>] ext4_alloc_da_blocks+0x108/0x3c0 fs/ext4/inode.c:3005
 [<ffffffff816c495f>] ext4_release_file+0x1ff/0x2e0 fs/ext4/file.c:42
 [<ffffffff81522e45>] __fput+0x235/0x6f0 fs/file_table.c:208
 [<ffffffff81523385>] ____fput+0x15/0x20 fs/file_table.c:244
 [<ffffffff8118bdbf>] task_work_run+0x10f/0x190 kernel/task_work.c:115
 [<ffffffff8115f2b0>] get_signal+0x1190/0x14b0 kernel/signal.c:2151
 [<ffffffff8100df8b>] do_signal+0x8b/0x1d30 arch/x86/kernel/signal.c:712
 [<ffffffff8100360a>] exit_to_usermode_loop+0x11a/0x160 arch/x86/entry/common.c:248
 [<ffffffff81006535>] prepare_exit_to_usermode arch/x86/entry/common.c:283 [inline]
 [<ffffffff81006535>] syscall_return_slowpath+0x1b5/0x1f0 arch/x86/entry/common.c:348
 [<ffffffff838c2935>] int_ret_from_sys_call+0x25/0xa3
Code: ff 48 8b 75 d0 65 48 33 34 25 28 00 00 00 0f 85 2e 02 00 00 48 81 c4 a0 01 00 00 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 21 95 c7 ff <0f> 0b e8 1a 95 c7 ff 8b 95 18 ff ff ff 85 d2 75 7f e8 0b 95 c7 
RIP  [<ffffffff816d7fcf>] mpage_prepare_extent_to_map+0x74f/0x970 fs/ext4/inode.c:2474
 RSP <ffff8800b1ac75e0>
---[ end trace b96ac62b23be201d ]---

Crashes (110):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/07/16 07:42 https://android.googlesource.com/kernel/common android-4.4 ed9bdc8a8fc5 92a49505 .config console log report syz C ci-android-44-kasan-gce
2018/05/19 18:53 https://android.googlesource.com/kernel/common android-4.4 4f75c34feee6 849705db .config console log report syz C ci-android-44-kasan-gce
2018/05/19 06:32 https://android.googlesource.com/kernel/common android-4.4 4f75c34feee6 849705db .config console log report syz C ci-android-44-kasan-gce
2018/10/13 13:10 https://android.googlesource.com/kernel/common android-4.4 8e7f196597f3 caf12900 .config console log report syz ci-android-44-kasan-gce
2018/07/16 05:02 https://android.googlesource.com/kernel/common android-4.4 ed9bdc8a8fc5 92a49505 .config console log report syz ci-android-44-kasan-gce-386
2018/05/19 18:48 https://android.googlesource.com/kernel/common android-4.4 4f75c34feee6 849705db .config console log report syz ci-android-44-kasan-gce-386
2018/05/19 07:11 https://android.googlesource.com/kernel/common android-4.4 4f75c34feee6 849705db .config console log report syz ci-android-44-kasan-gce-386
2018/12/02 22:44 https://android.googlesource.com/kernel/common android-4.4 4c4bedf5b3fd 7dcaeaf3 .config console log report ci-android-44-kasan-gce
2018/12/01 19:46 https://android.googlesource.com/kernel/common android-4.4 4c4bedf5b3fd 5a581673 .config console log report ci-android-44-kasan-gce
2018/11/25 10:35 https://android.googlesource.com/kernel/common android-4.4 564ce1b48436 3d3ec907 .config console log report ci-android-44-kasan-gce
2018/11/23 15:40 https://android.googlesource.com/kernel/common android-4.4 564ce1b48436 2b0dc848 .config console log report ci-android-44-kasan-gce
2018/11/22 11:02 https://android.googlesource.com/kernel/common android-4.4 564ce1b48436 2ee77802 .config console log report ci-android-44-kasan-gce
2018/11/20 04:50 https://android.googlesource.com/kernel/common android-4.4 498bf61266f1 9bc2a903 .config console log report ci-android-44-kasan-gce
2018/11/17 11:22 https://android.googlesource.com/kernel/common android-4.4 498bf61266f1 b08ee62a .config console log report ci-android-44-kasan-gce
2018/11/13 08:30 https://android.googlesource.com/kernel/common android-4.4 498bf61266f1 5f5f6d14 .config console log report ci-android-44-kasan-gce
2018/11/13 05:21 https://android.googlesource.com/kernel/common android-4.4 498bf61266f1 74dbb806 .config console log report ci-android-44-kasan-gce
2018/11/12 22:33 https://android.googlesource.com/kernel/common android-4.4 498bf61266f1 74dbb806 .config console log report ci-android-44-kasan-gce
2018/11/12 20:40 https://android.googlesource.com/kernel/common android-4.4 0ca3fcabdc05 74dbb806 .config console log report ci-android-44-kasan-gce
2018/11/11 08:02 https://android.googlesource.com/kernel/common android-4.4 0ca3fcabdc05 f3c4e618 .config console log report ci-android-44-kasan-gce
2018/11/10 17:35 https://android.googlesource.com/kernel/common android-4.4 0ca3fcabdc05 f9815aaf .config console log report ci-android-44-kasan-gce
2018/11/10 07:44 https://android.googlesource.com/kernel/common android-4.4 64102d341c13 f9815aaf .config console log report ci-android-44-kasan-gce
2018/11/05 08:59 https://android.googlesource.com/kernel/common android-4.4 3411c22ecc5a 8bd6bd63 .config console log report ci-android-44-kasan-gce
2018/11/01 23:56 https://android.googlesource.com/kernel/common android-4.4 c4b00eb70496 1f38e9ae .config console log report ci-android-44-kasan-gce
2018/11/01 22:29 https://android.googlesource.com/kernel/common android-4.4 c4b00eb70496 1f38e9ae .config console log report ci-android-44-kasan-gce
2018/11/01 20:17 https://android.googlesource.com/kernel/common android-4.4 c4b00eb70496 1f38e9ae .config console log report ci-android-44-kasan-gce
2018/10/30 05:59 https://android.googlesource.com/kernel/common android-4.4 c4b00eb70496 2f1090da .config console log report ci-android-44-kasan-gce
2018/10/28 17:47 https://android.googlesource.com/kernel/common android-4.4 c4b00eb70496 6f9b225a .config console log report ci-android-44-kasan-gce
2018/10/26 09:31 https://android.googlesource.com/kernel/common android-4.4 c4b00eb70496 a8292de9 .config console log report ci-android-44-kasan-gce
2018/10/25 06:01 https://android.googlesource.com/kernel/common android-4.4 c4b00eb70496 a8292de9 .config console log report ci-android-44-kasan-gce
2018/10/22 23:10 https://android.googlesource.com/kernel/common android-4.4 c82807c7dd9f ecb386fe .config console log report ci-android-44-kasan-gce
2018/10/22 08:19 https://android.googlesource.com/kernel/common android-4.4 3eb8e7351955 ecb386fe .config console log report ci-android-44-kasan-gce
2018/10/21 23:15 https://android.googlesource.com/kernel/common android-4.4 3eb8e7351955 ecb386fe .config console log report ci-android-44-kasan-gce
2018/10/21 16:47 https://android.googlesource.com/kernel/common android-4.4 3eb8e7351955 ecb386fe .config console log report ci-android-44-kasan-gce
2018/10/21 15:14 https://android.googlesource.com/kernel/common android-4.4 3eb8e7351955 ecb386fe .config console log report ci-android-44-kasan-gce
2018/10/21 00:56 https://android.googlesource.com/kernel/common android-4.4 3eb8e7351955 ecb386fe .config console log report ci-android-44-kasan-gce
2018/10/20 03:36 https://android.googlesource.com/kernel/common android-4.4 34e65b671bc7 ecb386fe .config console log report ci-android-44-kasan-gce
2018/10/19 19:51 https://android.googlesource.com/kernel/common android-4.4 34e65b671bc7 ecb386fe .config console log report ci-android-44-kasan-gce
2018/10/19 06:22 https://android.googlesource.com/kernel/common android-4.4 34e65b671bc7 9aba67b5 .config console log report ci-android-44-kasan-gce
2018/10/18 16:45 https://android.googlesource.com/kernel/common android-4.4 7a95540418be d257b2d2 .config console log report ci-android-44-kasan-gce
2018/10/18 09:22 https://android.googlesource.com/kernel/common android-4.4 7a95540418be d257b2d2 .config console log report ci-android-44-kasan-gce
2018/10/18 04:53 https://android.googlesource.com/kernel/common android-4.4 7a95540418be b2695b95 .config console log report ci-android-44-kasan-gce
2018/10/17 16:43 https://android.googlesource.com/kernel/common android-4.4 7a95540418be 1ba7fd7e .config console log report ci-android-44-kasan-gce
2018/10/16 19:21 https://android.googlesource.com/kernel/common android-4.4 8e7f196597f3 1ba7fd7e .config console log report ci-android-44-kasan-gce
2018/10/16 16:45 https://android.googlesource.com/kernel/common android-4.4 8e7f196597f3 1ba7fd7e .config console log report ci-android-44-kasan-gce
2018/10/16 15:04 https://android.googlesource.com/kernel/common android-4.4 8e7f196597f3 1ba7fd7e .config console log report ci-android-44-kasan-gce
2018/10/16 03:45 https://android.googlesource.com/kernel/common android-4.4 8e7f196597f3 8cd30605 .config console log report ci-android-44-kasan-gce
2018/10/15 18:20 https://android.googlesource.com/kernel/common android-4.4 8e7f196597f3 8cd30605 .config console log report ci-android-44-kasan-gce
2018/10/15 10:06 https://android.googlesource.com/kernel/common android-4.4 8e7f196597f3 caf12900 .config console log report ci-android-44-kasan-gce
2018/10/14 22:57 https://android.googlesource.com/kernel/common android-4.4 8e7f196597f3 caf12900 .config console log report ci-android-44-kasan-gce
2018/10/14 11:40 https://android.googlesource.com/kernel/common android-4.4 8e7f196597f3 caf12900 .config console log report ci-android-44-kasan-gce
2018/10/14 02:25 https://android.googlesource.com/kernel/common android-4.4 8e7f196597f3 caf12900 .config console log report ci-android-44-kasan-gce
2018/10/14 00:55 https://android.googlesource.com/kernel/common android-4.4 8e7f196597f3 caf12900 .config console log report ci-android-44-kasan-gce
2018/10/13 16:40 https://android.googlesource.com/kernel/common android-4.4 8e7f196597f3 caf12900 .config console log report ci-android-44-kasan-gce
2018/05/19 05:16 https://android.googlesource.com/kernel/common android-4.4 4f75c34feee6 849705db .config console log report ci-android-44-kasan-gce
2019/01/13 22:29 https://android.googlesource.com/kernel/common android-4.4 241f76b17c36 c3f3344c .config console log report ci-android-44-kasan-gce-386
2019/01/01 16:23 https://android.googlesource.com/kernel/common android-4.4 dfca92bab267 3d85f48c .config console log report ci-android-44-kasan-gce-386
2018/09/29 02:52 https://android.googlesource.com/kernel/common android-4.4 85b352c44756 41e4b329 .config console log report ci-android-44-kasan-gce-386
* Struck through repros no longer work on HEAD.