program: openat$qrtrtun(0xffffff9c, &(0x7f0000000080), 0x20000) bpf$BPF_PROG_RAW_TRACEPOINT_LOAD(0x5, &(0x7f0000000200)={0x1e, 0x4, &(0x7f0000000000)=@framed={{}, [@ldst={0x1, 0x2, 0x3, 0x2, 0x1, 0x12}]}, &(0x7f0000000040)='GPL\x00', 0x0, 0x0, 0x0, 0x0, 0x0, '\x00', 0x0, 0x24, 0xffffffffffffffff, 0x8, 0x0, 0x0, 0x10, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x10, 0x0, @void, @value}, 0x90) (async) bpf$BPF_PROG_RAW_TRACEPOINT_LOAD(0x5, &(0x7f0000000200)={0x1e, 0x4, &(0x7f0000000000)=@framed={{}, [@ldst={0x1, 0x2, 0x3, 0x2, 0x1, 0x12}]}, &(0x7f0000000040)='GPL\x00', 0x0, 0x0, 0x0, 0x0, 0x0, '\x00', 0x0, 0x24, 0xffffffffffffffff, 0x8, 0x0, 0x0, 0x10, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x10, 0x0, @void, @value}, 0x90) [ 87.966727][ T28] page: refcount:2 mapcount:0 mapping:0000000000000000 index:0x8 pfn:0x11a61 [ 87.970772][ T28] flags: 0xfff00000010001(locked|reclaim|node=0|zone=1|lastcpupid=0x7ff) [ 87.974528][ T28] raw: 00fff00000010001 ffffc900004ef2b0 ffffc900004ef2b0 ffffffff8c1850c2 [ 87.993402][ T28] raw: 0000000000000008 0000000000000000 00000002ffffffff 0000000000000000 [ 88.006013][ 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.020795][ T28] page_owner tracks the page as allocated [ 88.023539][ 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.032011][ T28] post_alloc_hook+0x1f3/0x230 [ 88.033978][ T28] get_page_from_freelist+0x3045/0x3190 [ 88.037379][ T28] __alloc_pages_noprof+0x256/0x6c0 [ 88.039396][ T28] alloc_pages_mpol_noprof+0x3e8/0x680 [ 88.041501][ T28] z3fold_zpool_malloc+0x3d1/0xe70 [ 88.044143][ T28] zswap_store+0xec7/0x1a00 [ 88.047338][ T28] swap_writepage+0x790/0xcd0 [ 88.049646][ T28] shrink_folio_list+0x3c0e/0x8cc0 [ 88.051745][ T28] evict_folios+0x549b/0x7b50 [ 88.053772][ T28] try_to_shrink_lruvec+0x9ab/0xbb0 [ 88.055990][ T28] shrink_one+0x3b9/0x850 [ 88.057754][ T28] shrink_node+0x3799/0x3de0 [ 88.059646][ T28] kswapd+0x1ca3/0x3700 [ 88.061437][ T28] kthread+0x2f0/0x390 [ 88.063089][ T28] ret_from_fork+0x4b/0x80 [ 88.064857][ T28] ret_from_fork_asm+0x1a/0x30 [ 88.066880][ T28] page last free pid 5096 tgid 5096 stack trace: [ 88.069288][ T28] free_unref_page+0xcfb/0xf20 [ 88.071178][ T28] __slab_free+0x31b/0x3d0 [ 88.073041][ T28] qlist_free_all+0x9a/0x140 [ 88.075057][ T28] kasan_quarantine_reduce+0x14f/0x170 [ 88.077585][ T28] __kasan_slab_alloc+0x23/0x80 [ 88.079708][ T28] kmem_cache_alloc_lru_noprof+0x139/0x2b0 [ 88.082122][ T28] shmem_alloc_inode+0x28/0x40 [ 88.083987][ T28] new_inode+0x6e/0x310 [ 88.085519][ T28] shmem_get_inode+0x34a/0xd70 [ 88.087478][ T28] shmem_mknod+0x5f/0x1e0 [ 88.089222][ T28] shmem_mkdir+0x33/0x70 [ 88.091082][ T28] vfs_mkdir+0x2f9/0x4f0 [ 88.093043][ T28] do_mkdirat+0x264/0x3a0 [ 88.095240][ T28] __x64_sys_mkdirat+0x87/0xa0 [ 88.097607][ T28] do_syscall_64+0xf3/0x230 [ 88.099391][ T28] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 88.101828][ T28] ------------[ cut here ]------------ [ 88.103958][ T28] kernel BUG at mm/z3fold.c:1293! [ 88.106099][ T28] Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI [ 88.109274][ T28] CPU: 0 UID: 0 PID: 28 Comm: kcompactd0 Not tainted 6.12.0-rc1-syzkaller-00125-g0c559323bbaa #0 [ 88.113770][ T28] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 [ 88.118023][ T28] RIP: 0010:z3fold_page_migrate+0xc22/0x1170 [ 88.120497][ 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.129142][ T28] RSP: 0018:ffffc900004eed38 EFLAGS: 00010246 [ 88.131902][ T28] RAX: 98fa01475ce2a400 RBX: 0000000000000000 RCX: 0000000000000001 [ 88.135492][ T28] RDX: dffffc0000000000 RSI: ffffffff8c0acac0 RDI: 0000000000000001 [ 88.138461][ T28] RBP: ffffea0000469840 R08: ffffffff901ce7af R09: 1ffffffff2039cf5 [ 88.141568][ T28] R10: dffffc0000000000 R11: fffffbfff2039cf6 R12: ffffea0000469840 [ 88.144772][ T28] R13: ffffffff8c1850c8 R14: 00fff00000010001 R15: 1ffffd400008d308 [ 88.148209][ T28] FS: 0000000000000000(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 [ 88.151988][ T28] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 88.154636][ T28] CR2: 00007f7242304728 CR3: 000000000e734000 CR4: 0000000000352ef0 [ 88.157596][ T28] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 88.160639][ T28] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 88.164568][ T28] Call Trace: [ 88.166428][ T28] [ 88.167800][ T28] ? __die_body+0x5f/0xb0 [ 88.169895][ T28] ? die+0x9e/0xc0 [ 88.171471][ T28] ? do_trap+0x15a/0x3a0 [ 88.173057][ T28] ? z3fold_page_migrate+0xc22/0x1170 [ 88.175042][ T28] ? do_error_trap+0x1dc/0x2c0 [ 88.176819][ T28] ? z3fold_page_migrate+0xc22/0x1170 [ 88.178895][ T28] ? __pfx_do_error_trap+0x10/0x10 [ 88.180911][ T28] ? handle_invalid_op+0x34/0x40 [ 88.182989][ T28] ? z3fold_page_migrate+0xc22/0x1170 [ 88.185224][ T28] ? exc_invalid_op+0x38/0x50 [ 88.187172][ T28] ? asm_exc_invalid_op+0x1a/0x20 [ 88.189312][ T28] ? z3fold_page_migrate+0xc22/0x1170 [ 88.191517][ T28] ? z3fold_page_migrate+0xc21/0x1170 [ 88.193676][ T28] ? __pfx_lock_release+0x10/0x10 [ 88.195573][ T28] ? PageMovable+0x13c/0x3f0 [ 88.197336][ T28] move_to_new_folio+0x9f3/0x1330 [ 88.199327][ T28] ? page_ext_get+0x1d6/0x2a0 [ 88.201557][ T28] ? __pfx_move_to_new_folio+0x10/0x10 [ 88.204267][ T28] ? post_alloc_hook+0x206/0x230 [ 88.206633][ T28] ? compaction_alloc+0x3381/0x3960 [ 88.208646][ T28] ? do_raw_spin_unlock+0x58/0x8b0 [ 88.210588][ T28] ? __pfx___might_resched+0x10/0x10 [ 88.212622][ T28] ? __pfx___folio_put+0x10/0x10 [ 88.214509][ T28] ? migrate_folio_done+0x254/0x4a0 [ 88.216528][ T28] ? folio_unlock+0x126/0x2f0 [ 88.218618][ T28] migrate_pages_batch+0x266b/0x36d0 [ 88.221105][ T28] ? __pfx_compaction_free+0x10/0x10 [ 88.223506][ T28] ? __pfx_migrate_pages_batch+0x10/0x10 [ 88.225561][ T28] ? __pfx_lock_release+0x10/0x10 [ 88.227510][ T28] migrate_pages+0x2734/0x3560 [ 88.229401][ T28] ? __pfx_compaction_free+0x10/0x10 [ 88.231574][ T28] ? __pfx_compaction_alloc+0x10/0x10 [ 88.233783][ T28] ? __pfx_migrate_pages+0x10/0x10 [ 88.237213][ T28] ? folio_putback_lru+0x99/0xd0 [ 88.239555][ T28] compact_zone+0x3404/0x4af0 [ 88.241471][ T28] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 88.243963][ T28] ? mark_lock+0x9a/0x360 [ 88.245686][ T28] ? __lock_acquire+0x1384/0x2050 [ 88.247721][ T28] ? __pfx_compact_zone+0x10/0x10 [ 88.249852][ T28] compact_node+0x2de/0x460 [ 88.251712][ T28] ? __pfx_compact_node+0x10/0x10 [ 88.253871][ T28] ? fragmentation_score_node+0x322/0x340 [ 88.255823][ T28] kcompactd+0x788/0x1530 [ 88.257495][ T28] ? __pfx_kcompactd+0x10/0x10 [ 88.259397][ T28] ? _raw_spin_unlock_irqrestore+0xdd/0x140 [ 88.261677][ T28] ? __pfx__raw_spin_unlock_irqrestore+0x10/0x10 [ 88.264061][ T28] ? __pfx_autoremove_wake_function+0x10/0x10 [ 88.266288][ T28] ? __kthread_parkme+0x169/0x1d0 [ 88.268129][ T28] ? __pfx_kcompactd+0x10/0x10 [ 88.269924][ T28] kthread+0x2f0/0x390 [ 88.271485][ T28] ? __pfx_kcompactd+0x10/0x10 [ 88.273352][ T28] ? __pfx_kthread+0x10/0x10 [ 88.275089][ T28] ret_from_fork+0x4b/0x80 [ 88.276851][ T28] ? __pfx_kthread+0x10/0x10 [ 88.278747][ T28] ret_from_fork_asm+0x1a/0x30 [ 88.280728][ T28] [ 88.282117][ T28] Modules linked in: [ 88.284322][ T28] ---[ end trace 0000000000000000 ]--- [ 88.316255][ T5098] Bluetooth: hci0: command tx timeout [ 88.416042][ T28] RIP: 0010:z3fold_page_migrate+0xc22/0x1170 [ 88.418421][ 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.425269][ T28] RSP: 0018:ffffc900004eed38 EFLAGS: 00010246 [ 88.435955][ T28] RAX: 98fa01475ce2a400 RBX: 0000000000000000 RCX: 0000000000000001 [ 88.438663][ T28] RDX: dffffc0000000000 RSI: ffffffff8c0acac0 RDI: 0000000000000001 [ 88.441740][ T28] RBP: ffffea0000469840 R08: ffffffff901ce7af R09: 1ffffffff2039cf5 [ 88.444640][ T28] R10: dffffc0000000000 R11: fffffbfff2039cf6 R12: ffffea0000469840 [ 88.465958][ T28] R13: ffffffff8c1850c8 R14: 00fff00000010001 R15: 1ffffd400008d308 [ 88.468822][ T28] FS: 0000000000000000(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 [ 88.471838][ T28] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 88.474041][ T28] CR2: 00007f919c537748 CR3: 000000000e734000 CR4: 0000000000352ef0 [ 88.485951][ T28] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 88.488944][ T28] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 88.492018][ T28] Kernel panic - not syncing: Fatal exception [ 88.494617][ T28] Kernel Offset: disabled [ 88.496319][ T28] Rebooting in 86400 seconds..