syzbot


BUG: Bad page state

Status: auto-obsoleted due to no activity on 2022/08/26 22:10
Reported-by: syzbot+453ff6e3e5c33cf804df@syzkaller.appspotmail.com
First crash: 1541d, last: 1510d
Similar bugs (15)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream BUG: Bad page state (3) usb C 3 2322d 2329d 4/26 fixed on 2018/02/02 04:39
linux-4.14 BUG: Bad page state C 9 451d 593d 0/1 upstream: reported C repro on 2022/10/03 07:33
upstream BUG: Bad page state (5) mm C 171 1907d 1921d 0/26 closed as invalid on 2019/02/27 20:53
linux-4.19 BUG: Bad page state 1 909d 909d 0/1 auto-closed as invalid on 2022/03/21 10:57
linux-4.19 BUG: Bad page state (2) 1 720d 720d 0/1 auto-obsoleted due to no activity on 2022/09/26 19:49
upstream BUG: Bad page state (7) mm 3 1357d 1414d 0/26 auto-closed as invalid on 2020/12/28 02:44
linux-6.1 BUG: Bad page state origin:upstream C 174 15d 357d 0/3 upstream: reported C repro on 2023/05/27 10:10
linux-4.19 BUG: Bad page state (3) C error 1 594d 594d 0/1 upstream: reported C repro on 2022/10/02 20:53
android-49 BUG: Bad page state 3 1690d 1713d 0/3 auto-closed as invalid on 2020/01/30 18:48
upstream BUG: Bad page state (2) crypto 1 2365d 2361d 0/26 closed as invalid on 2017/12/06 12:57
upstream BUG: Bad page state (4) sound 1 2127d 2127d 0/26 closed as invalid on 2018/09/05 12:51
upstream BUG: Bad page state (6) mm C 2 1906d 1906d 0/26 closed as invalid on 2019/03/01 18:38
upstream BUG: Bad page state C 2 2468d 2468d 3/26 fixed on 2017/10/24 06:54
linux-5.15 BUG: Bad page state origin:upstream C error 52 3d14h 398d 0/3 upstream: reported C repro on 2023/04/16 11:16
upstream BUG: Bad page state (8) jfs mm C 8368 now 1202d 1/26 upstream: reported C repro on 2021/02/01 10:07
Last patch testing requests (5)
Created Duration User Patch Repo Result
2022/08/26 20:27 0m retest repro https://android.googlesource.com/kernel/common android-5.4 error OK
2022/08/26 19:27 0m retest repro https://android.googlesource.com/kernel/common android-5.4 error OK
2022/08/26 17:27 0m retest repro https://android.googlesource.com/kernel/common android-5.4 error OK
2022/08/26 15:27 0m retest repro https://android.googlesource.com/kernel/common android-5.4 error OK
2022/08/26 13:27 1m retest repro https://android.googlesource.com/kernel/common android-5.4 error OK

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):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/03/30 04:19 https://android.googlesource.com/kernel/common android-5.4 8398205ce446 05736b29 .config console 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 console 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 console 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 console 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 console 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 console log report ci2-android-5-4-kasan
2020/03/08 17:34 https://android.googlesource.com/kernel/common android-5.4 3334f0da669e 2e9971bb .config console log report ci2-android-5-4-kasan
2020/03/06 16:47 https://android.googlesource.com/kernel/common android-5.4 017d67e9a8b3 7fb694ef .config console log report ci2-android-5-4-kasan
2020/02/28 07:36 https://android.googlesource.com/kernel/common android-5.4 35eb457cb886 c88c7b75 .config console log report ci2-android-5-4-kasan
* Struck through repros no longer work on HEAD.