BUG: Bad page state in corrupted

Status: upstream: reported C repro on 2024/12/24 12:58
Bug presence: origin:lts-only
[Documentation on labels]
Reported-by: syzbot+8070a6cb99d47d0aeed0@syzkaller.appspotmail.com
First crash: 636d, last: 9d09h
Fix bisection: failed (error log, bisect log)
  
Bug presence (2)
Date Name Commit Repro Result
2024/12/27 linux-6.1.y (ToT) 29f02ec58a94 C [report] BUG: Bad page state in corrupted
2024/12/27 upstream (ToT) d6ef8b40d075 C Didn't crash
Similar bugs (2)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 BUG: Bad page state in corrupted origin:upstream -1 syz, C error 6 15d 671d 0/3 upstream: reported C repro on 2024/11/19 11:50
upstream BUG: Bad page state in corrupted prio:high mm -1 syz, C 1 28d 39d 0/29 upstream: reported C repro on 2026/08/13 00:08
Fix bisection attempts (3)
Created Duration User Patch Repo Result
2025/09/28 04:51 2h07m fix candidate upstream OK (0) job log
2025/03/04 10:00 16m bisect fix linux-6.1.y error job log
2025/01/30 15:39 3h12m bisect fix linux-6.1.y OK (0) job log log

Sample crash report:
blkno = 5002c, nblocks = 1
ERROR: (device loop0): dbUpdatePMap: blocks are outside the map
ERROR: (device loop0): remounting filesystem as read-only
BUG: Bad page state in process jfsCommit  pfn:117d86
page:000000002dd6056b refcount:0 mapcount:0 mapping:0000000000000000 index:0x24 pfn:0x117d86
flags: 0x5ffc00000002047(locked|referenced|uptodate|workingset|private|node=0|zone=2|lastcpupid=0x7ff)
raw: 05ffc00000002047 dead000000000100 dead000000000122 0000000000000000
raw: 0000000000000024 ffff0000df608d90 00000000ffffffff 0000000000000000
page dumped because: PAGE_FLAGS_CHECK_AT_FREE flag(s) set
Modules linked in:
CPU: 1 PID: 95 Comm: jfsCommit Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/14/2026
Call trace:
 dump_backtrace+0x1c4/0x1f0 arch/arm64/kernel/stacktrace.c:158
 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:165
 __dump_stack+0x30/0x40 lib/dump_stack.c:88
 dump_stack_lvl+0xf4/0x15c lib/dump_stack.c:106
 dump_stack+0x1c/0x5c lib/dump_stack.c:113
 bad_page+0x188/0x1a8 mm/page_alloc.c:726
 free_page_is_bad_report+0xf8/0x170 mm/page_alloc.c:1308
 free_page_is_bad mm/page_alloc.c:1318 [inline]
 free_pages_prepare mm/page_alloc.c:1479 [inline]
 free_pcp_prepare mm/page_alloc.c:1537 [inline]
 free_unref_page_prepare+0x638/0xb24 mm/page_alloc.c:3414
 free_unref_page+0x7c/0x3a0 mm/page_alloc.c:3509
 __folio_put_small mm/swap.c:97 [inline]
 __folio_put+0xd0/0x128 mm/swap.c:120
 folio_put include/linux/mm.h:1182 [inline]
 put_page include/linux/mm.h:1234 [inline]
 _metapage_homeok+0x130/0x210 fs/jfs/jfs_metapage.h:119
 txUnlock+0x230/0xbac fs/jfs/jfs_txnmgr.c:933
 txLazyCommit fs/jfs/jfs_txnmgr.c:2683 [inline]
 jfs_lazycommit+0x454/0x930 fs/jfs/jfs_txnmgr.c:2733
 kthread+0x254/0x2e0 kernel/kthread.c:376
 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:850
page:000000002dd6056b refcount:0 mapcount:0 mapping:0000000000000000 index:0x24 pfn:0x117d86
flags: 0x5ffc00000002047(locked|referenced|uptodate|workingset|private|node=0|zone=2|lastcpupid=0x7ff)
raw: 05ffc00000002047 dead000000000100 dead000000000122 0000000000000000
raw: 0000000000000024 ffff0000df608d90 00000000ffffffff 0000000000000000
page dumped because: VM_BUG_ON_FOLIO(((unsigned int) folio_ref_count(folio) + 127u <= 127u))
------------[ cut here ]------------
kernel BUG at include/linux/mm.h:1146!
Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP
Modules linked in:
CPU: 0 PID: 95 Comm: jfsCommit Tainted: G    B              syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/14/2026
pstate: 82400005 (Nzcv daif +PAN -UAO +TCO -DIT -SSBS BTYPE=--)
pc : folio_get include/linux/mm.h:1146 [inline]
pc : get_page include/linux/mm.h:1152 [inline]
pc : put_metapage+0x270/0x2b4 fs/jfs/jfs_metapage.c:721
lr : folio_get include/linux/mm.h:1146 [inline]
lr : get_page include/linux/mm.h:1152 [inline]
lr : put_metapage+0x270/0x2b4 fs/jfs/jfs_metapage.c:721
sp : ffff80001fff7c10
x29: ffff80001fff7c10 x28: ffff80002022a090 x27: 0000000000000048
x26: ffff80001c762000 x25: 1fffe0001bec11b7 x24: 1fffe0001bec11c4
x23: dfff800000000000 x22: 000000000000007f x21: fffffc00035f61b4
x20: fffffc00035f6180 x19: ffff0000df608d90 x18: 1fffe00033e6df7e
x17: 635f6665725f6f69 x16: ffff800011ba0e90 x15: 2064656e6769736e
x14: 0000000000000001 x13: 1fffe00033e6dfa3 x12: 0000000000000000
x11: ff008000087ca210 x10: 0000000000000000 x9 : ffff8000087ca210
x8 : ffff0000c78f8000 x7 : 0000000000000001 x6 : 0000000000000001
x5 : ffff80001fff7658 x4 : ffff800015484e80 x3 : ffff800008540dd8
x2 : 0000000000000001 x1 : 0000000100000000 x0 : 000000000000005c
Call trace:
 folio_get include/linux/mm.h:1146 [inline]
 get_page include/linux/mm.h:1152 [inline]
 put_metapage+0x270/0x2b4 fs/jfs/jfs_metapage.c:721
 txUnlock+0x3bc/0xbac fs/jfs/jfs_txnmgr.c:948
 txLazyCommit fs/jfs/jfs_txnmgr.c:2683 [inline]
 jfs_lazycommit+0x454/0x930 fs/jfs/jfs_txnmgr.c:2733
 kthread+0x254/0x2e0 kernel/kthread.c:376
 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:850
Code: d0043c41 91220021 aa1403e0 97bb7ccf (d4210000) 
---[ end trace 0000000000000000 ]---

Crashes (22):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/09/12 11:35 linux-6.1.y cf82dcca9634 70a60e12 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-linux-6-1-kasan-arm64 BUG: Bad page state in corrupted
2026/09/07 05:56 linux-6.1.y cf82dcca9634 4f7b22a0 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-linux-6-1-kasan-arm64 BUG: Bad page state in corrupted
2026/07/21 18:31 linux-6.1.y 090666d3cc90 7c5de9c3 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-linux-6-1-kasan-arm64 BUG: Bad page state in corrupted
2026/07/11 17:22 linux-6.1.y 090666d3cc90 d78ea535 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-linux-6-1-kasan-arm64 BUG: Bad page state in corrupted
2026/05/10 10:34 linux-6.1.y 128a674368bf 29233ece .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-linux-6-1-kasan-arm64 BUG: Bad page state in corrupted
2026/05/10 07:51 linux-6.1.y 128a674368bf 29233ece .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-linux-6-1-kasan-arm64 BUG: Bad page state in corrupted
2026/05/10 06:38 linux-6.1.y 128a674368bf 29233ece .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-linux-6-1-kasan-arm64 BUG: Bad page state in corrupted
2026/01/25 11:53 linux-6.1.y cd9b81672742 40acda8a .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-linux-6-1-kasan-arm64 BUG: Bad page state in corrupted
2026/01/25 10:13 linux-6.1.y cd9b81672742 40acda8a .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-linux-6-1-kasan-arm64 BUG: Bad page state in corrupted
2026/01/25 09:24 linux-6.1.y cd9b81672742 40acda8a .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-linux-6-1-kasan-arm64 BUG: Bad page state in corrupted
2026/01/25 01:14 linux-6.1.y cd9b81672742 40acda8a .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-linux-6-1-kasan-arm64 BUG: Bad page state in corrupted
2026/01/24 22:03 linux-6.1.y cd9b81672742 40acda8a .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-linux-6-1-kasan-arm64 BUG: Bad page state in corrupted
2026/01/24 21:53 linux-6.1.y cd9b81672742 40acda8a .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-linux-6-1-kasan-arm64 BUG: Bad page state in corrupted
2025/12/24 07:54 linux-6.1.y 50cbba13faa2 d6526ea3 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-linux-6-1-kasan-arm64 BUG: Bad page state in corrupted
2025/11/12 03:49 linux-6.1.y f6e38ae624cf 4e1406b4 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-linux-6-1-kasan-arm64 BUG: Bad page state in corrupted
2025/10/05 08:10 linux-6.1.y 882efbdd9d34 49379ee0 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-linux-6-1-kasan-arm64 BUG: Bad page state in corrupted
2025/08/09 10:20 linux-6.1.y 3594f306da12 32a0e5ed .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-linux-6-1-kasan-arm64 BUG: Bad page state in corrupted
2025/06/25 21:09 linux-6.1.y 58485ff1a74f 26d77996 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-linux-6-1-kasan-arm64 BUG: Bad page state in corrupted
2025/06/25 20:43 linux-6.1.y 58485ff1a74f 26d77996 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-linux-6-1-kasan-arm64 BUG: Bad page state in corrupted
2025/03/04 19:16 linux-6.1.y 3a8358583626 c3901742 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-linux-6-1-kasan-arm64 BUG: Bad page state in corrupted
2024/12/24 13:34 linux-6.1.y 29f02ec58a94 444551c4 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 BUG: Bad page state in corrupted
2024/12/24 12:57 linux-6.1.y 29f02ec58a94 444551c4 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 BUG: Bad page state in corrupted
* Struck through repros no longer work on HEAD.