blkno = 5002c, nblocks = 1 ERROR: (device loop2): dbUpdatePMap: blocks are outside the map ERROR: (device loop2): remounting filesystem as read-only BUG: Bad page state in process jfsCommit pfn:2209c page:ffffea0000882700 refcount:0 mapcount:0 mapping:0000000000000000 index:0x24 pfn:0x2209c flags: 0xfff0000000820d(locked|referenced|uptodate|workingset|private|node=0|zone=1|lastcpupid=0x7ff) page_type: 0xffffffff() raw: 00fff0000000820d dead000000000100 dead000000000122 0000000000000000 raw: 0000000000000024 ffff8880250e5d90 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 0x140c40(GFP_NOFS|__GFP_COMP|__GFP_HARDWALL), pid 6110, tgid 6109 (syz.2.62), ts 108169265365, free_ts 100216377377 set_page_owner include/linux/page_owner.h:31 [inline] post_alloc_hook+0x1c1/0x200 mm/page_alloc.c:1582 prep_new_page mm/page_alloc.c:1589 [inline] get_page_from_freelist+0x2181/0x22a0 mm/page_alloc.c:3221 __alloc_pages+0x1f0/0x460 mm/page_alloc.c:4501 folio_alloc+0x1e/0x30 mm/mempolicy.c:2289 filemap_alloc_folio+0xdf/0x490 mm/filemap.c:1004 do_read_cache_folio+0x381/0x7f0 mm/filemap.c:3764 do_read_cache_page+0x32/0x260 mm/filemap.c:3866 read_mapping_page include/linux/pagemap.h:892 [inline] __get_metapage+0x31d/0xfa0 fs/jfs/jfs_metapage.c:620 diRead+0x6ec/0xbb0 fs/jfs/jfs_imap.c:367 jfs_iget+0x90/0x440 fs/jfs/inode.c:35 jfs_lookup+0x221/0x420 fs/jfs/namei.c:1469 __lookup_slow+0x2a1/0x400 fs/namei.c:1707 lookup_slow+0x53/0x70 fs/namei.c:1724 walk_component+0x2ad/0x3e0 fs/namei.c:2015 lookup_last fs/namei.c:2472 [inline] path_lookupat+0x148/0x420 fs/namei.c:2496 filename_lookup+0x22d/0x580 fs/namei.c:2525 page last free stack trace: reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1182 [inline] free_unref_page_prepare+0x7d7/0x8f0 mm/page_alloc.c:2366 free_unref_page+0x32/0x2e0 mm/page_alloc.c:2459 vfree+0x1a7/0x340 mm/vmalloc.c:2899 vb2_vmalloc_put+0x68/0xb0 drivers/media/common/videobuf2/videobuf2-vmalloc.c:68 __vb2_buf_mem_free+0x10d/0x2c0 drivers/media/common/videobuf2/videobuf2-core.c:266 __vb2_free_mem drivers/media/common/videobuf2/videobuf2-core.c:496 [inline] __vb2_queue_free+0x30c/0xbd0 drivers/media/common/videobuf2/videobuf2-core.c:525 vb2_core_queue_release+0x5f/0x80 drivers/media/common/videobuf2/videobuf2-core.c:2471 vb2_queue_release drivers/media/common/videobuf2/videobuf2-v4l2.c:934 [inline] _vb2_fop_release drivers/media/common/videobuf2/videobuf2-v4l2.c:1119 [inline] vb2_fop_release+0x164/0x1f0 drivers/media/common/videobuf2/videobuf2-v4l2.c:1133 v4l2_release+0x266/0x390 drivers/media/v4l2-core/v4l2-dev.c:459 __fput+0x221/0x940 fs/file_table.c:418 task_work_run+0x1d4/0x260 kernel/task_work.c:245 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0xe6/0x110 kernel/entry/common.c:180 exit_to_user_mode_prepare+0xee/0x180 kernel/entry/common.c:213 __syscall_exit_to_user_mode_work kernel/entry/common.c:294 [inline] syscall_exit_to_user_mode+0x1a/0x50 kernel/entry/common.c:305 do_syscall_64+0x61/0xb0 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x68/0xd2 Modules linked in: CPU: 1 PID: 114 Comm: jfsCommit Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/07/2026 Call Trace: dump_stack_lvl+0x18c/0x250 lib/dump_stack.c:106 bad_page+0x14b/0x170 mm/page_alloc.c:539 free_page_is_bad mm/page_alloc.c:988 [inline] free_pages_prepare mm/page_alloc.c:1173 [inline] free_unref_page_prepare+0x884/0x8f0 mm/page_alloc.c:2366 free_unref_page+0x32/0x2e0 mm/page_alloc.c:2459 txUnlock+0x275/0xcb0 fs/jfs/jfs_txnmgr.c:933 txLazyCommit fs/jfs/jfs_txnmgr.c:2683 [inline] jfs_lazycommit+0x58c/0xaa0 fs/jfs/jfs_txnmgr.c:2733 kthread+0x2fa/0x390 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:152 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:293 page:ffffea0000882700 refcount:0 mapcount:0 mapping:0000000000000000 index:0x24 pfn:0x2209c flags: 0xfff0000000820d(locked|referenced|uptodate|workingset|private|node=0|zone=1|lastcpupid=0x7ff) page_type: 0xffffffff() raw: 00fff0000000820d dead000000000100 dead000000000122 0000000000000000 raw: 0000000000000024 ffff8880250e5d90 00000000ffffffff 0000000000000000 page dumped because: VM_BUG_ON_FOLIO(((unsigned int) folio_ref_count(folio) + 127u <= 127u)) page_owner tracks the page as allocated page last allocated via order 0, migratetype Unmovable, gfp_mask 0x140c40(GFP_NOFS|__GFP_COMP|__GFP_HARDWALL), pid 6110, tgid 6109 (syz.2.62), ts 108169265365, free_ts 100216377377 set_page_owner include/linux/page_owner.h:31 [inline] post_alloc_hook+0x1c1/0x200 mm/page_alloc.c:1582 prep_new_page mm/page_alloc.c:1589 [inline] get_page_from_freelist+0x2181/0x22a0 mm/page_alloc.c:3221 __alloc_pages+0x1f0/0x460 mm/page_alloc.c:4501 folio_alloc+0x1e/0x30 mm/mempolicy.c:2289 filemap_alloc_folio+0xdf/0x490 mm/filemap.c:1004 do_read_cache_folio+0x381/0x7f0 mm/filemap.c:3764 do_read_cache_page+0x32/0x260 mm/filemap.c:3866 read_mapping_page include/linux/pagemap.h:892 [inline] __get_metapage+0x31d/0xfa0 fs/jfs/jfs_metapage.c:620 diRead+0x6ec/0xbb0 fs/jfs/jfs_imap.c:367 jfs_iget+0x90/0x440 fs/jfs/inode.c:35 jfs_lookup+0x221/0x420 fs/jfs/namei.c:1469 __lookup_slow+0x2a1/0x400 fs/namei.c:1707 lookup_slow+0x53/0x70 fs/namei.c:1724 walk_component+0x2ad/0x3e0 fs/namei.c:2015 lookup_last fs/namei.c:2472 [inline] path_lookupat+0x148/0x420 fs/namei.c:2496 filename_lookup+0x22d/0x580 fs/namei.c:2525 page last free stack trace: reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1182 [inline] free_unref_page_prepare+0x7d7/0x8f0 mm/page_alloc.c:2366 free_unref_page+0x32/0x2e0 mm/page_alloc.c:2459 vfree+0x1a7/0x340 mm/vmalloc.c:2899 vb2_vmalloc_put+0x68/0xb0 drivers/media/common/videobuf2/videobuf2-vmalloc.c:68 __vb2_buf_mem_free+0x10d/0x2c0 drivers/media/common/videobuf2/videobuf2-core.c:266 __vb2_free_mem drivers/media/common/videobuf2/videobuf2-core.c:496 [inline] __vb2_queue_free+0x30c/0xbd0 drivers/media/common/videobuf2/videobuf2-core.c:525 vb2_core_queue_release+0x5f/0x80 drivers/media/common/videobuf2/videobuf2-core.c:2471 vb2_queue_release drivers/media/common/videobuf2/videobuf2-v4l2.c:934 [inline] _vb2_fop_release drivers/media/common/videobuf2/videobuf2-v4l2.c:1119 [inline] vb2_fop_release+0x164/0x1f0 drivers/media/common/videobuf2/videobuf2-v4l2.c:1133 v4l2_release+0x266/0x390 drivers/media/v4l2-core/v4l2-dev.c:459 __fput+0x221/0x940 fs/file_table.c:418 task_work_run+0x1d4/0x260 kernel/task_work.c:245 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0xe6/0x110 kernel/entry/common.c:180 exit_to_user_mode_prepare+0xee/0x180 kernel/entry/common.c:213 __syscall_exit_to_user_mode_work kernel/entry/common.c:294 [inline] syscall_exit_to_user_mode+0x1a/0x50 kernel/entry/common.c:305 do_syscall_64+0x61/0xb0 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x68/0xd2 ------------[ cut here ]------------ kernel BUG at include/linux/mm.h:1458! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 114 Comm: jfsCommit Tainted: G B syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/07/2026 RIP: 0010:folio_get include/linux/mm.h:1458 [inline] RIP: 0010:get_page include/linux/mm.h:1464 [inline] RIP: 0010:put_metapage+0x248/0x330 fs/jfs/jfs_metapage.c:750 Code: 38 c1 0f 8c 31 ff ff ff 4c 89 ef e8 52 a9 df fe e9 24 ff ff ff e8 f8 a3 86 fe 48 8b 3c 24 48 c7 c6 c0 fe 22 8b e8 98 b0 c7 fe <0f> 0b 48 89 ee 48 81 e6 ff 0f 00 00 31 ff e8 15 a8 86 fe 48 89 2c RSP: 0018:ffffc9000266fcd0 EFLAGS: 00010246 RAX: eed736adf3393e00 RBX: ffff8880250e5d90 RCX: eed736adf3393e00 RDX: 0000000000000000 RSI: ffffffff8b3c50c0 RDI: ffffffff8b3c5080 RBP: 000000000000007f R08: ffffffff8f8dd86f R09: 1ffffffff1f1bb0d R10: dffffc0000000000 R11: fffffbfff1f1bb0e R12: ffff8880250e5db8 R13: ffffea0000882734 R14: 1ffff11004a1cbb7 R15: 1ffff11004a1cbc4 FS: 0000000000000000(0000) GS:ffff8880b8d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055556835fab8 CR3: 0000000075a9f000 CR4: 00000000003506e0 Call Trace: txUnlock+0x426/0xcb0 fs/jfs/jfs_txnmgr.c:948 txLazyCommit fs/jfs/jfs_txnmgr.c:2683 [inline] jfs_lazycommit+0x58c/0xaa0 fs/jfs/jfs_txnmgr.c:2733 kthread+0x2fa/0x390 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:152 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:293 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:folio_get include/linux/mm.h:1458 [inline] RIP: 0010:get_page include/linux/mm.h:1464 [inline] RIP: 0010:put_metapage+0x248/0x330 fs/jfs/jfs_metapage.c:750 Code: 38 c1 0f 8c 31 ff ff ff 4c 89 ef e8 52 a9 df fe e9 24 ff ff ff e8 f8 a3 86 fe 48 8b 3c 24 48 c7 c6 c0 fe 22 8b e8 98 b0 c7 fe <0f> 0b 48 89 ee 48 81 e6 ff 0f 00 00 31 ff e8 15 a8 86 fe 48 89 2c RSP: 0018:ffffc9000266fcd0 EFLAGS: 00010246 RAX: eed736adf3393e00 RBX: ffff8880250e5d90 RCX: eed736adf3393e00 RDX: 0000000000000000 RSI: ffffffff8b3c50c0 RDI: ffffffff8b3c5080 RBP: 000000000000007f R08: ffffffff8f8dd86f R09: 1ffffffff1f1bb0d R10: dffffc0000000000 R11: fffffbfff1f1bb0e R12: ffff8880250e5db8 R13: ffffea0000882734 R14: 1ffff11004a1cbb7 R15: 1ffff11004a1cbc4 FS: 0000000000000000(0000) GS:ffff8880b8d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055556835fab8 CR3: 0000000026385000 CR4: 00000000003506e0