program: r0 = socket$nl_netfilter(0x10, 0x3, 0xc) sendmsg$NFT_BATCH(r0, &(0x7f00000000c0)={0x0, 0x0, &(0x7f0000000040)={&(0x7f0000000200)=ANY=[@ANYBLOB="140000001000010000000000000000000000000a20000000000a010300000000000000000100fffd0900010073797a300000000040000000030a01020000000000000000010000000900030073797a3200000000140004800800024032658aeb08000140000000010900010073797a300000000044000000060a010400000000000000000100000008000b40000000000900010073797a30000000001c000480180001800d00010073796e70726f7879000000000400028014000000110001"], 0xcc}}, 0x0) r1 = socket$nl_xfrm(0x10, 0x3, 0x6) sendmsg$nl_xfrm(r1, &(0x7f0000000580)={0x0, 0x0, &(0x7f0000000180)={&(0x7f00000000c0)=@updpolicy={0xb8, 0x13, 0xcb23c9c9931e99e9, 0x0, 0x0, {{@in6=@private0, @in6=@private0, 0x0, 0x0, 0x0, 0x0, 0x2}}}, 0xb8}}, 0x0) syz_emit_ethernet(0x46, &(0x7f0000000440)=ANY=[@ANYBLOB="aaaaaaaaaaaaffffffffffff86dd60f91e2e00107300fc04000000000000ea60000000000000ff02000000000000000000000000000100"], 0x0) [ 87.975742][ T28] page: refcount:2 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x11eba [ 87.986086][ T28] flags: 0xfff00000010001(locked|reclaim|node=0|zone=1|lastcpupid=0x7ff) [ 87.989319][ T28] raw: 00fff00000010001 ffffc900004ef2b0 ffffc900004ef2b0 ffffffff8c1850c2 [ 87.992495][ T28] raw: 0000000000000000 0000000000000002 00000002ffffffff 0000000000000000 [ 88.006026][ T28] page dumped because: VM_BUG_ON_PAGE(!((__builtin_constant_p(PAGE_CLAIMED) && __builtin_constant_p((uintptr_t)(&page->private) != (uintptr_t)((void *)0)) && (uintptr_t)(&page->private) != (uintptr_t)((void *)0) && __builtin_constant_p(*(const unsigned long *)(&page->private))) ? const_test_bit(PAGE_CLAIMED, &page->private) : _test_bit(PAGE_CLAIMED, &page->private))) [ 88.021957][ T28] page_owner tracks the page as allocated [ 88.024442][ T28] page last allocated via order 0, migratetype Unmovable, gfp_mask 0x12800(GFP_NOWAIT|__GFP_NORETRY), pid 79, tgid 79 (kswapd0), ts 84391732734, free_ts 44629062045 [ 88.032237][ T28] post_alloc_hook+0x1f3/0x230 [ 88.034428][ T28] get_page_from_freelist+0x3045/0x3190 [ 88.037633][ T28] __alloc_pages_noprof+0x256/0x6c0 [ 88.039873][ T28] alloc_pages_mpol_noprof+0x3e8/0x680 [ 88.042058][ T28] z3fold_zpool_malloc+0x3d1/0xe70 [ 88.044063][ T28] zswap_store+0xec7/0x1a00 [ 88.046282][ T28] swap_writepage+0x790/0xcd0 [ 88.048390][ T28] shrink_folio_list+0x3c0e/0x8cc0 [ 88.050805][ T28] evict_folios+0x549b/0x7b50 [ 88.052756][ T28] try_to_shrink_lruvec+0x9ab/0xbb0 [ 88.055031][ T28] shrink_one+0x3b9/0x850 [ 88.057376][ T28] shrink_node+0x3799/0x3de0 [ 88.059962][ T28] kswapd+0x1ca3/0x3700 [ 88.061879][ T28] kthread+0x2f0/0x390 [ 88.063610][ T28] ret_from_fork+0x4b/0x80 [ 88.065775][ T28] ret_from_fork_asm+0x1a/0x30 [ 88.067938][ T28] page last free pid 4603 tgid 4603 stack trace: [ 88.070297][ T28] free_unref_page+0xcfb/0xf20 [ 88.072015][ T28] __put_partials+0xeb/0x130 [ 88.073700][ T28] put_cpu_partial+0x17c/0x250 [ 88.075430][ T28] __slab_free+0x2ea/0x3d0 [ 88.077212][ T28] qlist_free_all+0x9a/0x140 [ 88.078909][ T28] kasan_quarantine_reduce+0x14f/0x170 [ 88.080981][ T28] __kasan_slab_alloc+0x23/0x80 [ 88.083002][ T28] __kmalloc_cache_noprof+0x132/0x2c0 [ 88.085468][ T28] kernfs_fop_open+0x3e0/0xd10 [ 88.088260][ T28] do_dentry_open+0x978/0x1460 [ 88.090258][ T28] vfs_open+0x3e/0x330 [ 88.091763][ T28] path_openat+0x2c84/0x3590 [ 88.093716][ T28] do_filp_open+0x235/0x490 [ 88.095672][ T28] do_sys_openat2+0x13e/0x1d0 [ 88.097845][ T28] __x64_sys_openat+0x247/0x2a0 [ 88.100147][ T28] do_syscall_64+0xf3/0x230 [ 88.102637][ T28] ------------[ cut here ]------------ [ 88.104937][ T28] kernel BUG at mm/z3fold.c:1293! [ 88.107056][ T28] Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI [ 88.109808][ T28] CPU: 0 UID: 0 PID: 28 Comm: kcompactd0 Not tainted 6.12.0-rc1-syzkaller-00125-g0c559323bbaa #0 [ 88.114778][ T28] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 [ 88.119309][ T28] RIP: 0010:z3fold_page_migrate+0xc22/0x1170 [ 88.121739][ T28] Code: ff 48 89 ef 48 c7 c6 60 52 18 8c e8 88 74 d5 ff 90 0f 0b e8 c0 fa 89 ff 48 8b 7c 24 10 48 c7 c6 c0 52 18 8c e8 6f 74 d5 ff 90 <0f> 0b 48 85 db 0f 85 83 00 00 00 0f 1f 44 00 00 e8 99 fa 89 ff e9 [ 88.130669][ T28] RSP: 0000:ffffc900004eed38 EFLAGS: 00010246 [ 88.133314][ T28] RAX: 98fa01475ce2a400 RBX: 0000000000000000 RCX: 0000000000000001 [ 88.136407][ T28] RDX: dffffc0000000000 RSI: ffffffff8c0acac0 RDI: 0000000000000001 [ 88.139480][ T28] RBP: ffffea000047ae80 R08: ffffffff901ce7af R09: 1ffffffff2039cf5 [ 88.142486][ T28] R10: dffffc0000000000 R11: fffffbfff2039cf6 R12: ffffea000047ae80 [ 88.145283][ T28] R13: ffffffff8c1850c8 R14: 00fff00000010001 R15: 1ffffd400008f5d0 [ 88.148583][ T28] FS: 0000000000000000(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 [ 88.152310][ T28] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 88.155020][ T28] CR2: 00007f5e80e9dd2b CR3: 000000000e734000 CR4: 0000000000352ef0 [ 88.158198][ T28] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 88.161209][ T28] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 88.164291][ T28] Call Trace: [ 88.165529][ T28] [ 88.166727][ T28] ? __die_body+0x5f/0xb0 [ 88.168853][ T28] ? die+0x9e/0xc0 [ 88.170662][ T28] ? do_trap+0x15a/0x3a0 [ 88.172908][ T28] ? z3fold_page_migrate+0xc22/0x1170 [ 88.174981][ T28] ? do_error_trap+0x1dc/0x2c0 [ 88.176823][ T28] ? z3fold_page_migrate+0xc22/0x1170 [ 88.178848][ T28] ? __pfx_do_error_trap+0x10/0x10 [ 88.181137][ T28] ? handle_invalid_op+0x34/0x40 [ 88.183401][ T28] ? z3fold_page_migrate+0xc22/0x1170 [ 88.185833][ T28] ? exc_invalid_op+0x38/0x50 [ 88.187771][ T28] ? asm_exc_invalid_op+0x1a/0x20 [ 88.189792][ T28] ? z3fold_page_migrate+0xc22/0x1170 [ 88.191761][ T28] ? z3fold_page_migrate+0xc21/0x1170 [ 88.193968][ T28] ? __pfx_lock_release+0x10/0x10 [ 88.196277][ T28] ? PageMovable+0x13c/0x3f0 [ 88.198437][ T28] move_to_new_folio+0x9f3/0x1330 [ 88.200705][ T28] ? page_ext_get+0x1d6/0x2a0 [ 88.202585][ T28] ? __pfx_move_to_new_folio+0x10/0x10 [ 88.204766][ T28] ? post_alloc_hook+0x206/0x230 [ 88.206608][ T28] ? compaction_alloc+0x3381/0x3960 [ 88.208696][ T28] ? do_raw_spin_unlock+0x58/0x8b0 [ 88.210672][ T28] ? __pfx___might_resched+0x10/0x10 [ 88.213071][ T28] ? __pfx___folio_put+0x10/0x10 [ 88.216110][ T28] ? migrate_folio_done+0x254/0x4a0 [ 88.218357][ T28] ? folio_unlock+0x126/0x2f0 [ 88.220172][ T28] migrate_pages_batch+0x266b/0x36d0 [ 88.222269][ T28] ? __pfx_compaction_free+0x10/0x10 [ 88.224421][ T28] ? __pfx_migrate_pages_batch+0x10/0x10 [ 88.226542][ T28] ? __pfx_lock_acquire+0x10/0x10 [ 88.228885][ T28] ? isolate_movable_page+0x2a/0xbf0 [ 88.231577][ T28] migrate_pages+0x2734/0x3560 [ 88.233782][ T28] ? __pfx_compaction_free+0x10/0x10 [ 88.235702][ T28] ? __pfx_compaction_alloc+0x10/0x10 [ 88.237774][ T28] ? __pfx_migrate_pages+0x10/0x10 [ 88.239610][ T28] ? folio_putback_lru+0x99/0xd0 [ 88.241372][ T28] compact_zone+0x3404/0x4af0 [ 88.243151][ T28] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 88.245663][ T28] ? mark_lock+0x9a/0x360 [ 88.247505][ T28] ? __lock_acquire+0x1384/0x2050 [ 88.249732][ T28] ? __pfx_compact_zone+0x10/0x10 [ 88.251692][ T28] compact_node+0x2de/0x460 [ 88.253322][ T28] ? __pfx_compact_node+0x10/0x10 [ 88.254987][ T28] ? fragmentation_score_node+0x322/0x340 [ 88.257173][ T28] kcompactd+0x788/0x1530 [ 88.259151][ T28] ? __pfx_kcompactd+0x10/0x10 [ 88.261504][ T28] ? _raw_spin_unlock_irqrestore+0xdd/0x140 [ 88.264476][ T28] ? __pfx__raw_spin_unlock_irqrestore+0x10/0x10 [ 88.266975][ T28] ? __pfx_autoremove_wake_function+0x10/0x10 [ 88.269335][ T28] ? __kthread_parkme+0x169/0x1d0 [ 88.271262][ T28] ? __pfx_kcompactd+0x10/0x10 [ 88.273164][ T28] kthread+0x2f0/0x390 [ 88.274746][ T28] ? __pfx_kcompactd+0x10/0x10 [ 88.276574][ T28] ? __pfx_kthread+0x10/0x10 [ 88.278446][ T28] ret_from_fork+0x4b/0x80 [ 88.280386][ T28] ? __pfx_kthread+0x10/0x10 [ 88.282647][ T28] ret_from_fork_asm+0x1a/0x30 [ 88.284453][ T28] [ 88.285779][ T28] Modules linked in: [ 88.288507][ T28] ---[ end trace 0000000000000000 ]--- [ 88.352663][ T28] RIP: 0010:z3fold_page_migrate+0xc22/0x1170 [ 88.366953][ T28] Code: ff 48 89 ef 48 c7 c6 60 52 18 8c e8 88 74 d5 ff 90 0f 0b e8 c0 fa 89 ff 48 8b 7c 24 10 48 c7 c6 c0 52 18 8c e8 6f 74 d5 ff 90 <0f> 0b 48 85 db 0f 85 83 00 00 00 0f 1f 44 00 00 e8 99 fa 89 ff e9 [ 88.374779][ T5098] Bluetooth: hci0: command tx timeout [ 88.384764][ T28] RSP: 0000:ffffc900004eed38 EFLAGS: 00010246 [ 88.396015][ T28] RAX: 98fa01475ce2a400 RBX: 0000000000000000 RCX: 0000000000000001 [ 88.399726][ T28] RDX: dffffc0000000000 RSI: ffffffff8c0acac0 RDI: 0000000000000001 [ 88.402870][ T28] RBP: ffffea000047ae80 R08: ffffffff901ce7af R09: 1ffffffff2039cf5 [ 88.416092][ T28] R10: dffffc0000000000 R11: fffffbfff2039cf6 R12: ffffea000047ae80 [ 88.426086][ T28] R13: ffffffff8c1850c8 R14: 00fff00000010001 R15: 1ffffd400008f5d0 [ 88.429245][ T28] FS: 0000000000000000(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 [ 88.432964][ T28] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 88.446000][ T28] CR2: 00007ffef5d7e088 CR3: 000000000e734000 CR4: 0000000000352ef0 [ 88.449593][ T28] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 88.453104][ T28] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 88.465986][ T28] Kernel panic - not syncing: Fatal exception [ 88.469278][ T28] Kernel Offset: disabled [ 88.470992][ T28] Rebooting in 86400 seconds..