loop0: detected capacity change from 0 to 32768 BUG: Bad page state in process syz.0.15 pfn:1079b8 page:ffffea00041e6e00 refcount:0 mapcount:0 mapping:0000000000000000 index:0x4 pfn:0x1079b8 flags: 0x200000000002006(referenced|uptodate|private|node=0|zone=2) raw: 0200000000002006 ffffea0004343b08 ffffc90000807980 0000000000000000 raw: 0000000000000004 ffff88810f5f89b0 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 4894, ts 70232447510, free_ts 68729853758 prep_new_page mm/page_alloc.c:2358 [inline] get_page_from_freelist+0xc46/0x2690 mm/page_alloc.c:3994 __alloc_pages+0x1b2/0x450 mm/page_alloc.c:5200 alloc_pages+0x1c9/0x370 mm/mempolicy.c:2272 __page_cache_alloc mm/filemap.c:1005 [inline] __page_cache_alloc+0x2c8/0x320 mm/filemap.c:990 do_read_cache_page+0x444/0xff0 mm/filemap.c:3332 read_mapping_page include/linux/pagemap.h:515 [inline] __get_metapage+0x5a5/0xe60 fs/jfs/jfs_metapage.c:621 dbAllocCtl+0x476/0x730 fs/jfs/jfs_dmap.c:1846 dbAllocAG+0x7d1/0xb90 fs/jfs/jfs_dmap.c:1394 dbDiscardAG+0x29a/0x830 fs/jfs/jfs_dmap.c:1643 jfs_ioc_trim+0x306/0x430 fs/jfs/jfs_discard.c:100 jfs_ioctl+0x2ea/0x3a0 fs/jfs/ioctl.c:132 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:1069 [inline] __se_sys_ioctl fs/ioctl.c:1055 [inline] __x64_sys_ioctl+0x196/0x210 fs/ioctl.c:1055 do_syscall_64+0x41/0x80 arch/x86/entry/common.c:47 entry_SYSCALL_64_after_hwframe+0x44/0xae page last free stack trace: reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1298 [inline] free_pcp_prepare+0x391/0x490 mm/page_alloc.c:1342 free_unref_page_prepare mm/page_alloc.c:3250 [inline] free_unref_page+0x10/0x1d0 mm/page_alloc.c:3298 unfreeze_partials+0x178/0x1d0 mm/slub.c:2375 put_cpu_partial+0x98/0xf0 mm/slub.c:2411 qlink_free mm/kasan/quarantine.c:146 [inline] qlist_free_all+0x5a/0xc0 mm/kasan/quarantine.c:165 kasan_quarantine_reduce+0x180/0x1f0 mm/kasan/quarantine.c:272 __kasan_slab_alloc+0x8e/0xa0 mm/kasan/common.c:438 kasan_slab_alloc include/linux/kasan.h:236 [inline] slab_post_alloc_hook mm/slab.h:524 [inline] slab_alloc_node mm/slub.c:2913 [inline] slab_alloc mm/slub.c:2921 [inline] kmem_cache_alloc_trace+0x23f/0x340 mm/slub.c:2938 kmalloc include/linux/slab.h:556 [inline] call_modprobe kernel/kmod.c:79 [inline] __request_module+0x2dc/0x8f0 kernel/kmod.c:170 dev_load+0xe5/0x100 net/core/dev_ioctl.c:365 dev_ioctl+0x4cf/0xd20 net/core/dev_ioctl.c:429 sock_do_ioctl+0x14e/0x2e0 net/socket.c:1062 sock_ioctl+0x42a/0x650 net/socket.c:1179 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:1069 [inline] __se_sys_ioctl fs/ioctl.c:1055 [inline] __x64_sys_ioctl+0x196/0x210 fs/ioctl.c:1055 do_syscall_64+0x41/0x80 arch/x86/entry/common.c:47 entry_SYSCALL_64_after_hwframe+0x44/0xae Modules linked in: CPU: 1 PID: 4894 Comm: syz.0.15 Not tainted 5.13.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 Call Trace: __dump_stack lib/dump_stack.c:79 [inline] dump_stack+0x103/0x183 lib/dump_stack.c:120 bad_page.cold+0xc7/0xcc mm/page_alloc.c:665 check_free_page_bad mm/page_alloc.c:1165 [inline] check_free_page mm/page_alloc.c:1175 [inline] free_pages_prepare mm/page_alloc.c:1292 [inline] free_pcp_prepare+0x3bd/0x490 mm/page_alloc.c:1342 free_unref_page_prepare mm/page_alloc.c:3250 [inline] free_unref_page_list+0x1a3/0x620 mm/page_alloc.c:3318 release_pages+0x4e6/0x1bc0 mm/swap.c:972 __pagevec_release+0x77/0x100 mm/swap.c:992 pagevec_release include/linux/pagevec.h:81 [inline] truncate_inode_pages_range+0x2fb/0xc20 mm/truncate.c:332 jfs_mount_rw+0x1b4/0x5d0 fs/jfs/jfs_mount.c:243 jfs_remount+0x530/0x650 fs/jfs/super.c:459 legacy_reconfigure+0x117/0x180 fs/fs_context.c:615 reconfigure_super+0x407/0x860 fs/super.c:906 vfs_fsconfig_locked fs/fsopen.c:254 [inline] __do_sys_fsconfig+0xa3a/0xc20 fs/fsopen.c:439 do_syscall_64+0x41/0x80 arch/x86/entry/common.c:47 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f700e9949b9 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:00007f700e41a038 EFLAGS: 00000246 ORIG_RAX: 00000000000001af RAX: ffffffffffffffda RBX: 00007f700eb30f80 RCX: 00007f700e9949b9 RDX: 0000000000000000 RSI: 0000000000000007 RDI: 0000000000000004 RBP: 00007f700ea028d8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f700eb30f80 R15: 00007ffe3faaefc8 BUG: Bad page state in process syz.0.15 pfn:10d0ec page:ffffea0004343b00 refcount:0 mapcount:0 mapping:0000000000000000 index:0x3 pfn:0x10d0ec flags: 0x200000000002006(referenced|uptodate|private|node=0|zone=2) raw: 0200000000002006 ffffea00040e6d08 ffffc90000807980 0000000000000000 raw: 0000000000000003 ffff88810f5f8aa8 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 4894, ts 70232740181, free_ts 68706696940 prep_new_page mm/page_alloc.c:2358 [inline] get_page_from_freelist+0xc46/0x2690 mm/page_alloc.c:3994 __alloc_pages+0x1b2/0x450 mm/page_alloc.c:5200 alloc_pages+0x1c9/0x370 mm/mempolicy.c:2272 __page_cache_alloc mm/filemap.c:1005 [inline] __page_cache_alloc+0x2c8/0x320 mm/filemap.c:990 do_read_cache_page+0x444/0xff0 mm/filemap.c:3332 read_mapping_page include/linux/pagemap.h:515 [inline] __get_metapage+0x5a5/0xe60 fs/jfs/jfs_metapage.c:621 dbAdjCtl+0xf3/0x7b0 fs/jfs/jfs_dmap.c:2508 dbAllocDmap+0xb7/0x110 fs/jfs/jfs_dmap.c:2069 dbAllocDmapLev+0x14c/0x270 fs/jfs/jfs_dmap.c:2013 dbAllocCtl+0x4be/0x730 fs/jfs/jfs_dmap.c:1853 dbAllocAG+0x7d1/0xb90 fs/jfs/jfs_dmap.c:1394 dbDiscardAG+0x29a/0x830 fs/jfs/jfs_dmap.c:1643 jfs_ioc_trim+0x306/0x430 fs/jfs/jfs_discard.c:100 jfs_ioctl+0x2ea/0x3a0 fs/jfs/ioctl.c:132 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:1069 [inline] __se_sys_ioctl fs/ioctl.c:1055 [inline] __x64_sys_ioctl+0x196/0x210 fs/ioctl.c:1055 do_syscall_64+0x41/0x80 arch/x86/entry/common.c:47 page last free stack trace: reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1298 [inline] free_pcp_prepare+0x391/0x490 mm/page_alloc.c:1342 free_unref_page_prepare mm/page_alloc.c:3250 [inline] free_unref_page_list+0x1a3/0x620 mm/page_alloc.c:3318 release_pages+0x4e6/0x1bc0 mm/swap.c:972 tlb_batch_pages_flush mm/mmu_gather.c:49 [inline] tlb_flush_mmu_free mm/mmu_gather.c:242 [inline] tlb_flush_mmu mm/mmu_gather.c:249 [inline] tlb_finish_mmu+0x165/0x8c0 mm/mmu_gather.c:340 exit_mmap+0x2c2/0x580 mm/mmap.c:3210 __mmput+0xd6/0x400 kernel/fork.c:1096 mmput+0x40/0x50 kernel/fork.c:1117 exit_mm kernel/exit.c:502 [inline] do_exit+0xa49/0x2700 kernel/exit.c:813 do_group_exit+0x125/0x310 kernel/exit.c:923 __do_sys_exit_group kernel/exit.c:934 [inline] __se_sys_exit_group kernel/exit.c:932 [inline] __x64_sys_exit_group+0x3a/0x50 kernel/exit.c:932 do_syscall_64+0x41/0x80 arch/x86/entry/common.c:47 entry_SYSCALL_64_after_hwframe+0x44/0xae Modules linked in: CPU: 1 PID: 4894 Comm: syz.0.15 Tainted: G B 5.13.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 Call Trace: __dump_stack lib/dump_stack.c:79 [inline] dump_stack+0x103/0x183 lib/dump_stack.c:120 bad_page.cold+0xc7/0xcc mm/page_alloc.c:665 check_free_page_bad mm/page_alloc.c:1165 [inline] check_free_page mm/page_alloc.c:1175 [inline] free_pages_prepare mm/page_alloc.c:1292 [inline] free_pcp_prepare+0x3bd/0x490 mm/page_alloc.c:1342 free_unref_page_prepare mm/page_alloc.c:3250 [inline] free_unref_page_list+0x1a3/0x620 mm/page_alloc.c:3318 release_pages+0x4e6/0x1bc0 mm/swap.c:972 __pagevec_release+0x77/0x100 mm/swap.c:992 pagevec_release include/linux/pagevec.h:81 [inline] truncate_inode_pages_range+0x2fb/0xc20 mm/truncate.c:332 jfs_mount_rw+0x1b4/0x5d0 fs/jfs/jfs_mount.c:243 jfs_remount+0x530/0x650 fs/jfs/super.c:459 legacy_reconfigure+0x117/0x180 fs/fs_context.c:615 reconfigure_super+0x407/0x860 fs/super.c:906 vfs_fsconfig_locked fs/fsopen.c:254 [inline] __do_sys_fsconfig+0xa3a/0xc20 fs/fsopen.c:439 do_syscall_64+0x41/0x80 arch/x86/entry/common.c:47 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f700e9949b9 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:00007f700e41a038 EFLAGS: 00000246 ORIG_RAX: 00000000000001af RAX: ffffffffffffffda RBX: 00007f700eb30f80 RCX: 00007f700e9949b9 RDX: 0000000000000000 RSI: 0000000000000007 RDI: 0000000000000004 RBP: 00007f700ea028d8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f700eb30f80 R15: 00007ffe3faaefc8 *** Log Format Error ! *** lmLogInit: exit(-22) lmLogOpen: exit(-22)