syzbot


BUG: Bad page state in __get_metapage

Status: upstream: reported C repro on 2024/10/23 03:58
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+5f8f8e6c75b01fb682cf@syzkaller.appspotmail.com
First crash: 588d, last: 3d02h
Bug presence (1)
Date Name Commit Repro Result
2024/11/01 upstream (ToT) c426456857fa C [report] INFO: task hung in lmLogClose
Similar bugs (2)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.6 BUG: Bad page state in __get_metapage origin:upstream missing-backport -1 C error 929 2d22h 347d 0/2 upstream: reported C repro on 2025/06/20 20:02
linux-6.1 BUG: Bad page state in __get_metapage origin:upstream missing-backport -1 C done 1934 4h46m 588d 0/3 upstream: reported C repro on 2024/10/23 12:46

Sample crash report:
BUG: Bad page state in process jfsCommit  pfn:20713
page:ffffea000081c4c0 refcount:0 mapcount:0 mapping:0000000000000000 index:0x1c pfn:0x20713
flags: 0xfff00000002007(locked|referenced|uptodate|private|node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000002007 dead000000000100 dead000000000122 0000000000000000
raw: 000000000000001c ffff888022f87aa8 00000000ffffffff 0000000000000000
page dumped because: PAGE_FLAGS_CHECK_AT_FREE flag(s) set
page_owner tracks the page as allocated
page last allocated via order 0, migratetype Unmovable, gfp_mask 0x100c40(GFP_NOFS|__GFP_HARDWALL), pid 4314, ts 76373923549, free_ts 76248742465
 prep_new_page mm/page_alloc.c:2426 [inline]
 get_page_from_freelist+0x1bbd/0x1ca0 mm/page_alloc.c:4192
 __alloc_pages+0x1ee/0x480 mm/page_alloc.c:5501
 __page_cache_alloc+0xce/0x440 mm/filemap.c:1022
 do_read_cache_page+0x1da/0x1030 mm/filemap.c:3457
 read_mapping_page include/linux/pagemap.h:515 [inline]
 __get_metapage+0x35d/0x1060 fs/jfs/jfs_metapage.c:621
 diRead+0x6f7/0xbb0 fs/jfs/jfs_imap.c:367
 jfs_iget+0x89/0x3f0 fs/jfs/inode.c:35
 jfs_fill_super+0x73b/0xb00 fs/jfs/super.c:585
 mount_bdev+0x287/0x3c0 fs/super.c:1400
 legacy_get_tree+0xe6/0x180 fs/fs_context.c:611
 vfs_get_tree+0x88/0x270 fs/super.c:1530
 do_new_mount+0x24a/0xa40 fs/namespace.c:3034
 do_mount fs/namespace.c:3377 [inline]
 __do_sys_mount fs/namespace.c:3585 [inline]
 __se_sys_mount+0x2e3/0x3d0 fs/namespace.c:3562
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
page last free stack trace:
 reset_page_owner include/linux/page_owner.h:24 [inline]
 free_pages_prepare mm/page_alloc.c:1340 [inline]
 free_pcp_prepare mm/page_alloc.c:1391 [inline]
 free_unref_page_prepare+0x637/0x6c0 mm/page_alloc.c:3317
 free_unref_page_list+0x119/0x820 mm/page_alloc.c:3433
 release_pages+0x186c/0x1be0 mm/swap.c:963
 tlb_batch_pages_flush mm/mmu_gather.c:49 [inline]
 tlb_flush_mmu_free mm/mmu_gather.c:240 [inline]
 tlb_flush_mmu mm/mmu_gather.c:247 [inline]
 tlb_finish_mmu+0x176/0x300 mm/mmu_gather.c:338
 unmap_region+0x344/0x3b0 mm/mmap.c:2669
 __do_munmap+0x9f8/0xdf0 mm/mmap.c:2899
 __vm_munmap+0x140/0x240 mm/mmap.c:2952
 __do_sys_munmap mm/mmap.c:2978 [inline]
 __se_sys_munmap mm/mmap.c:2974 [inline]
 __x64_sys_munmap+0x67/0x70 mm/mmap.c:2974
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
Modules linked in:
CPU: 0 PID: 276 Comm: jfsCommit Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2026
Call Trace:
 <TASK>
 dump_stack_lvl+0x188/0x250 lib/dump_stack.c:106
 bad_page+0x14b/0x170 mm/page_alloc.c:652
 check_free_page mm/page_alloc.c:1209 [inline]
 free_pages_prepare mm/page_alloc.c:1334 [inline]
 free_pcp_prepare mm/page_alloc.c:1391 [inline]
 free_unref_page_prepare+0x383/0x6c0 mm/page_alloc.c:3317
 free_unref_page+0x8f/0x2a0 mm/page_alloc.c:3396
 txUnlock+0x27e/0xcb0 fs/jfs/jfs_txnmgr.c:933
 txLazyCommit fs/jfs/jfs_txnmgr.c:2717 [inline]
 jfs_lazycommit+0x581/0xb40 fs/jfs/jfs_txnmgr.c:2767
 kthread+0x436/0x520 kernel/kthread.c:334
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287
 </TASK>

Crashes (1408):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/04/01 19:55 linux-5.15.y 91d48252ad4b 9a1f7828 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-linux-5-15-kasan BUG: Bad page state in __get_metapage
2026/03/02 07:37 linux-5.15.y 3330a8d33e08 43249bac .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-linux-5-15-kasan BUG: Bad page state in __get_metapage
2026/01/25 03:20 linux-5.15.y 9eec9a14ee10 40acda8a .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-linux-5-15-kasan BUG: Bad page state in __get_metapage
2025/10/22 01:17 linux-5.15.y ac56c046adf4 9832ed61 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-linux-5-15-kasan BUG: Bad page state in __get_metapage
2025/09/02 06:48 linux-5.15.y 01879f56bdde 807a3b61 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-linux-5-15-kasan BUG: Bad page state in __get_metapage
2025/05/25 05:43 linux-5.15.y 98f47d0e9b8c ed351ea7 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-linux-5-15-kasan BUG: Bad page state in __get_metapage
2025/05/06 01:07 linux-5.15.y 16fdf2c7111b 6ca47dd8 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-linux-5-15-kasan BUG: Bad page state in __get_metapage
2025/01/22 11:48 linux-5.15.y 4735586da88e da72ac06 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan BUG: Bad page state in __get_metapage
2024/11/16 13:34 linux-5.15.y d98fd109f827 cfe3a04a .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan BUG: Bad page state in __get_metapage
2024/10/27 19:53 linux-5.15.y 74cdd62cb470 65e8686b .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan BUG: Bad page state in __get_metapage
2026/05/31 15:08 linux-5.15.y 241d66fa280c 6b4a8443 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: Bad page state in __get_metapage
2026/05/29 05:08 linux-5.15.y 241d66fa280c 4624854e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: Bad page state in __get_metapage
2026/05/26 19:06 linux-5.15.y 241d66fa280c a3e47276 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: Bad page state in __get_metapage
2026/05/26 02:58 linux-5.15.y 241d66fa280c c69befb3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: Bad page state in __get_metapage
2026/05/25 16:56 linux-5.15.y 241d66fa280c c69befb3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: Bad page state in __get_metapage
2026/05/24 23:46 linux-5.15.y 241d66fa280c c69befb3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: Bad page state in __get_metapage
2026/05/21 01:51 linux-5.15.y 93741761e5e3 41b8c833 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: Bad page state in __get_metapage
2026/05/18 18:58 linux-5.15.y 93741761e5e3 55156e84 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: Bad page state in __get_metapage
2026/05/18 11:49 linux-5.15.y 93741761e5e3 55156e84 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: Bad page state in __get_metapage
2026/05/18 04:25 linux-5.15.y 93741761e5e3 de5aae85 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: Bad page state in __get_metapage
2026/05/17 20:59 linux-5.15.y 93741761e5e3 de5aae85 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: Bad page state in __get_metapage
2026/05/16 23:51 linux-5.15.y 93741761e5e3 de5aae85 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: Bad page state in __get_metapage
2026/05/15 17:03 linux-5.15.y 93741761e5e3 9cd3beaa .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: Bad page state in __get_metapage
2026/05/13 23:56 linux-5.15.y de8dfb3f0278 6ccb967e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: Bad page state in __get_metapage
2026/05/13 11:32 linux-5.15.y de8dfb3f0278 fec2a7ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: Bad page state in __get_metapage
2026/05/11 21:51 linux-5.15.y de8dfb3f0278 d168f260 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: Bad page state in __get_metapage
2026/05/11 12:50 linux-5.15.y de8dfb3f0278 845acb1c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: Bad page state in __get_metapage
2026/05/10 10:18 linux-5.15.y de8dfb3f0278 29233ece .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: Bad page state in __get_metapage
2026/05/09 11:18 linux-5.15.y de8dfb3f0278 29233ece .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: Bad page state in __get_metapage
2026/05/09 08:05 linux-5.15.y de8dfb3f0278 29233ece .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: Bad page state in __get_metapage
2026/05/08 03:25 linux-5.15.y ef251c45f1cd 5633175a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: Bad page state in __get_metapage
2026/05/07 14:28 linux-5.15.y ef251c45f1cd cbf9e0fc .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: Bad page state in __get_metapage
2026/05/07 14:27 linux-5.15.y ef251c45f1cd cbf9e0fc .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: Bad page state in __get_metapage
2026/05/07 02:16 linux-5.15.y ef251c45f1cd f250db59 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: Bad page state in __get_metapage
2026/05/05 14:34 linux-5.15.y ef251c45f1cd 06e69a27 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: Bad page state in __get_metapage
2026/05/05 12:24 linux-5.15.y ef251c45f1cd 06e69a27 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: Bad page state in __get_metapage
2026/05/05 01:48 linux-5.15.y ef251c45f1cd a898ba9c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: Bad page state in __get_metapage
2026/05/04 17:39 linux-5.15.y ef251c45f1cd 85f1bcf2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: Bad page state in __get_metapage
2026/05/04 09:52 linux-5.15.y ef251c45f1cd 85f1bcf2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: Bad page state in __get_metapage
2026/05/04 05:10 linux-5.15.y ef251c45f1cd a0d91488 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: Bad page state in __get_metapage
2026/05/02 10:25 linux-5.15.y ef251c45f1cd a0d91488 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: Bad page state in __get_metapage
2026/05/01 21:10 linux-5.15.y ef251c45f1cd 753c55b9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: Bad page state in __get_metapage
2026/05/01 19:14 linux-5.15.y ef251c45f1cd 753c55b9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: Bad page state in __get_metapage
2026/04/30 19:07 linux-5.15.y ef251c45f1cd a7464baf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: Bad page state in __get_metapage
2026/04/29 14:19 linux-5.15.y b9d57c40a767 7ca9e4d8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: Bad page state in __get_metapage
2026/04/28 03:56 linux-5.15.y b9d57c40a767 ce741359 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: Bad page state in __get_metapage
2026/04/27 09:24 linux-5.15.y b9d57c40a767 0f700595 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: Bad page state in __get_metapage
2026/04/27 04:15 linux-5.15.y b9d57c40a767 9c2d0995 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: Bad page state in __get_metapage
2026/04/25 19:07 linux-5.15.y b9d57c40a767 9c2d0995 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: Bad page state in __get_metapage
2026/04/24 04:41 linux-5.15.y b9d57c40a767 9cfb3ca7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: Bad page state in __get_metapage
2026/04/24 00:52 linux-5.15.y b9d57c40a767 9cfb3ca7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: Bad page state in __get_metapage
2026/04/23 13:01 linux-5.15.y b9d57c40a767 4c3406dc .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: Bad page state in __get_metapage
2026/04/23 12:59 linux-5.15.y b9d57c40a767 4c3406dc .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: Bad page state in __get_metapage
2026/04/23 00:48 linux-5.15.y b9d57c40a767 b10da5ec .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: Bad page state in __get_metapage
2026/04/22 12:24 linux-5.15.y b9d57c40a767 4595e353 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: Bad page state in __get_metapage
2024/10/23 03:57 linux-5.15.y 74cdd62cb470 15fa2979 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan BUG: Bad page state in __get_metapage
* Struck through repros no longer work on HEAD.