syzbot


BUG: Bad page state (7)

Status: auto-closed as invalid on 2020/12/28 02:44
Subsystems: mm
[Documentation on labels]
Reported-by: syzbot+d518e502e242315e777c@syzkaller.appspotmail.com
First crash: 1423d, last: 1362d
Discussions (1)
Title Replies (including bot) Last reply
BUG: Bad page state (7) 0 (1) 2020/07/04 06:43
Similar bugs (15)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream BUG: Bad page state (3) usb C 3 2327d 2333d 4/26 fixed on 2018/02/02 04:39
linux-4.14 BUG: Bad page state C 9 456d 597d 0/1 upstream: reported C repro on 2022/10/03 07:33
upstream BUG: Bad page state (5) mm C 171 1912d 1925d 0/26 closed as invalid on 2019/02/27 20:53
linux-4.19 BUG: Bad page state 1 913d 913d 0/1 auto-closed as invalid on 2022/03/21 10:57
linux-4.19 BUG: Bad page state (2) 1 724d 724d 0/1 auto-obsoleted due to no activity on 2022/09/26 19:49
linux-6.1 BUG: Bad page state origin:upstream C 174 20d 361d 0/3 upstream: reported C repro on 2023/05/27 10:10
linux-4.19 BUG: Bad page state (3) C error 1 598d 598d 0/1 upstream: reported C repro on 2022/10/02 20:53
android-49 BUG: Bad page state 3 1694d 1718d 0/3 auto-closed as invalid on 2020/01/30 18:48
android-54 BUG: Bad page state C 9 1515d 1546d 0/2 auto-obsoleted due to no activity on 2022/08/26 22:10
upstream BUG: Bad page state (2) crypto 1 2369d 2365d 0/26 closed as invalid on 2017/12/06 12:57
upstream BUG: Bad page state (4) sound 1 2131d 2131d 0/26 closed as invalid on 2018/09/05 12:51
upstream BUG: Bad page state (6) mm C 2 1910d 1910d 0/26 closed as invalid on 2019/03/01 18:38
upstream BUG: Bad page state C 2 2472d 2473d 3/26 fixed on 2017/10/24 06:54
linux-5.15 BUG: Bad page state origin:upstream C error 53 1d10h 402d 0/3 upstream: reported C repro on 2023/04/16 11:16
upstream BUG: Bad page state (8) jfs mm C 8544 31m 1206d 1/26 upstream: reported C repro on 2021/02/01 10:07

Sample crash report:
BUG: Bad page state in process syz-executor.5  pfn:10e01
page:00000000e7fd01d4 refcount:0 mapcount:1 mapping:0000000000000000 index:0x20001 pfn:0x10e01
head:00000000ac9cbe41 order:9 compound_mapcount:1 compound_pincount:0
anon flags: 0xfffe0000090004(uptodate|head|swapbacked)
raw: 00fffe0000000000 ffffea0000438001 0000000000430903 dead000000000200
raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000
head: 00fffe0000090004 dead000000000100 dead000000000122 ffff8880a7496501
head: 0000000000020000 0000000000000000 00000000ffffffff 0000000000000000
page dumped because: nonzero compound_mapcount
Modules linked in:
CPU: 1 PID: 640 Comm: syz-executor.5 Not tainted 5.9.0-rc2-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x18f/0x20d lib/dump_stack.c:118
 bad_page.cold+0x9c/0xbd mm/page_alloc.c:636
 free_tail_pages_check mm/page_alloc.c:1124 [inline]
 free_pages_prepare mm/page_alloc.c:1190 [inline]
 __free_pages_ok+0xa24/0xc90 mm/page_alloc.c:1471
 release_pages+0x5ec/0x17a0 mm/swap.c:881
 tlb_batch_pages_flush mm/mmu_gather.c:49 [inline]
 tlb_flush_mmu_free mm/mmu_gather.c:242 [inline]
 tlb_flush_mmu+0xe9/0x6b0 mm/mmu_gather.c:249
 zap_pte_range mm/memory.c:1157 [inline]
 zap_pmd_range mm/memory.c:1195 [inline]
 zap_pud_range mm/memory.c:1224 [inline]
 zap_p4d_range mm/memory.c:1245 [inline]
 unmap_page_range+0x1e22/0x2b20 mm/memory.c:1266
 unmap_single_vma+0x198/0x300 mm/memory.c:1311
 unmap_vmas+0x168/0x2e0 mm/memory.c:1343
 exit_mmap+0x2b1/0x530 mm/mmap.c:3183
 __mmput+0x122/0x470 kernel/fork.c:1076
 mmput+0x53/0x60 kernel/fork.c:1097
 exit_mm kernel/exit.c:483 [inline]
 do_exit+0xa8b/0x29f0 kernel/exit.c:793
 do_group_exit+0x125/0x310 kernel/exit.c:903
 __do_sys_exit_group kernel/exit.c:914 [inline]
 __se_sys_exit_group kernel/exit.c:912 [inline]
 __x64_sys_exit_group+0x3a/0x50 kernel/exit.c:912
 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x45d5b9
Code: Bad RIP value.
RSP: 002b:00007ffe15486448 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 000000000000001e RCX: 000000000045d5b9
RDX: 0000000000416f01 RSI: fffffffffffffff7 RDI: 0000000000000000
RBP: 0000000000000000 R08: 00000000c0aa3228 R09: 00007ffe154864a0
R10: ffffffff81341b8f R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffe154864a0 R14: 0000000000000000 R15: 00007ffe154864b0
BUG: Bad page state in process syz-executor.5  pfn:10ebc
page:00000000eeec502c refcount:0 mapcount:-1 mapping:0000000000000000 index:0x0 pfn:0x10ebc
flags: 0xfffe0000000000()
raw: 00fffe0000000000 0000000000000000 ffffea000043af08 0000000000000000
raw: 0000000000000000 0000000000000000 00000000fffffffe 0000000000000000
page dumped because: nonzero mapcount
Modules linked in:
CPU: 1 PID: 640 Comm: syz-executor.5 Tainted: G    B             5.9.0-rc2-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x18f/0x20d lib/dump_stack.c:118
 bad_page.cold+0x9c/0xbd mm/page_alloc.c:636
 check_free_page_bad mm/page_alloc.c:1092 [inline]
 check_free_page mm/page_alloc.c:1102 [inline]
 free_pages_prepare mm/page_alloc.c:1191 [inline]
 __free_pages_ok+0x7c2/0xc90 mm/page_alloc.c:1471
 release_pages+0x5ec/0x17a0 mm/swap.c:881
 tlb_batch_pages_flush mm/mmu_gather.c:49 [inline]
 tlb_flush_mmu_free mm/mmu_gather.c:242 [inline]
 tlb_flush_mmu+0xe9/0x6b0 mm/mmu_gather.c:249
 zap_pte_range mm/memory.c:1157 [inline]
 zap_pmd_range mm/memory.c:1195 [inline]
 zap_pud_range mm/memory.c:1224 [inline]
 zap_p4d_range mm/memory.c:1245 [inline]
 unmap_page_range+0x1e22/0x2b20 mm/memory.c:1266
 unmap_single_vma+0x198/0x300 mm/memory.c:1311
 unmap_vmas+0x168/0x2e0 mm/memory.c:1343
 exit_mmap+0x2b1/0x530 mm/mmap.c:3183
 __mmput+0x122/0x470 kernel/fork.c:1076
 mmput+0x53/0x60 kernel/fork.c:1097
 exit_mm kernel/exit.c:483 [inline]
 do_exit+0xa8b/0x29f0 kernel/exit.c:793
 do_group_exit+0x125/0x310 kernel/exit.c:903
 __do_sys_exit_group kernel/exit.c:914 [inline]
 __se_sys_exit_group kernel/exit.c:912 [inline]
 __x64_sys_exit_group+0x3a/0x50 kernel/exit.c:912
 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x45d5b9
Code: Bad RIP value.
RSP: 002b:00007ffe15486448 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 000000000000001e RCX: 000000000045d5b9
RDX: 0000000000416f01 RSI: fffffffffffffff7 RDI: 0000000000000000
RBP: 0000000000000000 R08: 00000000c0aa3228 R09: 00007ffe154864a0
R10: ffffffff81341b8f R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffe154864a0 R14: 0000000000000000 R15: 00007ffe154864b0

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/08/30 02:43 upstream 4d41ead6ead9 d5a3ae1f .config console log report ci-upstream-kasan-gce-selinux-root
2020/07/06 15:10 linux-next 9e50b94b3eb0 51095195 .config console log report ci-upstream-linux-next-kasan-gce-root
2020/06/30 00:31 linux-next 36e3135df4d4 a2cdad9d .config console log report ci-upstream-linux-next-kasan-gce-root
* Struck through repros no longer work on HEAD.