BUG: Bad page state in process syz-executor pfn:6618a
page:ffffea0001986280 refcount:0 mapcount:0 mapping:0000000000000000 index:0x4 pfn:0x6618a
flags: 0xfff00000002006(referenced|uptodate|private|node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000002006 ffffea00017ee248 ffffc9000347fa00 0000000000000000
raw: 0000000000000004 ffff88801b58ec98 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 7227, ts 150939398649, free_ts 143485124726
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:5487
__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
dbAllocCtl+0xd4/0x9b0 fs/jfs/jfs_dmap.c:1881
dbAllocAG+0xc23/0xfe0 fs/jfs/jfs_dmap.c:1540
dbDiscardAG+0x2c5/0x8e0 fs/jfs/jfs_dmap.c:1676
jfs_ioc_trim+0x41e/0x680 fs/jfs/jfs_discard.c:106
jfs_ioctl+0x2b6/0x3c0 fs/jfs/ioctl.c:132
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:874 [inline]
__se_sys_ioctl+0xfa/0x170 fs/ioctl.c:860
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+0x8f/0x2a0 mm/page_alloc.c:3396
__vunmap+0x8b9/0xa50 mm/vmalloc.c:2628
vb2_vmalloc_put+0x64/0xa0 drivers/media/common/videobuf2/videobuf2-vmalloc.c:68
__vb2_buf_mem_free+0x113/0x2c0 drivers/media/common/videobuf2/videobuf2-core.c:266
__vb2_free_mem drivers/media/common/videobuf2/videobuf2-core.c:491 [inline]
__vb2_queue_free+0x447/0xd80 drivers/media/common/videobuf2/videobuf2-core.c:536
vb2_core_queue_release+0x5b/0x80 drivers/media/common/videobuf2/videobuf2-core.c:2426
v4l2_m2m_ctx_release+0x1a/0x30 drivers/media/v4l2-core/v4l2-mem2mem.c:1251
vim2m_release+0xd4/0x130 drivers/media/test-drivers/vim2m.c:1250
v4l2_release+0x1f9/0x390 drivers/media/v4l2-core/v4l2-dev.c:456
__fput+0x234/0x930 fs/file_table.c:311
task_work_run+0x125/0x1a0 kernel/task_work.c:188
tracehook_notify_resume include/linux/tracehook.h:189 [inline]
exit_to_user_mode_loop+0x10f/0x130 kernel/entry/common.c:181
exit_to_user_mode_prepare+0xee/0x180 kernel/entry/common.c:214
__syscall_exit_to_user_mode_work kernel/entry/common.c:296 [inline]
syscall_exit_to_user_mode+0x16/0x40 kernel/entry/common.c:307
do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:86
Modules linked in:
CPU: 1 PID: 6235 Comm: syz-executor Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025
Call Trace:
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_list+0x119/0x820 mm/page_alloc.c:3433
release_pages+0x186c/0x1be0 mm/swap.c:963
__pagevec_release+0x6d/0xe0 mm/swap.c:983
pagevec_release include/linux/pagevec.h:81 [inline]
truncate_inode_pages_range+0x362/0xfe0 mm/truncate.c:329
dbUnmount+0x105/0x170 fs/jfs/jfs_dmap.c:264
jfs_umount+0x1fa/0x360 fs/jfs/jfs_umount.c:89
jfs_put_super+0x88/0x190 fs/jfs/super.c:194
generic_shutdown_super+0x130/0x300 fs/super.c:475
kill_block_super+0x7c/0xe0 fs/super.c:1427
deactivate_locked_super+0x93/0xf0 fs/super.c:335
cleanup_mnt+0x42d/0x4e0 fs/namespace.c:1148
task_work_run+0x125/0x1a0 kernel/task_work.c:188
tracehook_notify_resume include/linux/tracehook.h:189 [inline]
exit_to_user_mode_loop+0x10f/0x130 kernel/entry/common.c:181
exit_to_user_mode_prepare+0xee/0x180 kernel/entry/common.c:214
__syscall_exit_to_user_mode_work kernel/entry/common.c:296 [inline]
syscall_exit_to_user_mode+0x16/0x40 kernel/entry/common.c:307
do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:86
entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f35f9b91117
Code: a2 c7 05 7c 94 24 00 00 00 00 00 eb 96 e8 e1 12 00 00 90 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 e8 ff ff ff f7 d8 64 89 02 b8
RSP: 002b:00007fff23160938 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 00007f35f9bf971f RCX: 00007f35f9b91117
RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007fff231609f0
RBP: 00007fff231609f0 R08: 00007fff231619f0 R09: 00000000ffffffff
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fff23161a80
R13: 00007f35f9bf971f R14: 0000000000024e30 R15: 00007fff23161ac0
BUG: Bad page state in process syz-executor pfn:5fb89
page:ffffea00017ee240 refcount:0 mapcount:0 mapping:0000000000000000 index:0x3 pfn:0x5fb89
flags: 0xfff00000002006(referenced|uptodate|private|node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000002006 ffffea0001875008 ffffc9000347fa00 0000000000000000
raw: 0000000000000003 ffff8880237b1000 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 7227, ts 150936070305, free_ts 144663220940
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:5487
__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
dbAllocAG+0x3dc/0xfe0 fs/jfs/jfs_dmap.c:1437
dbDiscardAG+0x2c5/0x8e0 fs/jfs/jfs_dmap.c:1676
jfs_ioc_trim+0x41e/0x680 fs/jfs/jfs_discard.c:106
jfs_ioctl+0x2b6/0x3c0 fs/jfs/ioctl.c:132
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:874 [inline]
__se_sys_ioctl+0xfa/0x170 fs/ioctl.c:860
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
__pagevec_release+0x6d/0xe0 mm/swap.c:983
pagevec_release include/linux/pagevec.h:81 [inline]
truncate_inode_pages_range+0x362/0xfe0 mm/truncate.c:329
kill_bdev block/bdev.c:77 [inline]
blkdev_flush_mapping+0x188/0x360 block/bdev.c:659
blkdev_put_whole block/bdev.c:690 [inline]
blkdev_put+0x4d1/0x7d0 block/bdev.c:957
deactivate_locked_super+0x93/0xf0 fs/super.c:335
cleanup_mnt+0x42d/0x4e0 fs/namespace.c:1148
task_work_run+0x125/0x1a0 kernel/task_work.c:188
tracehook_notify_resume include/linux/tracehook.h:189 [inline]
exit_to_user_mode_loop+0x10f/0x130 kernel/entry/common.c:181
exit_to_user_mode_prepare+0xee/0x180 kernel/entry/common.c:214
__syscall_exit_to_user_mode_work kernel/entry/common.c:296 [inline]
syscall_exit_to_user_mode+0x16/0x40 kernel/entry/common.c:307
do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:86
entry_SYSCALL_64_after_hwframe+0x66/0xd0
Modules linked in:
CPU: 1 PID: 6235 Comm: syz-executor Tainted: G B syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025
Call Trace:
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_list+0x119/0x820 mm/page_alloc.c:3433
release_pages+0x186c/0x1be0 mm/swap.c:963
__pagevec_release+0x6d/0xe0 mm/swap.c:983
pagevec_release include/linux/pagevec.h:81 [inline]
truncate_inode_pages_range+0x362/0xfe0 mm/truncate.c:329
dbUnmount+0x105/0x170 fs/jfs/jfs_dmap.c:264
jfs_umount+0x1fa/0x360 fs/jfs/jfs_umount.c:89
jfs_put_super+0x88/0x190 fs/jfs/super.c:194
generic_shutdown_super+0x130/0x300 fs/super.c:475
kill_block_super+0x7c/0xe0 fs/super.c:1427
deactivate_locked_super+0x93/0xf0 fs/super.c:335
cleanup_mnt+0x42d/0x4e0 fs/namespace.c:1148
task_work_run+0x125/0x1a0 kernel/task_work.c:188
tracehook_notify_resume include/linux/tracehook.h:189 [inline]
exit_to_user_mode_loop+0x10f/0x130 kernel/entry/common.c:181
exit_to_user_mode_prepare+0xee/0x180 kernel/entry/common.c:214
__syscall_exit_to_user_mode_work kernel/entry/common.c:296 [inline]
syscall_exit_to_user_mode+0x16/0x40 kernel/entry/common.c:307
do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:86
entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f35f9b91117
Code: a2 c7 05 7c 94 24 00 00 00 00 00 eb 96 e8 e1 12 00 00 90 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 e8 ff ff ff f7 d8 64 89 02 b8
RSP: 002b:00007fff23160938 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 00007f35f9bf971f RCX: 00007f35f9b91117
RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007fff231609f0
RBP: 00007fff231609f0 R08: 00007fff231619f0 R09: 00000000ffffffff
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fff23161a80
R13: 00007f35f9bf971f R14: 0000000000024e30 R15: 00007fff23161ac0