BUG: Bad page state in process syz.3.547 pfn:64979 page:ffffea0001925e40 refcount:0 mapcount:0 mapping:0000000000000000 index:0x8ed2f pfn:0x64979 flags: 0xfff00000002006(referenced|uptodate|private|node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000002006 ffffea0001e7ac08 ffffc900038c7980 0000000000000000 raw: 000000000008ed2f ffff88802f7124d8 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 7090, tgid 7089 (syz.3.547), ts 482551580426, free_ts 482421892054 set_page_owner include/linux/page_owner.h:31 [inline] post_alloc_hook+0x173/0x1a0 mm/page_alloc.c:2532 prep_new_page mm/page_alloc.c:2539 [inline] get_page_from_freelist+0x1a26/0x1ac0 mm/page_alloc.c:4328 __alloc_pages+0x1df/0x4e0 mm/page_alloc.c:5606 folio_alloc+0x1c/0x60 mm/mempolicy.c:2292 filemap_alloc_folio+0xdb/0x460 mm/filemap.c:999 __filemap_get_folio+0x697/0xdd0 mm/filemap.c:1993 pagecache_get_page+0x26/0x250 mm/folio-compat.c:110 find_or_create_page include/linux/pagemap.h:646 [inline] grab_cache_page include/linux/pagemap.h:778 [inline] __get_metapage+0x2a4/0xfa0 fs/jfs/jfs_metapage.c:613 diNewExt+0x9eb/0x2cb0 fs/jfs/jfs_imap.c:2275 diAllocExt fs/jfs/jfs_imap.c:1952 [inline] diAllocAG+0xde9/0x1c20 fs/jfs/jfs_imap.c:1669 diAlloc+0x1c9/0x1910 fs/jfs/jfs_imap.c:1590 ialloc+0x88/0x950 fs/jfs/jfs_inode.c:56 jfs_mkdir+0x190/0xa70 fs/jfs/namei.c:225 vfs_mkdir+0x387/0x570 fs/namei.c:4106 do_mkdirat+0x1d0/0x430 fs/namei.c:4131 __do_sys_mkdirat fs/namei.c:4146 [inline] __se_sys_mkdirat fs/namei.c:4144 [inline] __x64_sys_mkdirat+0x85/0x90 fs/namei.c:4144 page last free stack trace: reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1459 [inline] free_pcp_prepare mm/page_alloc.c:1509 [inline] free_unref_page_prepare+0x8b4/0x9a0 mm/page_alloc.c:3384 free_unref_page_list+0xbb/0x8e0 mm/page_alloc.c:3525 release_pages+0x1f92/0x2200 mm/swap.c:1035 tlb_batch_pages_flush mm/mmu_gather.c:59 [inline] tlb_flush_mmu_free mm/mmu_gather.c:254 [inline] tlb_flush_mmu+0xff/0x210 mm/mmu_gather.c:261 tlb_finish_mmu+0xbd/0x1c0 mm/mmu_gather.c:361 exit_mmap+0x343/0x8e0 mm/mmap.c:3250 __mmput+0x118/0x3c0 kernel/fork.c:1200 exec_mmap+0x49b/0x550 fs/exec.c:1040 begin_new_exec+0xaa4/0x1ee0 fs/exec.c:1299 load_elf_binary+0x98e/0x2850 fs/binfmt_elf.c:1002 search_binary_handler fs/exec.c:1764 [inline] exec_binprm fs/exec.c:1805 [inline] bprm_execve+0xb10/0x18a0 fs/exec.c:1874 do_execveat_common+0x51b/0x6c0 fs/exec.c:1979 do_execve fs/exec.c:2053 [inline] __do_sys_execve fs/exec.c:2129 [inline] __se_sys_execve fs/exec.c:2124 [inline] __x64_sys_execve+0x8e/0xa0 fs/exec.c:2124 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 Modules linked in: CPU: 1 PID: 7090 Comm: syz.3.547 Not tainted 6.1.137-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025 Call Trace: dump_stack_lvl+0x168/0x22e lib/dump_stack.c:106 bad_page+0x14b/0x170 mm/page_alloc.c:699 free_page_is_bad mm/page_alloc.c:1291 [inline] free_pages_prepare mm/page_alloc.c:1452 [inline] free_pcp_prepare mm/page_alloc.c:1509 [inline] free_unref_page_prepare+0x42a/0x9a0 mm/page_alloc.c:3384 free_unref_page_list+0xbb/0x8e0 mm/page_alloc.c:3525 release_pages+0x1f92/0x2200 mm/swap.c:1035 __pagevec_release+0x6d/0xe0 mm/swap.c:1055 pagevec_release include/linux/pagevec.h:71 [inline] folio_batch_release include/linux/pagevec.h:135 [inline] truncate_inode_pages_range+0x2f6/0xff0 mm/truncate.c:372 jfs_remount+0x337/0x5a0 fs/jfs/super.c:451 reconfigure_super+0x219/0x880 fs/super.c:977 do_remount fs/namespace.c:2713 [inline] path_mount+0xdfd/0x1010 fs/namespace.c:3379 do_mount fs/namespace.c:3400 [inline] __do_sys_mount fs/namespace.c:3608 [inline] __se_sys_mount+0x2d6/0x3c0 fs/namespace.c:3585 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7fbafbf8e969 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fbafcdd8038 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fbafc1b5fa0 RCX: 00007fbafbf8e969 RDX: 0000000000000000 RSI: 0000200000000000 RDI: 0000000000000000 RBP: 00007fbafc010ab1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000002012024 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fbafc1b5fa0 R15: 00007ffd76528658 BUG: Bad page state in process syz.3.547 pfn:79eb0 page:ffffea0001e7ac00 refcount:0 mapcount:0 mapping:0000000000000000 index:0x8ed2e pfn:0x79eb0 flags: 0xfff00000002006(referenced|uptodate|private|node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000002006 ffffea00008d8388 ffffc900038c7980 0000000000000000 raw: 000000000008ed2e ffff88802f7123e0 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 7090, tgid 7089 (syz.3.547), ts 482551529342, free_ts 482421901025 set_page_owner include/linux/page_owner.h:31 [inline] post_alloc_hook+0x173/0x1a0 mm/page_alloc.c:2532 prep_new_page mm/page_alloc.c:2539 [inline] get_page_from_freelist+0x1a26/0x1ac0 mm/page_alloc.c:4328 __alloc_pages+0x1df/0x4e0 mm/page_alloc.c:5606 folio_alloc+0x1c/0x60 mm/mempolicy.c:2292 filemap_alloc_folio+0xdb/0x460 mm/filemap.c:999 __filemap_get_folio+0x697/0xdd0 mm/filemap.c:1993 pagecache_get_page+0x26/0x250 mm/folio-compat.c:110 find_or_create_page include/linux/pagemap.h:646 [inline] grab_cache_page include/linux/pagemap.h:778 [inline] __get_metapage+0x2a4/0xfa0 fs/jfs/jfs_metapage.c:613 diNewExt+0x9eb/0x2cb0 fs/jfs/jfs_imap.c:2275 diAllocExt fs/jfs/jfs_imap.c:1952 [inline] diAllocAG+0xde9/0x1c20 fs/jfs/jfs_imap.c:1669 diAlloc+0x1c9/0x1910 fs/jfs/jfs_imap.c:1590 ialloc+0x88/0x950 fs/jfs/jfs_inode.c:56 jfs_mkdir+0x190/0xa70 fs/jfs/namei.c:225 vfs_mkdir+0x387/0x570 fs/namei.c:4106 do_mkdirat+0x1d0/0x430 fs/namei.c:4131 __do_sys_mkdirat fs/namei.c:4146 [inline] __se_sys_mkdirat fs/namei.c:4144 [inline] __x64_sys_mkdirat+0x85/0x90 fs/namei.c:4144 page last free stack trace: reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1459 [inline] free_pcp_prepare mm/page_alloc.c:1509 [inline] free_unref_page_prepare+0x8b4/0x9a0 mm/page_alloc.c:3384 free_unref_page_list+0xbb/0x8e0 mm/page_alloc.c:3525 release_pages+0x1f92/0x2200 mm/swap.c:1035 tlb_batch_pages_flush mm/mmu_gather.c:59 [inline] tlb_flush_mmu_free mm/mmu_gather.c:254 [inline] tlb_flush_mmu+0xff/0x210 mm/mmu_gather.c:261 tlb_finish_mmu+0xbd/0x1c0 mm/mmu_gather.c:361 exit_mmap+0x343/0x8e0 mm/mmap.c:3250 __mmput+0x118/0x3c0 kernel/fork.c:1200 exec_mmap+0x49b/0x550 fs/exec.c:1040 begin_new_exec+0xaa4/0x1ee0 fs/exec.c:1299 load_elf_binary+0x98e/0x2850 fs/binfmt_elf.c:1002 search_binary_handler fs/exec.c:1764 [inline] exec_binprm fs/exec.c:1805 [inline] bprm_execve+0xb10/0x18a0 fs/exec.c:1874 do_execveat_common+0x51b/0x6c0 fs/exec.c:1979 do_execve fs/exec.c:2053 [inline] __do_sys_execve fs/exec.c:2129 [inline] __se_sys_execve fs/exec.c:2124 [inline] __x64_sys_execve+0x8e/0xa0 fs/exec.c:2124 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 Modules linked in: CPU: 0 PID: 7090 Comm: syz.3.547 Tainted: G B 6.1.137-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025 Call Trace: dump_stack_lvl+0x168/0x22e lib/dump_stack.c:106 bad_page+0x14b/0x170 mm/page_alloc.c:699 free_page_is_bad mm/page_alloc.c:1291 [inline] free_pages_prepare mm/page_alloc.c:1452 [inline] free_pcp_prepare mm/page_alloc.c:1509 [inline] free_unref_page_prepare+0x42a/0x9a0 mm/page_alloc.c:3384 free_unref_page_list+0xbb/0x8e0 mm/page_alloc.c:3525 release_pages+0x1f92/0x2200 mm/swap.c:1035 __pagevec_release+0x6d/0xe0 mm/swap.c:1055 pagevec_release include/linux/pagevec.h:71 [inline] folio_batch_release include/linux/pagevec.h:135 [inline] truncate_inode_pages_range+0x2f6/0xff0 mm/truncate.c:372 jfs_remount+0x337/0x5a0 fs/jfs/super.c:451 reconfigure_super+0x219/0x880 fs/super.c:977 do_remount fs/namespace.c:2713 [inline] path_mount+0xdfd/0x1010 fs/namespace.c:3379 do_mount fs/namespace.c:3400 [inline] __do_sys_mount fs/namespace.c:3608 [inline] __se_sys_mount+0x2d6/0x3c0 fs/namespace.c:3585 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7fbafbf8e969 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fbafcdd8038 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fbafc1b5fa0 RCX: 00007fbafbf8e969 RDX: 0000000000000000 RSI: 0000200000000000 RDI: 0000000000000000 RBP: 00007fbafc010ab1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000002012024 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fbafc1b5fa0 R15: 00007ffd76528658 BUG: Bad page state in process syz.3.547 pfn:2360e page:ffffea00008d8380 refcount:0 mapcount:0 mapping:0000000000000000 index:0x8ed2d pfn:0x2360e flags: 0xfff00000002006(referenced|uptodate|private|node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000002006 ffffea00009faec8 ffffc900038c7980 0000000000000000 raw: 000000000008ed2d ffff88802f7122e8 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 7090, tgid 7089 (syz.3.547), ts 482551474937, free_ts 482421909794 set_page_owner include/linux/page_owner.h:31 [inline] post_alloc_hook+0x173/0x1a0 mm/page_alloc.c:2532 prep_new_page mm/page_alloc.c:2539 [inline] get_page_from_freelist+0x1a26/0x1ac0 mm/page_alloc.c:4328 __alloc_pages+0x1df/0x4e0 mm/page_alloc.c:5606 folio_alloc+0x1c/0x60 mm/mempolicy.c:2292 filemap_alloc_folio+0xdb/0x460 mm/filemap.c:999 __filemap_get_folio+0x697/0xdd0 mm/filemap.c:1993 pagecache_get_page+0x26/0x250 mm/folio-compat.c:110 find_or_create_page include/linux/pagemap.h:646 [inline] grab_cache_page include/linux/pagemap.h:778 [inline] __get_metapage+0x2a4/0xfa0 fs/jfs/jfs_metapage.c:613 diNewExt+0x9eb/0x2cb0 fs/jfs/jfs_imap.c:2275 diAllocExt fs/jfs/jfs_imap.c:1952 [inline] diAllocAG+0xde9/0x1c20 fs/jfs/jfs_imap.c:1669 diAlloc+0x1c9/0x1910 fs/jfs/jfs_imap.c:1590 ialloc+0x88/0x950 fs/jfs/jfs_inode.c:56 jfs_mkdir+0x190/0xa70 fs/jfs/namei.c:225 vfs_mkdir+0x387/0x570 fs/namei.c:4106 do_mkdirat+0x1d0/0x430 fs/namei.c:4131 __do_sys_mkdirat fs/namei.c:4146 [inline] __se_sys_mkdirat fs/namei.c:4144 [inline] __x64_sys_mkdirat+0x85/0x90 fs/namei.c:4144 page last free stack trace: reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1459 [inline] free_pcp_prepare mm/page_alloc.c:1509 [inline] free_unref_page_prepare+0x8b4/0x9a0 mm/page_alloc.c:3384 free_unref_page_list+0xbb/0x8e0 mm/page_alloc.c:3525 release_pages+0x1f92/0x2200 mm/swap.c:1035 tlb_batch_pages_flush mm/mmu_gather.c:59 [inline] tlb_flush_mmu_free mm/mmu_gather.c:254 [inline] tlb_flush_mmu+0xff/0x210 mm/mmu_gather.c:261 tlb_finish_mmu+0xbd/0x1c0 mm/mmu_gather.c:361 exit_mmap+0x343/0x8e0 mm/mmap.c:3250 __mmput+0x118/0x3c0 kernel/fork.c:1200 exec_mmap+0x49b/0x550 fs/exec.c:1040 begin_new_exec+0xaa4/0x1ee0 fs/exec.c:1299 load_elf_binary+0x98e/0x2850 fs/binfmt_elf.c:1002 search_binary_handler fs/exec.c:1764 [inline] exec_binprm fs/exec.c:1805 [inline] bprm_execve+0xb10/0x18a0 fs/exec.c:1874 do_execveat_common+0x51b/0x6c0 fs/exec.c:1979 do_execve fs/exec.c:2053 [inline] __do_sys_execve fs/exec.c:2129 [inline] __se_sys_execve fs/exec.c:2124 [inline] __x64_sys_execve+0x8e/0xa0 fs/exec.c:2124 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 Modules linked in: CPU: 1 PID: 7090 Comm: syz.3.547 Tainted: G B 6.1.137-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025 Call Trace: dump_stack_lvl+0x168/0x22e lib/dump_stack.c:106 bad_page+0x14b/0x170 mm/page_alloc.c:699 free_page_is_bad mm/page_alloc.c:1291 [inline] free_pages_prepare mm/page_alloc.c:1452 [inline] free_pcp_prepare mm/page_alloc.c:1509 [inline] free_unref_page_prepare+0x42a/0x9a0 mm/page_alloc.c:3384 free_unref_page_list+0xbb/0x8e0 mm/page_alloc.c:3525 release_pages+0x1f92/0x2200 mm/swap.c:1035 __pagevec_release+0x6d/0xe0 mm/swap.c:1055 pagevec_release include/linux/pagevec.h:71 [inline] folio_batch_release include/linux/pagevec.h:135 [inline] truncate_inode_pages_range+0x2f6/0xff0 mm/truncate.c:372 jfs_remount+0x337/0x5a0 fs/jfs/super.c:451 reconfigure_super+0x219/0x880 fs/super.c:977 do_remount fs/namespace.c:2713 [inline] path_mount+0xdfd/0x1010 fs/namespace.c:3379 do_mount fs/namespace.c:3400 [inline] __do_sys_mount fs/namespace.c:3608 [inline] __se_sys_mount+0x2d6/0x3c0 fs/namespace.c:3585 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7fbafbf8e969 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fbafcdd8038 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fbafc1b5fa0 RCX: 00007fbafbf8e969 RDX: 0000000000000000 RSI: 0000200000000000 RDI: 0000000000000000 RBP: 00007fbafc010ab1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000002012024 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fbafc1b5fa0 R15: 00007ffd76528658 BUG: Bad page state in process syz.3.547 pfn:26d55 page:ffffea00009b5540 refcount:0 mapcount:0 mapping:0000000000000000 index:0xd pfn:0x26d55 flags: 0xfff00000002046(referenced|uptodate|workingset|private|node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000002046 ffffea0001893088 ffffea000154a888 0000000000000000 raw: 000000000000000d ffff8880506bb1f0 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 7090, tgid 7089 (syz.3.547), ts 482181631469, free_ts 473392985255 set_page_owner include/linux/page_owner.h:31 [inline] post_alloc_hook+0x173/0x1a0 mm/page_alloc.c:2532 prep_new_page mm/page_alloc.c:2539 [inline] get_page_from_freelist+0x1a26/0x1ac0 mm/page_alloc.c:4328 __alloc_pages+0x1df/0x4e0 mm/page_alloc.c:5606 folio_alloc+0x1c/0x60 mm/mempolicy.c:2292 filemap_alloc_folio+0xdb/0x460 mm/filemap.c:999 do_read_cache_folio+0x1bb/0x760 mm/filemap.c:3591 do_read_cache_page+0x32/0x220 mm/filemap.c:3669 read_mapping_page include/linux/pagemap.h:791 [inline] __get_metapage+0x316/0xfa0 fs/jfs/jfs_metapage.c:620 diReadSpecial+0x257/0x6f0 fs/jfs/jfs_imap.c:447 jfs_mount+0x3cd/0x860 fs/jfs/jfs_mount.c:166 jfs_fill_super+0x4de/0xac0 fs/jfs/super.c:556 mount_bdev+0x287/0x3c0 fs/super.c:1443 legacy_get_tree+0xe6/0x180 fs/fs_context.c:632 vfs_get_tree+0x88/0x270 fs/super.c:1573 do_new_mount+0x24a/0xa40 fs/namespace.c:3057 do_mount fs/namespace.c:3400 [inline] __do_sys_mount fs/namespace.c:3608 [inline] __se_sys_mount+0x2d6/0x3c0 fs/namespace.c:3585 page last free stack trace: reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1459 [inline] free_pcp_prepare mm/page_alloc.c:1509 [inline] free_unref_page_prepare+0x8b4/0x9a0 mm/page_alloc.c:3384 free_unref_page+0x2e/0x3f0 mm/page_alloc.c:3479 qlink_free mm/kasan/quarantine.c:168 [inline] qlist_free_all+0x76/0xe0 mm/kasan/quarantine.c:187 kasan_quarantine_reduce+0x144/0x160 mm/kasan/quarantine.c:294 __kasan_slab_alloc+0x1e/0x80 mm/kasan/common.c:305 kasan_slab_alloc include/linux/kasan.h:201 [inline] slab_post_alloc_hook+0x4b/0x480 mm/slab.h:737 slab_alloc_node mm/slub.c:3398 [inline] slab_alloc mm/slub.c:3406 [inline] __kmem_cache_alloc_lru mm/slub.c:3413 [inline] kmem_cache_alloc+0x123/0x2f0 mm/slub.c:3422 kmem_cache_zalloc include/linux/slab.h:689 [inline] lsm_inode_alloc security/security.c:596 [inline] security_inode_alloc+0x30/0x110 security/security.c:1040 inode_init_always+0x8f8/0xc90 fs/inode.c:232 alloc_inode fs/inode.c:268 [inline] new_inode_pseudo+0x91/0x1c0 fs/inode.c:1063 new_inode+0x25/0x1c0 fs/inode.c:1091 shmem_get_inode+0x347/0xbf0 mm/shmem.c:2354 shmem_mknod+0x55/0x1c0 mm/shmem.c:2935 lookup_open fs/namei.c:3482 [inline] open_last_lookups fs/namei.c:3550 [inline] path_openat+0x1187/0x2e70 fs/namei.c:3780 do_filp_open+0x1c1/0x3c0 fs/namei.c:3810 do_sys_openat2+0x142/0x490 fs/open.c:1318 Modules linked in: CPU: 1 PID: 7090 Comm: syz.3.547 Tainted: G B 6.1.137-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025 Call Trace: dump_stack_lvl+0x168/0x22e lib/dump_stack.c:106 bad_page+0x14b/0x170 mm/page_alloc.c:699 free_page_is_bad mm/page_alloc.c:1291 [inline] free_pages_prepare mm/page_alloc.c:1452 [inline] free_pcp_prepare mm/page_alloc.c:1509 [inline] free_unref_page_prepare+0x42a/0x9a0 mm/page_alloc.c:3384 free_unref_page_list+0xbb/0x8e0 mm/page_alloc.c:3525 release_pages+0x1f92/0x2200 mm/swap.c:1035 __pagevec_release+0x6d/0xe0 mm/swap.c:1055 pagevec_release include/linux/pagevec.h:71 [inline] folio_batch_release include/linux/pagevec.h:135 [inline] truncate_inode_pages_range+0x2f6/0xff0 mm/truncate.c:372 jfs_remount+0x337/0x5a0 fs/jfs/super.c:451 reconfigure_super+0x219/0x880 fs/super.c:977 do_remount fs/namespace.c:2713 [inline] path_mount+0xdfd/0x1010 fs/namespace.c:3379 do_mount fs/namespace.c:3400 [inline] __do_sys_mount fs/namespace.c:3608 [inline] __se_sys_mount+0x2d6/0x3c0 fs/namespace.c:3585 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7fbafbf8e969 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fbafcdd8038 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fbafc1b5fa0 RCX: 00007fbafbf8e969 RDX: 0000000000000000 RSI: 0000200000000000 RDI: 0000000000000000 RBP: 00007fbafc010ab1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000002012024 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fbafc1b5fa0 R15: 00007ffd76528658