syzbot


BUG: Bad page state (6)

Status: closed as invalid on 2019/03/01 18:38
Subsystems: mm
[Documentation on labels]
Reported-by: syzbot+6f5a9b79b75b66078bf0@syzkaller.appspotmail.com
First crash: 2052d, last: 2052d
Discussions (1)
Title Replies (including bot) Last reply
BUG: Bad page state (6) 7 (8) 2019/02/28 19:51
Similar bugs (15)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream BUG: Bad page state (3) usb C 3 2468d 2475d 4/28 fixed on 2018/02/02 04:39
linux-4.14 BUG: Bad page state C 9 597d 739d 0/1 upstream: reported C repro on 2022/10/03 07:33
upstream BUG: Bad page state (5) mm C 171 2053d 2066d 0/28 closed as invalid on 2019/02/27 20:53
linux-4.19 BUG: Bad page state 1 1055d 1055d 0/1 auto-closed as invalid on 2022/03/21 10:57
linux-4.19 BUG: Bad page state (2) 1 865d 865d 0/1 auto-obsoleted due to no activity on 2022/09/26 19:49
upstream BUG: Bad page state (7) mm 3 1503d 1560d 0/28 auto-closed as invalid on 2020/12/28 02:44
linux-6.1 BUG: Bad page state origin:upstream missing-backport C done 589 4h05m 503d 0/3 upstream: reported C repro on 2023/05/27 10:10
linux-4.19 BUG: Bad page state (3) C error 1 739d 739d 0/1 upstream: reported C repro on 2022/10/02 20:53
android-49 BUG: Bad page state 3 1835d 1859d 0/3 auto-closed as invalid on 2020/01/30 18:48
android-54 BUG: Bad page state C 9 1656d 1687d 0/2 auto-obsoleted due to no activity on 2022/08/26 22:10
upstream BUG: Bad page state (2) crypto 1 2510d 2506d 0/28 closed as invalid on 2017/12/06 12:57
upstream BUG: Bad page state (4) sound 1 2272d 2272d 0/28 closed as invalid on 2018/09/05 12:51
upstream BUG: Bad page state C 2 2613d 2614d 3/28 fixed on 2017/10/24 06:54
linux-5.15 BUG: Bad page state origin:upstream missing-backport C error 890 6h19m 544d 0/3 upstream: reported C repro on 2023/04/16 11:16
upstream BUG: Bad page state (8) jfs mm C 12970 2h00m 1348d 1/28 upstream: reported C repro on 2021/02/01 10:07

Sample crash report:
BUG: Bad page state in process syz-executor193  pfn:9225a
page:ffffea0002489680 count:0 mapcount:0 mapping:ffff88808652fd80 index:0x81
shmem_aops 
name:"memfd:cgroup2" 
flags: 0x1fffc000008000e(referenced|uptodate|dirty|swapbacked)
raw: 01fffc000008000e ffff88809277fac0 ffff88809277fac0 ffff88808652fd80
raw: 0000000000000081 0000000000000000 00000000ffffffff 0000000000000000
page dumped because: non-NULL mapping
Modules linked in:
CPU: 0 PID: 7659 Comm: syz-executor193 Not tainted 5.0.0-rc8-next-20190228 #45
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+0x172/0x1f0 lib/dump_stack.c:113
 bad_page.cold+0xda/0xff mm/page_alloc.c:586
 free_pages_check_bad+0x142/0x1a0 mm/page_alloc.c:1013
 free_pages_check mm/page_alloc.c:1022 [inline]
 free_pages_prepare mm/page_alloc.c:1112 [inline]
 free_pcp_prepare mm/page_alloc.c:1137 [inline]
 free_unref_page_prepare mm/page_alloc.c:3001 [inline]
 free_unref_page_list+0x31d/0xc40 mm/page_alloc.c:3070
 release_pages+0x60d/0x1940 mm/swap.c:794
 pagevec_lru_move_fn+0x218/0x2a0 mm/swap.c:213
 activate_page_drain mm/swap.c:297 [inline]
 lru_add_drain_cpu+0x3b1/0x520 mm/swap.c:596
 lru_add_drain+0x20/0x60 mm/swap.c:647
 exit_mmap+0x290/0x530 mm/mmap.c:3134
 __mmput kernel/fork.c:1047 [inline]
 mmput+0x15f/0x4c0 kernel/fork.c:1068
 exit_mm kernel/exit.c:546 [inline]
 do_exit+0x816/0x2fa0 kernel/exit.c:863
 do_group_exit+0x135/0x370 kernel/exit.c:980
 __do_sys_exit_group kernel/exit.c:991 [inline]
 __se_sys_exit_group kernel/exit.c:989 [inline]
 __x64_sys_exit_group+0x44/0x50 kernel/exit.c:989
 do_syscall_64+0x103/0x610 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x442a58
Code: 00 00 be 3c 00 00 00 eb 19 66 0f 1f 84 00 00 00 00 00 48 89 d7 89 f0 0f 05 48 3d 00 f0 ff ff 77 21 f4 48 89 d7 44 89 c0 0f 05 <48> 3d 00 f0 ff ff 76 e0 f7 d8 64 41 89 01 eb d8 0f 1f 84 00 00 00
RSP: 002b:00007ffe99e2faf8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000442a58
RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000000000000000
RBP: 00000000004c2468 R08: 00000000000000e7 R09: ffffffffffffffd0
R10: 0000000002000005 R11: 0000000000000246 R12: 0000000000000001
R13: 00000000006d4180 R14: 0000000000000000 R15: 0000000000000000

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/02/28 10:11 linux-next 42fd8df9d1d9 34ec456b .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2019/02/28 09:22 linux-next 42fd8df9d1d9 34ec456b .config console log report ci-upstream-linux-next-kasan-gce-root
* Struck through repros no longer work on HEAD.