program: r0 = socket$nl_netfilter(0x10, 0x3, 0xc) sendmsg$nl_netfilter(r0, &(0x7f0000000240)={0x0, 0x0, &(0x7f0000000200)={&(0x7f0000000080)={0x14, 0x10, 0x0, 0x801, 0x70bd2a, 0x25dfdbff, {0x0, 0x0, 0x6}}, 0x14}, 0x1, 0x0, 0x0, 0x20000000}, 0x800) [ 87.968226][ T28] page: refcount:2 mapcount:0 mapping:0000000000000000 index:0x8 pfn:0x11a61 [ 87.972045][ T28] flags: 0xfff00000010001(locked|reclaim|node=0|zone=1|lastcpupid=0x7ff) [ 87.988297][ T28] raw: 00fff00000010001 ffffc900004ef2b0 ffffc900004ef2b0 ffffffff8c1850c2 [ 87.991958][ T28] raw: 0000000000000008 0000000000000000 00000002ffffffff 0000000000000000 [ 87.995807][ 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.019041][ T28] page_owner tracks the page as allocated [ 88.021510][ T28] page last allocated via order 0, migratetype Unmovable, gfp_mask 0x12800(GFP_NOWAIT|__GFP_NORETRY), pid 79, tgid 79 (kswapd0), ts 86183425546, free_ts 85953549301 [ 88.028900][ T28] post_alloc_hook+0x1f3/0x230 [ 88.032176][ T28] get_page_from_freelist+0x3045/0x3190 [ 88.034508][ T28] __alloc_pages_noprof+0x256/0x6c0 [ 88.036911][ T28] alloc_pages_mpol_noprof+0x3e8/0x680 [ 88.039148][ T28] z3fold_zpool_malloc+0x3d1/0xe70 [ 88.041242][ T28] zswap_store+0xec7/0x1a00 [ 88.043060][ T28] swap_writepage+0x790/0xcd0 [ 88.045392][ T28] shrink_folio_list+0x3c0e/0x8cc0 [ 88.048563][ T28] evict_folios+0x549b/0x7b50 [ 88.050926][ T28] try_to_shrink_lruvec+0x9ab/0xbb0 [ 88.052777][ T28] shrink_one+0x3b9/0x850 [ 88.054268][ T28] shrink_node+0x3799/0x3de0 [ 88.056151][ T28] kswapd+0x1ca3/0x3700 [ 88.057672][ T28] kthread+0x2f0/0x390 [ 88.059195][ T28] ret_from_fork+0x4b/0x80 [ 88.060921][ T28] ret_from_fork_asm+0x1a/0x30 [ 88.063095][ T28] page last free pid 5096 tgid 5096 stack trace: [ 88.066405][ T28] free_unref_page+0xcfb/0xf20 [ 88.068642][ T28] __slab_free+0x31b/0x3d0 [ 88.070515][ T28] qlist_free_all+0x9a/0x140 [ 88.072453][ T28] kasan_quarantine_reduce+0x14f/0x170 [ 88.074598][ T28] __kasan_slab_alloc+0x23/0x80 [ 88.076831][ T28] kmem_cache_alloc_lru_noprof+0x139/0x2b0 [ 88.079708][ T28] shmem_alloc_inode+0x28/0x40 [ 88.082234][ T28] new_inode+0x6e/0x310 [ 88.084219][ T28] shmem_get_inode+0x34a/0xd70 [ 88.086310][ T28] shmem_mknod+0x5f/0x1e0 [ 88.088088][ T28] shmem_mkdir+0x33/0x70 [ 88.089752][ T28] vfs_mkdir+0x2f9/0x4f0 [ 88.091620][ T28] do_mkdirat+0x264/0x3a0 [ 88.093495][ T28] __x64_sys_mkdirat+0x87/0xa0 [ 88.095680][ T28] do_syscall_64+0xf3/0x230 [ 88.098058][ T28] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 88.100956][ T28] ------------[ cut here ]------------ [ 88.103256][ T28] kernel BUG at mm/z3fold.c:1293! [ 88.105457][ T28] Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI [ 88.108290][ T28] CPU: 0 UID: 0 PID: 28 Comm: kcompactd0 Not tainted 6.12.0-rc1-syzkaller-00125-g0c559323bbaa #0 [ 88.112567][ T28] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 [ 88.118423][ T28] RIP: 0010:z3fold_page_migrate+0xc22/0x1170 [ 88.120946][ 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.128522][ T28] RSP: 0018:ffffc900004eed38 EFLAGS: 00010246 [ 88.131512][ T28] RAX: 98fa01475ce2a400 RBX: 0000000000000000 RCX: 0000000000000001 [ 88.135906][ T28] RDX: dffffc0000000000 RSI: ffffffff8c0acac0 RDI: 0000000000000001 [ 88.139266][ T28] RBP: ffffea0000469840 R08: ffffffff901ce7af R09: 1ffffffff2039cf5 [ 88.142528][ T28] R10: dffffc0000000000 R11: fffffbfff2039cf6 R12: ffffea0000469840 [ 88.145714][ T28] R13: ffffffff8c1850c8 R14: 00fff00000010001 R15: 1ffffd400008d308 [ 88.148935][ T28] FS: 0000000000000000(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 [ 88.152559][ T28] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 88.155732][ T28] CR2: 00007f7242304728 CR3: 000000000e734000 CR4: 0000000000352ef0 [ 88.159777][ T28] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 88.163015][ T28] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 88.166126][ T28] Call Trace: [ 88.167462][ T28] [ 88.168612][ T28] ? __die_body+0x5f/0xb0 [ 88.170404][ T28] ? die+0x9e/0xc0 [ 88.172155][ T28] ? do_trap+0x15a/0x3a0 [ 88.174252][ T28] ? z3fold_page_migrate+0xc22/0x1170 [ 88.176941][ T28] ? do_error_trap+0x1dc/0x2c0 [ 88.179038][ T28] ? z3fold_page_migrate+0xc22/0x1170 [ 88.181154][ T28] ? __pfx_do_error_trap+0x10/0x10 [ 88.183193][ T28] ? handle_invalid_op+0x34/0x40 [ 88.185180][ T28] ? z3fold_page_migrate+0xc22/0x1170 [ 88.187357][ T28] ? exc_invalid_op+0x38/0x50 [ 88.189429][ T28] ? asm_exc_invalid_op+0x1a/0x20 [ 88.192408][ T28] ? z3fold_page_migrate+0xc22/0x1170 [ 88.195378][ T28] ? z3fold_page_migrate+0xc21/0x1170 [ 88.197491][ T28] ? __pfx_lock_release+0x10/0x10 [ 88.199530][ T28] ? PageMovable+0x13c/0x3f0 [ 88.201349][ T28] move_to_new_folio+0x9f3/0x1330 [ 88.203273][ T28] ? page_ext_get+0x1d6/0x2a0 [ 88.205164][ T28] ? __pfx_move_to_new_folio+0x10/0x10 [ 88.207681][ T28] ? post_alloc_hook+0x206/0x230 [ 88.210266][ T28] ? compaction_alloc+0x3381/0x3960 [ 88.212846][ T28] ? do_raw_spin_unlock+0x58/0x8b0 [ 88.215034][ T28] ? __pfx___might_resched+0x10/0x10 [ 88.217168][ T28] ? __pfx___folio_put+0x10/0x10 [ 88.219153][ T28] ? migrate_folio_done+0x254/0x4a0 [ 88.221233][ T28] ? folio_unlock+0x126/0x2f0 [ 88.223213][ T28] migrate_pages_batch+0x266b/0x36d0 [ 88.225645][ T28] ? __pfx_compaction_free+0x10/0x10 [ 88.228100][ T28] ? __pfx_migrate_pages_batch+0x10/0x10 [ 88.230459][ T28] ? __pfx_lock_release+0x10/0x10 [ 88.232581][ T28] migrate_pages+0x2734/0x3560 [ 88.234464][ T28] ? __pfx_compaction_free+0x10/0x10 [ 88.236619][ T28] ? __pfx_compaction_alloc+0x10/0x10 [ 88.239018][ T28] ? __pfx_migrate_pages+0x10/0x10 [ 88.241366][ T28] ? folio_putback_lru+0x99/0xd0 [ 88.243654][ T28] compact_zone+0x3404/0x4af0 [ 88.245686][ T28] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 88.248219][ T28] ? mark_lock+0x9a/0x360 [ 88.249926][ T28] ? __lock_acquire+0x1384/0x2050 [ 88.252061][ T28] ? __pfx_compact_zone+0x10/0x10 [ 88.254425][ T28] compact_node+0x2de/0x460 [ 88.257049][ T28] ? __pfx_compact_node+0x10/0x10 [ 88.259886][ T28] ? fragmentation_score_node+0x322/0x340 [ 88.262278][ T28] kcompactd+0x788/0x1530 [ 88.263866][ T28] ? __pfx_kcompactd+0x10/0x10 [ 88.265825][ T28] ? _raw_spin_unlock_irqrestore+0xdd/0x140 [ 88.268191][ T28] ? __pfx__raw_spin_unlock_irqrestore+0x10/0x10 [ 88.270709][ T28] ? __pfx_autoremove_wake_function+0x10/0x10 [ 88.273136][ T28] ? __kthread_parkme+0x169/0x1d0 [ 88.275227][ T28] ? __pfx_kcompactd+0x10/0x10 [ 88.277436][ T28] kthread+0x2f0/0x390 [ 88.279406][ T28] ? __pfx_kcompactd+0x10/0x10 [ 88.281611][ T28] ? __pfx_kthread+0x10/0x10 [ 88.283758][ T28] ret_from_fork+0x4b/0x80 [ 88.285779][ T28] ? __pfx_kthread+0x10/0x10 [ 88.287725][ T28] ret_from_fork_asm+0x1a/0x30 [ 88.289639][ T28] [ 88.290897][ T28] Modules linked in: [ 88.292867][ T28] ---[ end trace 0000000000000000 ]--- [ 88.336109][ T5098] Bluetooth: hci0: command tx timeout [ 88.456160][ T28] RIP: 0010:z3fold_page_migrate+0xc22/0x1170 [ 88.458643][ 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.475977][ T28] RSP: 0018:ffffc900004eed38 EFLAGS: 00010246 [ 88.478681][ T28] RAX: 98fa01475ce2a400 RBX: 0000000000000000 RCX: 0000000000000001 [ 88.482106][ T28] RDX: dffffc0000000000 RSI: ffffffff8c0acac0 RDI: 0000000000000001 [ 88.485466][ T28] RBP: ffffea0000469840 R08: ffffffff901ce7af R09: 1ffffffff2039cf5 [ 88.505981][ T28] R10: dffffc0000000000 R11: fffffbfff2039cf6 R12: ffffea0000469840 [ 88.509582][ T28] R13: ffffffff8c1850c8 R14: 00fff00000010001 R15: 1ffffd400008d308 [ 88.512905][ T28] FS: 0000000000000000(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 [ 88.526103][ T28] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 88.535972][ T28] CR2: 00007f919c49c308 CR3: 000000000e734000 CR4: 0000000000352ef0 [ 88.539267][ T28] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 88.542800][ T28] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 88.555936][ T28] Kernel panic - not syncing: Fatal exception [ 88.558416][ T28] Kernel Offset: disabled [ 88.559977][ T28] Rebooting in 86400 seconds..