BUG: Bad page state

66 views
Skip to first unread message

syzbot

unread,
Feb 27, 2020, 8:20:14 PM2/27/20
to syzkaller-a...@googlegroups.com
Hello,

syzbot found the following crash on:

HEAD commit: 35eb457c FROMLIST: kbuild: generate autoksyms.h early
git tree: android-5.4
console output: https://syzkaller.appspot.com/x/log.txt?x=13cf6529e00000
kernel config: https://syzkaller.appspot.com/x/.config?x=bdd03c208b0a3eaa
dashboard link: https://syzkaller.appspot.com/bug?extid=453ff6e3e5c33cf804df
compiler: Android (6032204 based on r370808) clang version 10.0.1 (https://android.googlesource.com/toolchain/llvm-project 6e765c10313d15c02ab29977a82938f66742c3a9)
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=147dbefde00000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=16d1f8f9e00000

IMPORTANT: if you fix the bug, please add the following tag to the commit:
Reported-by: syzbot+453ff6...@syzkaller.appspotmail.com

RDX: 0000000000000001 RSI: 00007ffdca02eb50 RDI: 00000000000000f0
RBP: 0000000020000014 R08: 0000000000000000 R09: 00000000bb1414ac
R10: 00000000bb1414ac R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
---[ end trace 0458c3df6c26a4b5 ]---
BUG: Bad page state in process syz-executor222 pfn:1d07f8
page:ffffea000741fe00 refcount:0 mapcount:0 mapping:ffff8881da802800 index:0x0 compound_mapcount: 0
raw: 8000000000010200 dead000000000100 dead000000000122 ffff8881da802800
raw: 0000000000000000 0000000080080008 00000000ffffffff 0000000000000000
page dumped because: PAGE_FLAGS_CHECK_AT_FREE flag(s) set
bad because of flags: 0x200(slab)
Modules linked in:
CPU: 1 PID: 1884 Comm: syz-executor222 Tainted: G W 5.4.22-syzkaller-01118-g35eb457cb886 #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:0x440d18
Code: Bad RIP value.
RSP: 002b:00007ffdca02eac8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000440d18
RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000000000000000
RBP: 00000000004c6bf0 R08: 00000000000000e7 R09: ffffffffffffffd0
R10: 00000000bb1414ac R11: 0000000000000246 R12: 0000000000000001
R13: 00000000006d95e0 R14: 0000000000000000 R15: 0000000000000000


---
This bug is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this bug report. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.
syzbot can test patches for this bug, for details see:
https://goo.gl/tpsmEJ#testing-patches

syzbot

unread,
Aug 26, 2022, 6:10:25 PM8/26/22
to syzkaller-a...@googlegroups.com
Auto-closing this bug as obsolete.
No recent activity, existing reproducers are no longer triggering the issue.
Reply all
Reply to author
Forward
0 new messages