BUG: Bad page state in process udevd pfn:7d2e9 page:ffffea0001f4ba40 refcount:0 mapcount:0 mapping:0000000000000000 index:0x24 pfn:0x7d2e9 flags: 0xfff0000000200c(uptodate|dirty|private|node=0|zone=1|lastcpupid=0x7ff) raw: 00fff0000000200c ffffea0000941dc8 ffffea00007d8ec8 0000000000000000 raw: 0000000000000024 ffff88807d07e000 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 0xc40(GFP_NOFS), pid 4164, ts 61674344194, free_ts 55640100995 prep_new_page mm/page_alloc.c:2426 [inline] get_page_from_freelist+0x3b78/0x3d40 mm/page_alloc.c:4192 __alloc_pages+0x272/0x700 mm/page_alloc.c:5464 __page_cache_alloc+0xd4/0x4a0 mm/filemap.c:1022 do_read_cache_page+0x1e5/0x1040 mm/filemap.c:3457 read_mapping_page include/linux/pagemap.h:515 [inline] __get_metapage+0x398/0x1070 fs/jfs/jfs_metapage.c:621 diRead+0x707/0xbb0 fs/jfs/jfs_imap.c:367 jfs_iget+0x88/0x3b0 fs/jfs/inode.c:35 jfs_lookup+0x222/0x400 fs/jfs/namei.c:1467 __lookup_slow+0x275/0x3d0 fs/namei.c:1663 lookup_slow+0x53/0x70 fs/namei.c:1680 walk_component+0x48c/0x610 fs/namei.c:1976 lookup_last fs/namei.c:2431 [inline] path_lookupat+0x16f/0x450 fs/namei.c:2455 filename_lookup+0x230/0x5c0 fs/namei.c:2484 user_path_at_empty+0x40/0x180 fs/namei.c:2883 user_path_at include/linux/namei.h:57 [inline] path_setxattr+0xae/0x2a0 fs/xattr.c:625 __do_sys_lsetxattr fs/xattr.c:653 [inline] __se_sys_lsetxattr fs/xattr.c:649 [inline] __x64_sys_lsetxattr+0xb4/0xd0 fs/xattr.c:649 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+0xc34/0xcf0 mm/page_alloc.c:3317 free_unref_page+0x95/0x2d0 mm/page_alloc.c:3396 pipe_buf_release include/linux/pipe_fs_i.h:219 [inline] pipe_read+0x6e4/0x12b0 fs/pipe.c:323 call_read_iter include/linux/fs.h:2168 [inline] new_sync_read fs/read_write.c:404 [inline] vfs_read+0xa93/0xe10 fs/read_write.c:485 ksys_read+0x1a2/0x2c0 fs/read_write.c:623 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 Modules linked in: CPU: 1 PID: 4165 Comm: udevd Not tainted 5.15.172-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2d0 lib/dump_stack.c:106 bad_page+0x14b/0x170 mm/page_alloc.c:652 check_free_page_bad mm/page_alloc.c:1199 [inline] 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+0x48d/0xcf0 mm/page_alloc.c:3317 free_unref_page_list+0x1f7/0x8e0 mm/page_alloc.c:3433 release_pages+0x1bb9/0x1f40 mm/swap.c:963 __pagevec_lru_add+0x1584/0x18d0 mm/swap.c:1056 lru_add_drain_cpu+0xfd/0x700 mm/swap.c:597 lru_add_drain+0x79/0x130 mm/swap.c:701 unmap_region+0xcf/0x350 mm/mmap.c:2646 __do_munmap+0x12db/0x1740 mm/mmap.c:2899 __vm_munmap+0x134/0x230 mm/mmap.c:2922 __do_sys_munmap mm/mmap.c:2948 [inline] __se_sys_munmap mm/mmap.c:2944 [inline] __x64_sys_munmap+0x67/0x70 mm/mmap.c:2944 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7fc206b21817 Code: ff ff 76 10 48 8b 15 10 36 0d 00 f7 d8 64 89 02 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 b8 0b 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d e1 35 0d 00 f7 d8 64 89 01 48 RSP: 002b:00007ffe994a2518 EFLAGS: 00000206 ORIG_RAX: 000000000000000b RAX: ffffffffffffffda RBX: 000055dcd44a25b0 RCX: 00007fc206b21817 RDX: 000000055dcff7ec RSI: 0000000000906623 RDI: 00007fc2060e8000 RBP: 000055dcff7edc90 R08: 0000000000000007 R09: bdf5df34758c2421 R10: 00000000ffffffff R11: 0000000000000206 R12: 000055dcd44a25e8 R13: 00007ffe994a2598 R14: 0000000000000001 R15: 000055dcff7dd910