program: socketpair$unix(0x1, 0x2, 0x0, &(0x7f0000000200)={0xffffffffffffffff}) r1 = socket$nl_xfrm(0x10, 0x3, 0x6) ioctl$sock_SIOCGIFINDEX(r0, 0x8933, &(0x7f00000000c0)={'bond0\x00', 0x0}) sendmsg$nl_xfrm(r1, &(0x7f0000000540)={0x0, 0x0, &(0x7f0000000500)={&(0x7f0000000580)=ANY=[@ANYBLOB="c4000000190001050000000000000000fc000000000000000000000000000000e000000200000000000000000000000000000000000000000200000000000000", @ANYRES32=0x0, @ANYRES32=0x0, @ANYBLOB="000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c001c00", @ANYRES32=r2], 0xc4}}, 0x0) [ 87.975621][ T28] page: refcount:2 mapcount:0 mapping:0000000000000000 index:0xffff888011bf1e58 pfn:0x11bf1 [ 87.980762][ T28] flags: 0xfff00000010001(locked|reclaim|node=0|zone=1|lastcpupid=0x7ff) [ 87.984769][ T28] raw: 00fff00000010001 ffffc900004ef2b0 ffffc900004ef2b0 ffffffff8c1850c2 [ 88.006086][ T28] raw: ffff888011bf1e58 0000000000000002 00000002ffffffff 0000000000000000 [ 88.009387][ 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.027365][ T28] page_owner tracks the page as allocated [ 88.029766][ T28] page last allocated via order 0, migratetype Unmovable, gfp_mask 0x12800(GFP_NOWAIT|__GFP_NORETRY), pid 79, tgid 79 (kswapd0), ts 83894076423, free_ts 44337885489 [ 88.038827][ T28] post_alloc_hook+0x1f3/0x230 [ 88.040966][ T28] get_page_from_freelist+0x3045/0x3190 [ 88.043165][ T28] __alloc_pages_noprof+0x256/0x6c0 [ 88.045144][ T28] alloc_pages_mpol_noprof+0x3e8/0x680 [ 88.047689][ T28] z3fold_zpool_malloc+0x3d1/0xe70 [ 88.050017][ T28] zswap_store+0xec7/0x1a00 [ 88.052058][ T28] swap_writepage+0x790/0xcd0 [ 88.054000][ T28] shmem_writepage+0x14d0/0x1f40 [ 88.056779][ T28] shrink_folio_list+0x3c0e/0x8cc0 [ 88.060459][ T28] evict_folios+0x549b/0x7b50 [ 88.062363][ T28] try_to_shrink_lruvec+0x9ab/0xbb0 [ 88.064483][ T28] shrink_one+0x3b9/0x850 [ 88.066323][ T28] shrink_node+0x3799/0x3de0 [ 88.068127][ T28] kswapd+0x1ca3/0x3700 [ 88.069795][ T28] kthread+0x2f0/0x390 [ 88.071730][ T28] ret_from_fork+0x4b/0x80 [ 88.074056][ T28] page last free pid 4604 tgid 4604 stack trace: [ 88.077009][ T28] free_unref_page+0xcfb/0xf20 [ 88.078690][ T28] __slab_free+0x31b/0x3d0 [ 88.080380][ T28] qlist_free_all+0x9a/0x140 [ 88.082097][ T28] kasan_quarantine_reduce+0x14f/0x170 [ 88.084188][ T28] __kasan_slab_alloc+0x23/0x80 [ 88.086452][ T28] kmem_cache_alloc_noprof+0x135/0x2a0 [ 88.088773][ T28] getname_flags+0xb7/0x540 [ 88.090516][ T28] do_sys_openat2+0xd2/0x1d0 [ 88.092255][ T28] __x64_sys_openat+0x247/0x2a0 [ 88.094367][ T28] do_syscall_64+0xf3/0x230 [ 88.096577][ T28] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 88.099455][ T28] ------------[ cut here ]------------ [ 88.102392][ T28] kernel BUG at mm/z3fold.c:1293! [ 88.106107][ T28] Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI [ 88.109631][ T28] CPU: 0 UID: 0 PID: 28 Comm: kcompactd0 Not tainted 6.12.0-rc1-syzkaller-00125-g0c559323bbaa #0 [ 88.113981][ T28] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 [ 88.119204][ T28] RIP: 0010:z3fold_page_migrate+0xc22/0x1170 [ 88.122589][ 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.130350][ T28] RSP: 0000:ffffc900004eed38 EFLAGS: 00010246 [ 88.132763][ T28] RAX: 98fa01475ce2a400 RBX: 0000000000000000 RCX: 0000000000000001 [ 88.135780][ T28] RDX: dffffc0000000000 RSI: ffffffff8c0acac0 RDI: 0000000000000001 [ 88.138803][ T28] RBP: ffffea000046fc40 R08: ffffffff901ce7af R09: 1ffffffff2039cf5 [ 88.141693][ T28] R10: dffffc0000000000 R11: fffffbfff2039cf6 R12: ffffea000046fc40 [ 88.144592][ T28] R13: ffffffff8c1850c8 R14: 00fff00000010001 R15: 1ffffd400008df88 [ 88.148779][ T28] FS: 0000000000000000(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 [ 88.152608][ T28] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 88.155154][ T28] CR2: 00007f919c31b338 CR3: 000000000e734000 CR4: 0000000000352ef0 [ 88.157990][ T28] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 88.161084][ T28] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 88.164591][ T28] Call Trace: [ 88.166318][ T28] [ 88.167562][ T28] ? __die_body+0x5f/0xb0 [ 88.169093][ T28] ? die+0x9e/0xc0 [ 88.170649][ T28] ? do_trap+0x15a/0x3a0 [ 88.172279][ T28] ? z3fold_page_migrate+0xc22/0x1170 [ 88.174417][ T28] ? do_error_trap+0x1dc/0x2c0 [ 88.176264][ T28] ? z3fold_page_migrate+0xc22/0x1170 [ 88.178399][ T28] ? __pfx_do_error_trap+0x10/0x10 [ 88.180445][ T28] ? handle_invalid_op+0x34/0x40 [ 88.183816][ T28] ? z3fold_page_migrate+0xc22/0x1170 [ 88.187395][ T28] ? exc_invalid_op+0x38/0x50 [ 88.189288][ T28] ? asm_exc_invalid_op+0x1a/0x20 [ 88.191124][ T28] ? z3fold_page_migrate+0xc22/0x1170 [ 88.193284][ T28] ? z3fold_page_migrate+0xc21/0x1170 [ 88.195352][ T28] ? __pfx_lock_release+0x10/0x10 [ 88.197295][ T28] ? PageMovable+0x13c/0x3f0 [ 88.199952][ T28] move_to_new_folio+0x9f3/0x1330 [ 88.202095][ T28] ? page_ext_get+0x1d6/0x2a0 [ 88.203978][ T28] ? __pfx_move_to_new_folio+0x10/0x10 [ 88.206196][ T28] ? post_alloc_hook+0x206/0x230 [ 88.208325][ T28] ? compaction_alloc+0x3381/0x3960 [ 88.210600][ T28] ? do_raw_spin_unlock+0x58/0x8b0 [ 88.213052][ T28] ? __pfx___might_resched+0x10/0x10 [ 88.215299][ T28] ? __pfx___folio_put+0x10/0x10 [ 88.217383][ T28] ? migrate_folio_done+0x254/0x4a0 [ 88.219189][ T28] ? folio_unlock+0x126/0x2f0 [ 88.220925][ T28] migrate_pages_batch+0x266b/0x36d0 [ 88.222958][ T28] ? __pfx_compaction_free+0x10/0x10 [ 88.225722][ T28] ? __pfx_migrate_pages_batch+0x10/0x10 [ 88.228453][ T28] ? __pfx_lock_release+0x10/0x10 [ 88.230519][ T28] migrate_pages+0x2734/0x3560 [ 88.232389][ T28] ? __pfx_compaction_free+0x10/0x10 [ 88.234488][ T28] ? __pfx_compaction_alloc+0x10/0x10 [ 88.236582][ T28] ? __pfx_migrate_pages+0x10/0x10 [ 88.238717][ T28] ? folio_putback_lru+0x99/0xd0 [ 88.241182][ T28] compact_zone+0x3404/0x4af0 [ 88.243839][ T28] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 88.246796][ T28] ? mark_lock+0x9a/0x360 [ 88.248312][ T28] ? __lock_acquire+0x1384/0x2050 [ 88.250266][ T28] ? __pfx_compact_zone+0x10/0x10 [ 88.252252][ T28] compact_node+0x2de/0x460 [ 88.254071][ T28] ? __pfx_compact_node+0x10/0x10 [ 88.256371][ T28] ? fragmentation_score_node+0x322/0x340 [ 88.258846][ T28] kcompactd+0x788/0x1530 [ 88.260809][ T28] ? __pfx_kcompactd+0x10/0x10 [ 88.262914][ T28] ? _raw_spin_unlock_irqrestore+0xdd/0x140 [ 88.265616][ T28] ? __pfx__raw_spin_unlock_irqrestore+0x10/0x10 [ 88.268167][ T28] ? __pfx_autoremove_wake_function+0x10/0x10 [ 88.270476][ T28] ? __kthread_parkme+0x169/0x1d0 [ 88.272367][ T28] ? __pfx_kcompactd+0x10/0x10 [ 88.274683][ T28] kthread+0x2f0/0x390 [ 88.276571][ T28] ? __pfx_kcompactd+0x10/0x10 [ 88.278753][ T28] ? __pfx_kthread+0x10/0x10 [ 88.280719][ T28] ret_from_fork+0x4b/0x80 [ 88.282595][ T28] ? __pfx_kthread+0x10/0x10 [ 88.284304][ T28] ret_from_fork_asm+0x1a/0x30 [ 88.286165][ T28] [ 88.287341][ T28] Modules linked in: [ 88.289317][ T28] ---[ end trace 0000000000000000 ]--- [ 88.326055][ T5098] Bluetooth: hci0: command tx timeout [ 88.486321][ T28] RIP: 0010:z3fold_page_migrate+0xc22/0x1170 [ 88.488681][ 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.515998][ T28] RSP: 0000:ffffc900004eed38 EFLAGS: 00010246 [ 88.518617][ T28] RAX: 98fa01475ce2a400 RBX: 0000000000000000 RCX: 0000000000000001 [ 88.521950][ T28] RDX: dffffc0000000000 RSI: ffffffff8c0acac0 RDI: 0000000000000001 [ 88.525285][ T28] RBP: ffffea000046fc40 R08: ffffffff901ce7af R09: 1ffffffff2039cf5 [ 88.535963][ T28] R10: dffffc0000000000 R11: fffffbfff2039cf6 R12: ffffea000046fc40 [ 88.539127][ T28] R13: ffffffff8c1850c8 R14: 00fff00000010001 R15: 1ffffd400008df88 [ 88.546094][ T28] FS: 0000000000000000(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 [ 88.550138][ T28] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 88.553239][ T28] CR2: 00007f919c31b338 CR3: 000000000e734000 CR4: 0000000000352ef0 [ 88.575999][ T28] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 88.578963][ T28] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 88.583212][ T28] Kernel panic - not syncing: Fatal exception [ 88.586241][ T28] Kernel Offset: disabled [ 88.587991][ T28] Rebooting in 86400 seconds..