syzbot


kernel BUG at mm/filemap.c:LINE!

Status: public: reported C repro on 2019/04/11 08:44
Reported-by: syzbot+2c9d964e89e2907be129@syzkaller.appspotmail.com
First crash: 2404d, last: 2275d
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream kernel BUG in find_lock_entries mm C done 10 1037d 1199d 20/28 fixed on 2022/03/08 16:11
upstream kernel BUG at mm/filemap.c:LINE! (2) mm 1 1467d 1463d 0/28 auto-closed as invalid on 2021/03/15 06:14
upstream kernel BUG in __filemap_get_folio kernel C done 814 775d 946d 22/28 fixed on 2023/02/24 13:50
upstream kernel BUG at mm/filemap.c:LINE! fs 1 2096d 2096d 0/28 auto-closed as invalid on 2019/08/24 03:17

Sample crash report:
random: nonblocking pool is initialized
page:ffffea00071a8000 count:2 mapcount:0 mapping:          (null) index:0x0
flags: 0x8000000000004004(referenced|head)
page dumped because: VM_BUG_ON_PAGE(!PageLocked(page))
------------[ cut here ]------------
kernel BUG at mm/filemap.c:819!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
Dumping ftrace buffer:
   (ftrace buffer empty)
Modules linked in:
CPU: 0 PID: 3841 Comm: syz-executor583 Not tainted 4.4.131-g3702e76 #38
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffff8800ac074800 task.stack: ffff8800bb8e0000
RIP: 0010:[<ffffffff8141de15>]  [<ffffffff8141de15>] unlock_page+0x115/0x150 mm/filemap.c:819
RSP: 0018:ffff8800bb8e77d8  EFLAGS: 00010293
RAX: ffffffff83a6e7c0 RBX: ffffea00071a8000 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff81513249 RDI: ffff8800ac0750dc
RBP: ffff8800bb8e77f8 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000001 R12: dffffc0000000000
R13: ffff8800bb8e7aa8 R14: ffffea00071a9480 R15: ffffea00071a8008
FS:  00007fe177dfb700(0000) GS:ffff8801db200000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000204a4ff0 CR3: 00000000ae4a8000 CR4: 00000000001606f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Stack:
 ffffea00071a8000 dffffc0000000000 ffff8800bb8e7aa8 ffffea00071a9480
 ffff8800bb8e78e0 ffffffff812cc1bc 0000000000000001 ffff8800bb8e7890
 0000000000000046 ffff8800b093d400 00000000ac0750d8 ffff8800bb8e7ab8
Call Trace:
 [<ffffffff812cc1bc>] get_futex_key+0xadc/0xd80 kernel/futex.c:598
 [<ffffffff812cc999>] futex_wait_setup+0xd9/0x330 kernel/futex.c:2336
 [<ffffffff812cce9f>] futex_wait+0x2af/0x600 kernel/futex.c:2399
 [<ffffffff812d07b2>] do_futex+0x2a2/0x1770 kernel/futex.c:3186
 [<ffffffff812d1e70>] SYSC_futex kernel/futex.c:3246 [inline]
 [<ffffffff812d1e70>] SyS_futex+0x1f0/0x300 kernel/futex.c:3214
 [<ffffffff838bfd65>] entry_SYSCALL_64_fastpath+0x22/0x9e
Code: e8 48 8d 04 c0 49 8d 3c c6 e8 48 c0 df ff 5b 41 5c 41 5d 41 5e 5d c3 e8 da 33 f3 ff 48 c7 c6 60 aa a9 83 48 89 df e8 4b eb 06 00 <0f> 0b 48 89 df e8 f1 b1 0d 00 e9 0a ff ff ff e8 e7 b1 0d 00 e9 
RIP  [<ffffffff8141de15>] unlock_page+0x115/0x150 mm/filemap.c:819
 RSP <ffff8800bb8e77d8>
---[ end trace 7ede212255b20a51 ]---

Crashes (1082):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/05/12 04:04 https://android.googlesource.com/kernel/common android-4.4 3702e76fb6e9 12c7428a .config console log report syz C ci-android-44-kasan-gce
2018/05/10 13:19 https://android.googlesource.com/kernel/common android-4.4 3702e76fb6e9 12c7428a .config console log report syz C ci-android-44-kasan-gce
2018/05/09 22:03 https://android.googlesource.com/kernel/common android-4.4 033c952f2e7d 12c7428a .config console log report syz C ci-android-44-kasan-gce
2018/05/08 14:36 https://android.googlesource.com/kernel/common android-4.4 fcce57111718 045bbd4a .config console log report syz C ci-android-44-kasan-gce
2018/05/07 20:01 https://android.googlesource.com/kernel/common android-4.4 6ec0e3f3a946 9e0846e8 .config console log report syz C ci-android-44-kasan-gce
2018/05/07 11:13 https://android.googlesource.com/kernel/common android-4.4 6ec0e3f3a946 a211da1a .config console log report syz C ci-android-44-kasan-gce
2018/05/07 10:12 https://android.googlesource.com/kernel/common android-4.4 6ec0e3f3a946 a211da1a .config console log report syz C ci-android-44-kasan-gce
2018/05/06 08:45 https://android.googlesource.com/kernel/common android-4.4 6ec0e3f3a946 78b251cb .config console log report syz C ci-android-44-kasan-gce
2018/05/05 20:13 https://android.googlesource.com/kernel/common android-4.4 6ec0e3f3a946 6a0382b5 .config console log report syz C ci-android-44-kasan-gce
2018/05/04 12:59 https://android.googlesource.com/kernel/common android-4.4 4fca5a0c008a 9ce14f4b .config console log report syz C ci-android-44-kasan-gce
2018/05/03 12:53 https://android.googlesource.com/kernel/common android-4.4 834913c4b790 9ce14f4b .config console log report syz C ci-android-44-kasan-gce
2018/05/01 17:51 https://android.googlesource.com/kernel/common android-4.4 12ef385f51fe d5b114b4 .config console log report syz C ci-android-44-kasan-gce
2018/04/30 16:27 https://android.googlesource.com/kernel/common android-4.4 12ef385f51fe 06db3cec .config console log report syz C ci-android-44-kasan-gce
2018/04/30 00:41 https://android.googlesource.com/kernel/common android-4.4 23eaecc37dfb bb79c6ab .config console log report syz C ci-android-44-kasan-gce
2018/04/30 00:26 https://android.googlesource.com/kernel/common android-4.4 23eaecc37dfb bb79c6ab .config console log report syz C ci-android-44-kasan-gce
2018/04/29 20:09 https://android.googlesource.com/kernel/common android-4.4 23eaecc37dfb bb79c6ab .config console log report syz C ci-android-44-kasan-gce
2018/04/29 14:36 https://android.googlesource.com/kernel/common android-4.4 23eaecc37dfb d5a5d045 .config console log report syz C ci-android-44-kasan-gce
2018/04/29 13:48 https://android.googlesource.com/kernel/common android-4.4 23eaecc37dfb d5a5d045 .config console log report syz C ci-android-44-kasan-gce
2018/04/29 09:03 https://android.googlesource.com/kernel/common android-4.4 23eaecc37dfb d5a5d045 .config console log report syz C ci-android-44-kasan-gce
2018/04/28 20:05 https://android.googlesource.com/kernel/common android-4.4 23eaecc37dfb d5a5d045 .config console log report syz C ci-android-44-kasan-gce
2018/04/28 19:49 https://android.googlesource.com/kernel/common android-4.4 23eaecc37dfb d5a5d045 .config console log report syz C ci-android-44-kasan-gce
2018/04/27 15:44 https://android.googlesource.com/kernel/common android-4.4 23eaecc37dfb 7785e404 .config console log report syz C ci-android-44-kasan-gce
2018/04/27 11:04 https://android.googlesource.com/kernel/common android-4.4 bd23e3af1765 73417389 .config console log report syz C ci-android-44-kasan-gce
2018/04/27 07:13 https://android.googlesource.com/kernel/common android-4.4 bd23e3af1765 73417389 .config console log report syz C ci-android-44-kasan-gce
2018/04/27 03:39 https://android.googlesource.com/kernel/common android-4.4 bd23e3af1765 73417389 .config console log report syz C ci-android-44-kasan-gce
2018/04/26 00:47 https://android.googlesource.com/kernel/common android-4.4 bd23e3af1765 73417389 .config console log report syz C ci-android-44-kasan-gce
2018/04/25 23:06 https://android.googlesource.com/kernel/common android-4.4 bd23e3af1765 73417389 .config console log report syz C ci-android-44-kasan-gce
2018/04/25 21:39 https://android.googlesource.com/kernel/common android-4.4 bd23e3af1765 73417389 .config console log report syz C ci-android-44-kasan-gce
2018/05/12 04:06 https://android.googlesource.com/kernel/common android-4.4 3702e76fb6e9 12c7428a .config console log report syz C ci-android-44-kasan-gce-386
2018/05/10 13:18 https://android.googlesource.com/kernel/common android-4.4 3702e76fb6e9 12c7428a .config console log report syz C ci-android-44-kasan-gce-386
2018/05/09 22:03 https://android.googlesource.com/kernel/common android-4.4 033c952f2e7d 12c7428a .config console log report syz C ci-android-44-kasan-gce-386
2018/05/08 14:35 https://android.googlesource.com/kernel/common android-4.4 fcce57111718 045bbd4a .config console log report syz C ci-android-44-kasan-gce-386
2018/05/07 20:01 https://android.googlesource.com/kernel/common android-4.4 6ec0e3f3a946 9e0846e8 .config console log report syz C ci-android-44-kasan-gce-386
2018/05/07 11:13 https://android.googlesource.com/kernel/common android-4.4 6ec0e3f3a946 a211da1a .config console log report syz C ci-android-44-kasan-gce-386
2018/05/07 10:12 https://android.googlesource.com/kernel/common android-4.4 6ec0e3f3a946 a211da1a .config console log report syz C ci-android-44-kasan-gce-386
2018/05/06 08:45 https://android.googlesource.com/kernel/common android-4.4 6ec0e3f3a946 78b251cb .config console log report syz C ci-android-44-kasan-gce-386
2018/05/05 20:15 https://android.googlesource.com/kernel/common android-4.4 6ec0e3f3a946 6a0382b5 .config console log report syz C ci-android-44-kasan-gce-386
2018/05/04 12:59 https://android.googlesource.com/kernel/common android-4.4 4fca5a0c008a 9ce14f4b .config console log report syz C ci-android-44-kasan-gce-386
2018/05/03 12:53 https://android.googlesource.com/kernel/common android-4.4 834913c4b790 9ce14f4b .config console log report syz C ci-android-44-kasan-gce-386
2018/05/01 18:55 https://android.googlesource.com/kernel/common android-4.4 12ef385f51fe d5b114b4 .config console log report syz C ci-android-44-kasan-gce-386
2018/04/30 16:21 https://android.googlesource.com/kernel/common android-4.4 12ef385f51fe 06db3cec .config console log report syz C ci-android-44-kasan-gce-386
2018/04/28 07:40 https://android.googlesource.com/kernel/common android-4.4 23eaecc37dfb d5a5d045 .config console log report syz C ci-android-44-kasan-gce-386
2018/04/28 06:28 https://android.googlesource.com/kernel/common android-4.4 23eaecc37dfb d5a5d045 .config console log report syz C ci-android-44-kasan-gce-386
2018/04/27 16:25 https://android.googlesource.com/kernel/common android-4.4 23eaecc37dfb 7785e404 .config console log report syz C ci-android-44-kasan-gce-386
2018/04/26 09:11 https://android.googlesource.com/kernel/common android-4.4 bd23e3af1765 73417389 .config console log report syz C ci-android-44-kasan-gce-386
2018/04/26 05:35 https://android.googlesource.com/kernel/common android-4.4 bd23e3af1765 73417389 .config console log report syz C ci-android-44-kasan-gce-386
2018/04/25 16:17 https://android.googlesource.com/kernel/common android-4.4 bd23e3af1765 73417389 .config console log report syz C ci-android-44-kasan-gce-386
2018/04/23 18:28 https://android.googlesource.com/kernel/common android-4.4 ed3b23f4d993 0d8e591c .config console log report syz C ci-android-44-kasan-gce-386
2018/04/23 15:54 https://android.googlesource.com/kernel/common android-4.4 ed3b23f4d993 0d8e591c .config console log report syz C ci-android-44-kasan-gce-386
2018/08/29 15:53 https://android.googlesource.com/kernel/common android-4.4 5e24b4e4d372 53ff8784 .config console log report ci-android-44-kasan-gce
2018/08/28 20:41 https://android.googlesource.com/kernel/common android-4.4 5e24b4e4d372 b771b17e .config console log report ci-android-44-kasan-gce
2018/08/28 18:42 https://android.googlesource.com/kernel/common android-4.4 5e24b4e4d372 b771b17e .config console log report ci-android-44-kasan-gce
2018/08/28 10:58 https://android.googlesource.com/kernel/common android-4.4 5e24b4e4d372 7ef1de9e .config console log report ci-android-44-kasan-gce
2018/08/28 02:42 https://android.googlesource.com/kernel/common android-4.4 e5c5f1fae55d 7ef1de9e .config console log report ci-android-44-kasan-gce
2018/08/27 18:43 https://android.googlesource.com/kernel/common android-4.4 e5c5f1fae55d 758cd203 .config console log report ci-android-44-kasan-gce
2018/08/26 08:02 https://android.googlesource.com/kernel/common android-4.4 e5c5f1fae55d 758cd203 .config console log report ci-android-44-kasan-gce
2018/08/25 23:12 https://android.googlesource.com/kernel/common android-4.4 e5c5f1fae55d 76e7c3df .config console log report ci-android-44-kasan-gce
2018/08/25 13:41 https://android.googlesource.com/kernel/common android-4.4 e5c5f1fae55d 9be5aa1d .config console log report ci-android-44-kasan-gce
2018/08/24 05:14 https://android.googlesource.com/kernel/common android-4.4 3a2ec581f8e1 95b5c82b .config console log report ci-android-44-kasan-gce
2018/08/23 17:02 https://android.googlesource.com/kernel/common android-4.4 37af2ff398ac 95b5c82b .config console log report ci-android-44-kasan-gce
2018/08/23 11:55 https://android.googlesource.com/kernel/common android-4.4 37af2ff398ac 95b5c82b .config console log report ci-android-44-kasan-gce
2018/08/23 10:17 https://android.googlesource.com/kernel/common android-4.4 37af2ff398ac 95b5c82b .config console log report ci-android-44-kasan-gce
2018/08/22 19:44 https://android.googlesource.com/kernel/common android-4.4 e917467d9786 95b5c82b .config console log report ci-android-44-kasan-gce
2018/08/21 00:20 https://android.googlesource.com/kernel/common android-4.4 5541782ce2bb 95b5c82b .config console log report ci-android-44-kasan-gce
2018/08/20 11:15 https://android.googlesource.com/kernel/common android-4.4 5541782ce2bb 2dc4378f .config console log report ci-android-44-kasan-gce
2018/08/20 09:06 https://android.googlesource.com/kernel/common android-4.4 5541782ce2bb 2dc4378f .config console log report ci-android-44-kasan-gce
2018/08/19 23:31 https://android.googlesource.com/kernel/common android-4.4 5541782ce2bb 2dc4378f .config console log report ci-android-44-kasan-gce
2018/08/29 19:01 https://android.googlesource.com/kernel/common android-4.4 5e24b4e4d372 4937cb2b .config console log report ci-android-44-kasan-gce-386
2018/08/29 08:09 https://android.googlesource.com/kernel/common android-4.4 5e24b4e4d372 53ff8784 .config console log report ci-android-44-kasan-gce-386
2018/08/29 04:43 https://android.googlesource.com/kernel/common android-4.4 5e24b4e4d372 b771b17e .config console log report ci-android-44-kasan-gce-386
2018/08/28 12:08 https://android.googlesource.com/kernel/common android-4.4 5e24b4e4d372 7ef1de9e .config console log report ci-android-44-kasan-gce-386
2018/08/28 04:00 https://android.googlesource.com/kernel/common android-4.4 e5c5f1fae55d 7ef1de9e .config console log report ci-android-44-kasan-gce-386
2018/08/27 12:08 https://android.googlesource.com/kernel/common android-4.4 e5c5f1fae55d 758cd203 .config console log report ci-android-44-kasan-gce-386
2018/08/27 09:21 https://android.googlesource.com/kernel/common android-4.4 e5c5f1fae55d 758cd203 .config console log report ci-android-44-kasan-gce-386
2018/08/26 16:54 https://android.googlesource.com/kernel/common android-4.4 e5c5f1fae55d 758cd203 .config console log report ci-android-44-kasan-gce-386
2018/08/26 00:46 https://android.googlesource.com/kernel/common android-4.4 e5c5f1fae55d 76e7c3df .config console log report ci-android-44-kasan-gce-386
2018/08/25 04:15 https://android.googlesource.com/kernel/common android-4.4 e15716b49f04 9b0f5c75 .config console log report ci-android-44-kasan-gce-386
2018/08/25 01:26 https://android.googlesource.com/kernel/common android-4.4 e15716b49f04 9b0f5c75 .config console log report ci-android-44-kasan-gce-386
2018/08/24 13:08 https://android.googlesource.com/kernel/common android-4.4 727cface4651 95b5c82b .config console log report ci-android-44-kasan-gce-386
2018/08/24 01:21 https://android.googlesource.com/kernel/common android-4.4 3a2ec581f8e1 95b5c82b .config console log report ci-android-44-kasan-gce-386
2018/08/23 22:40 https://android.googlesource.com/kernel/common android-4.4 3a2ec581f8e1 95b5c82b .config console log report ci-android-44-kasan-gce-386
2018/08/23 19:54 https://android.googlesource.com/kernel/common android-4.4 3a2ec581f8e1 95b5c82b .config console log report ci-android-44-kasan-gce-386
2018/08/23 13:48 https://android.googlesource.com/kernel/common android-4.4 37af2ff398ac 95b5c82b .config console log report ci-android-44-kasan-gce-386
2018/08/23 07:12 https://android.googlesource.com/kernel/common android-4.4 37af2ff398ac 95b5c82b .config console log report ci-android-44-kasan-gce-386
2018/08/23 02:43 https://android.googlesource.com/kernel/common android-4.4 37af2ff398ac 95b5c82b .config console log report ci-android-44-kasan-gce-386
2018/08/22 10:57 https://android.googlesource.com/kernel/common android-4.4 e917467d9786 95b5c82b .config console log report ci-android-44-kasan-gce-386
2018/08/20 21:27 https://android.googlesource.com/kernel/common android-4.4 5541782ce2bb 95b5c82b .config console log report ci-android-44-kasan-gce-386
2018/08/16 19:00 https://android.googlesource.com/kernel/common android-4.4 f057ff937754 9ccc1d45 .config console log report ci-android-44-kasan-gce-386
2018/08/16 08:27 https://android.googlesource.com/kernel/common android-4.4 f057ff937754 9ccc1d45 .config console log report ci-android-44-kasan-gce-386
* Struck through repros no longer work on HEAD.