syzbot


BUG: Bad page state

Status: upstream: reported C repro on 2020/02/28 01:20
Reported-by: syzbot+453ff6e3e5c33cf804df@syzkaller.appspotmail.com
First crash: 892d, last: 861d
similar bugs (11):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream BUG: Bad page state (3) C 3 1673d 1680d 4/23 fixed on 2018/02/02 04:39
upstream BUG: Bad page state (5) C 171 1258d 1272d 0/23 closed as invalid on 2019/02/27 20:53
linux-4.19 BUG: Bad page state 1 260d 260d 0/1 auto-closed as invalid on 2022/03/21 10:57
linux-4.19 BUG: Bad page state (2) 1 71d 71d 0/1 upstream: reported on 2022/05/29 19:49
upstream BUG: Bad page state (7) 3 708d 765d 0/23 auto-closed as invalid on 2020/12/28 02:44
android-49 BUG: Bad page state 3 1041d 1064d 0/3 auto-closed as invalid on 2020/01/30 18:48
upstream BUG: Bad page state (2) 1 1716d 1712d 0/23 closed as invalid on 2017/12/06 12:57
upstream BUG: Bad page state (4) 1 1478d 1478d 0/23 closed as invalid on 2018/09/05 12:51
upstream BUG: Bad page state (6) C 2 1257d 1257d 0/23 closed as invalid on 2019/03/01 18:38
upstream BUG: Bad page state C 2 1819d 1819d 3/23 fixed on 2017/10/24 06:54
upstream BUG: Bad page state (8) 358 11h48m 553d 1/23 upstream: reported on 2021/02/01 10:07

Sample crash report:
RDX: 0000000000000001 RSI: 00007ffe8c37f240 RDI: 00000000000000f0
RBP: 00007ffe8c37f210 R08: 0000000000000000 R09: 00000000bb1414ac
R10: 00000000bb1414ac R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
---[ end trace 5f733bd1395d0a3e ]---
BUG: Bad page state in process syz-executor413  pfn:1c8528
page:ffffea0007214a00 refcount:0 mapcount:0 mapping:ffff8881da8e4e00 index:0x0 compound_mapcount: 0
flags: 0x8000000000010200(slab|head)
CPU: 0 PID: 391 Comm: syz-executor413 Tainted: G    B   W         5.4.28-syzkaller-00758-g8398205ce446 #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+0x1b0/0x228 lib/dump_stack.c:118
 bad_page+0x262/0x290 mm/page_alloc.c:661
 free_pages_check_bad mm/page_alloc.c:1062 [inline]
 free_pages_check mm/page_alloc.c:1071 [inline]
 free_pages_prepare mm/page_alloc.c:1169 [inline]
 __free_pages_ok+0x759/0xd80 mm/page_alloc.c:1432
 free_compound_page+0x67/0x90 mm/page_alloc.c:686
 __put_compound_page mm/swap.c:97 [inline]
 __put_page+0xf7/0x120 mm/swap.c:113
 put_page include/linux/mm.h:1050 [inline]
 do_exit+0x1d53/0x26f0 kernel/exit.c:841
 do_group_exit+0x153/0x2a0 kernel/exit.c:899
 __do_sys_exit_group+0x17/0x20 kernel/exit.c:910
 __se_sys_exit_group+0x14/0x20 kernel/exit.c:908
 __x64_sys_exit_group+0x3b/0x40 kernel/exit.c:908
 do_syscall_64+0xc0/0x100 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x440d38
Code: Bad RIP value.
RSP: 002b:00007ffe8c37f1b8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000440d38
RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000000000000000
RBP: 00000000004c6b50 R08: 00000000000000e7 R09: ffffffffffffffd0
R10: 00000000bb1414ac R11: 0000000000000246 R12: 0000000000000001
R13: 00000000006d95e0 R14: 0000000000000000 R15: 0000000000000000

Crashes (9):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-android-5-4-kasan 2020/03/30 04:19 https://android.googlesource.com/kernel/common android-5.4 8398205ce446 05736b29 .config log report syz C
ci2-android-5-4-kasan 2020/03/08 20:07 https://android.googlesource.com/kernel/common android-5.4 3334f0da669e 2e9971bb .config log report syz C
ci2-android-5-4-kasan 2020/03/08 17:31 https://android.googlesource.com/kernel/common android-5.4 3334f0da669e 2e9971bb .config log report syz C
ci2-android-5-4-kasan 2020/03/03 04:56 https://android.googlesource.com/kernel/common android-5.4 2c2101d18159 4a4e0509 .config log report syz C
ci2-android-5-4-kasan 2020/02/28 01:20 https://android.googlesource.com/kernel/common android-5.4 35eb457cb886 c88c7b75 .config log report syz C
ci2-android-5-4-kasan 2020/03/29 18:37 https://android.googlesource.com/kernel/common android-5.4 8398205ce446 05736b29 .config log report
ci2-android-5-4-kasan 2020/03/08 17:34 https://android.googlesource.com/kernel/common android-5.4 3334f0da669e 2e9971bb .config log report
ci2-android-5-4-kasan 2020/03/06 16:47 https://android.googlesource.com/kernel/common android-5.4 017d67e9a8b3 7fb694ef .config log report
ci2-android-5-4-kasan 2020/02/28 07:36 https://android.googlesource.com/kernel/common android-5.4 35eb457cb886 c88c7b75 .config log report