program: r0 = open(&(0x7f0000000040)='./file0\x00', 0x40c5, 0x0) prlimit64(0x0, 0xe, &(0x7f0000000140)={0x8, 0x8b}, 0x0) sched_setscheduler(0x0, 0x1, 0x0) r1 = getpid() sched_setaffinity(0x0, 0x8, &(0x7f00000002c0)=0x2) sched_setscheduler(r1, 0x2, &(0x7f0000000200)=0x6) mmap(&(0x7f0000000000/0xb36000)=nil, 0xb36000, 0xb635773f06ebbeee, 0x8031, 0xffffffffffffffff, 0x0) socketpair$unix(0x1, 0x2, 0x0, &(0x7f0000000200)={0xffffffffffffffff, 0xffffffffffffffff}) connect$unix(r2, &(0x7f000057eff8)=@abs, 0x6e) sendmmsg$unix(r3, &(0x7f0000000000), 0x651, 0x0) recvmmsg(r2, &(0x7f00000000c0), 0x10106, 0x2, 0x0) r4 = bpf$MAP_CREATE(0x0, &(0x7f00000000c0)=@base={0x1b, 0x0, 0x0, 0x8000, 0x0, 0xffffffffffffffff, 0x0, '\x00', 0x0, 0xffffffffffffffff, 0x0, 0x0, 0x0, 0x0, @void, @value, @void, @value}, 0x48) r5 = bpf$PROG_LOAD(0x5, &(0x7f00000000c0)={0x11, 0xc, &(0x7f00000004c0)=ANY=[@ANYBLOB="1800000000000000000000000000000018110000", @ANYRES32=r4, @ANYBLOB="0000000000000000b7080000000000007b8af8ff00000000bfa200000000000007020000f8ffffffb703000008000000b704000000000000850000008200000095"], &(0x7f0000000200)='GPL\x00', 0x0, 0x0, 0x0, 0x0, 0x0, '\x00', 0x0, @fallback, 0xffffffffffffffff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @void, @value}, 0x94) bpf$BPF_RAW_TRACEPOINT_OPEN(0x11, &(0x7f0000000740)={&(0x7f00000006c0)='sched_switch\x00', r5}, 0x10) lseek(r0, 0x3f85, 0x0) ioctl$ifreq_SIOCGIFINDEX_wireguard(r0, 0x8933, &(0x7f0000000180)={'wg2\x00'}) r6 = openat$tcp_congestion(0xffffffffffffff9c, &(0x7f00000000c0), 0x1, 0x0) write$tcp_congestion(r6, &(0x7f0000000100)='reno\x00', 0x5) [ 80.929937][ T4535] Bluetooth: hci0: command tx timeout [ 81.576316][ T28] page: refcount:2 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x11a12 [ 81.580001][ T28] flags: 0xfff00000010001(locked|reclaim|node=0|zone=1|lastcpupid=0x7ff) [ 81.583065][ T28] raw: 00fff00000010001 ffffc900004ef2b0 ffffc900004ef2b0 ffffffff8c1850c2 [ 81.595679][ T28] raw: 0000000000000000 0000000000000002 00000002ffffffff 0000000000000000 [ 81.599278][ 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))) [ 81.645957][ T28] page_owner tracks the page as allocated [ 81.648467][ T28] page last allocated via order 0, migratetype Unmovable, gfp_mask 0x12800(GFP_NOWAIT|__GFP_NORETRY), pid 78, tgid 78 (kswapd0), ts 81081989973, free_ts 78334043304 [ 81.655389][ T28] post_alloc_hook+0x1f3/0x230 [ 81.667593][ T28] get_page_from_freelist+0x3045/0x3190 [ 81.669901][ T28] __alloc_pages_noprof+0x292/0x710 [ 81.675604][ T28] alloc_pages_mpol_noprof+0x3e8/0x680 [ 81.677854][ T28] z3fold_zpool_malloc+0x3d1/0xe70 [ 81.679769][ T28] zswap_store+0xec7/0x1a00 [ 81.681456][ T28] swap_writepage+0x790/0xcd0 [ 81.683412][ T28] shrink_folio_list+0x3c0e/0x8cc0 [ 81.695557][ T28] evict_folios+0x549b/0x7b50 [ 81.697553][ T28] try_to_shrink_lruvec+0x9ab/0xbb0 [ 81.699821][ T28] shrink_one+0x3b9/0x850 [ 81.701814][ T28] shrink_node+0x3799/0x3de0 [ 81.704111][ T28] kswapd+0x1ca3/0x3700 [ 81.715728][ T28] kthread+0x2f0/0x390 [ 81.717779][ T28] ret_from_fork+0x4b/0x80 [ 81.720219][ T28] ret_from_fork_asm+0x1a/0x30 [ 81.738586][ T28] page last free pid 5100 tgid 5100 stack trace: [ 81.740987][ T28] free_unref_page+0xcfb/0xf20 [ 81.743045][ T28] __slab_free+0x31b/0x3d0 [ 81.744983][ T28] qlist_free_all+0x9a/0x140 [ 81.765567][ T28] kasan_quarantine_reduce+0x14f/0x170 [ 81.767619][ T28] __kasan_slab_alloc+0x23/0x80 [ 81.769531][ T28] kmem_cache_alloc_node_noprof+0x16b/0x320 [ 81.771754][ T28] __alloc_skb+0x1c3/0x440 [ 81.773616][ T28] netlink_sendmsg+0x638/0xcb0 [ 81.775401][ T28] __sock_sendmsg+0x221/0x270 [ 81.797290][ T28] __sys_sendto+0x39b/0x4f0 [ 81.799099][ T28] __x64_sys_sendto+0xde/0x100 [ 81.800919][ T28] do_syscall_64+0xf3/0x230 [ 81.802918][ T28] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 81.805569][ T28] ------------[ cut here ]------------ [ 81.807635][ T28] kernel BUG at mm/z3fold.c:1293! [ 81.829835][ T28] Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI [ 81.832581][ T28] CPU: 0 UID: 0 PID: 28 Comm: kcompactd0 Not tainted 6.12.0-rc3-syzkaller-00183-g6efbea77b390 #0 [ 81.839416][ T28] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 [ 81.843269][ T28] RIP: 0010:z3fold_page_migrate+0xc22/0x1170 [ 81.845362][ T28] Code: ff 48 89 ef 48 c7 c6 60 52 18 8c e8 a8 74 d5 ff 90 0f 0b e8 c0 f8 89 ff 48 8b 7c 24 10 48 c7 c6 c0 52 18 8c e8 8f 74 d5 ff 90 <0f> 0b 48 85 db 0f 85 83 00 00 00 0f 1f 44 00 00 e8 99 f8 89 ff e9 [ 81.851969][ T28] RSP: 0018:ffffc900004eed38 EFLAGS: 00010246 [ 81.854565][ T28] RAX: c0ecf3d3fc7aaa00 RBX: 0000000000000000 RCX: 0000000000000001 [ 81.858728][ T28] RDX: dffffc0000000000 RSI: ffffffff8c0acac0 RDI: 0000000000000001 [ 81.862626][ T28] RBP: ffffea0000468480 R08: ffffffff901cff6f R09: 1ffffffff2039fed [ 81.865862][ T28] R10: dffffc0000000000 R11: fffffbfff2039fee R12: ffffea0000468480 [ 81.868910][ T28] R13: ffffffff8c1850c8 R14: 00fff00000010001 R15: 1ffffd400008d090 [ 81.872142][ T28] FS: 0000000000000000(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 [ 81.876790][ T28] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 81.880379][ T28] CR2: 00007fed21f22658 CR3: 000000000e734000 CR4: 0000000000352ef0 [ 81.883057][ T28] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 81.886086][ T28] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 81.889613][ T28] Call Trace: [ 81.891090][ T28] [ 81.892482][ T28] ? __die_body+0x5f/0xb0 [ 81.894319][ T28] ? die+0x9e/0xc0 [ 81.895979][ T28] ? do_trap+0x15a/0x3a0 [ 81.897833][ T28] ? z3fold_page_migrate+0xc22/0x1170 [ 81.899938][ T28] ? do_error_trap+0x1dc/0x2c0 [ 81.901787][ T28] ? z3fold_page_migrate+0xc22/0x1170 [ 81.904266][ T28] ? __pfx_do_error_trap+0x10/0x10 [ 81.906537][ T28] ? handle_invalid_op+0x34/0x40 [ 81.908895][ T28] ? z3fold_page_migrate+0xc22/0x1170 [ 81.911374][ T28] ? exc_invalid_op+0x38/0x50 [ 81.913251][ T28] ? asm_exc_invalid_op+0x1a/0x20 [ 81.915041][ T28] ? z3fold_page_migrate+0xc22/0x1170 [ 81.917163][ T28] ? z3fold_page_migrate+0xc21/0x1170 [ 81.919121][ T28] ? __pfx_lock_release+0x10/0x10 [ 81.921679][ T28] ? PageMovable+0x13c/0x3f0 [ 81.924210][ T28] move_to_new_folio+0x9f3/0x1330 [ 81.926578][ T28] ? page_ext_get+0x1d6/0x2a0 [ 81.928367][ T28] ? __pfx_move_to_new_folio+0x10/0x10 [ 81.930635][ T28] ? post_alloc_hook+0x206/0x230 [ 81.932625][ T28] ? compaction_alloc+0x3381/0x3960 [ 81.934630][ T28] ? do_raw_spin_unlock+0x58/0x8b0 [ 81.936338][ T28] ? __pfx___might_resched+0x10/0x10 [ 81.938327][ T28] ? __pfx___folio_put+0x10/0x10 [ 81.940533][ T28] ? migrate_folio_done+0x254/0x4a0 [ 81.942776][ T28] ? folio_unlock+0x126/0x2f0 [ 81.944651][ T28] migrate_pages_batch+0x266b/0x36d0 [ 81.946965][ T28] ? __pfx_compaction_free+0x10/0x10 [ 81.949034][ T28] ? __pfx_migrate_pages_batch+0x10/0x10 [ 81.951009][ T28] ? __pfx_lock_acquire+0x10/0x10 [ 81.952803][ T28] ? isolate_movable_page+0x2a/0xbf0 [ 81.954800][ T28] migrate_pages+0x2734/0x3560 [ 81.956841][ T28] ? __pfx_compaction_free+0x10/0x10 [ 81.959218][ T28] ? __pfx_compaction_alloc+0x10/0x10 [ 81.961344][ T28] ? __pfx_migrate_pages+0x10/0x10 [ 81.963322][ T28] ? folio_putback_lru+0x99/0xd0 [ 81.965071][ T28] compact_zone+0x3404/0x4af0 [ 81.966731][ T28] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 81.969148][ T28] ? mark_lock+0x9a/0x360 [ 81.971059][ T28] ? __lock_acquire+0x1384/0x2050 [ 81.973795][ T28] ? __pfx_compact_zone+0x10/0x10 [ 81.976218][ T28] compact_node+0x2de/0x460 [ 81.977917][ T28] ? __pfx_compact_node+0x10/0x10 [ 81.979842][ T28] ? fragmentation_score_node+0x322/0x340 [ 81.982013][ T28] kcompactd+0x788/0x1530 [ 81.983631][ T28] ? __pfx_kcompactd+0x10/0x10 [ 81.985839][ T28] ? _raw_spin_unlock_irqrestore+0xdd/0x140 [ 81.988458][ T28] ? __pfx__raw_spin_unlock_irqrestore+0x10/0x10 [ 81.991180][ T28] ? __pfx_autoremove_wake_function+0x10/0x10 [ 81.993647][ T28] ? __kthread_parkme+0x169/0x1d0 [ 81.995610][ T28] ? __pfx_kcompactd+0x10/0x10 [ 81.997892][ T28] kthread+0x2f0/0x390 [ 82.000276][ T28] ? __pfx_kcompactd+0x10/0x10 [ 82.002968][ T28] ? __pfx_kthread+0x10/0x10 [ 82.005044][ T28] ret_from_fork+0x4b/0x80 [ 82.006925][ T28] ? __pfx_kthread+0x10/0x10 [ 82.008792][ T28] ret_from_fork_asm+0x1a/0x30 [ 82.010822][ T28] [ 82.012050][ T28] Modules linked in: [ 82.014014][ T28] ---[ end trace 0000000000000000 ]--- [ 82.235088][ T28] RIP: 0010:z3fold_page_migrate+0xc22/0x1170 [ 82.239669][ T28] Code: ff 48 89 ef 48 c7 c6 60 52 18 8c e8 a8 74 d5 ff 90 0f 0b e8 c0 f8 89 ff 48 8b 7c 24 10 48 c7 c6 c0 52 18 8c e8 8f 74 d5 ff 90 <0f> 0b 48 85 db 0f 85 83 00 00 00 0f 1f 44 00 00 e8 99 f8 89 ff e9 [ 82.265517][ T28] RSP: 0018:ffffc900004eed38 EFLAGS: 00010246 [ 82.267971][ T28] RAX: c0ecf3d3fc7aaa00 RBX: 0000000000000000 RCX: 0000000000000001 [ 82.271716][ T28] RDX: dffffc0000000000 RSI: ffffffff8c0acac0 RDI: 0000000000000001 [ 82.274957][ T28] RBP: ffffea0000468480 R08: ffffffff901cff6f R09: 1ffffffff2039fed [ 82.295788][ T28] R10: dffffc0000000000 R11: fffffbfff2039fee R12: ffffea0000468480 [ 82.299380][ T28] R13: ffffffff8c1850c8 R14: 00fff00000010001 R15: 1ffffd400008d090 [ 82.303493][ T28] FS: 0000000000000000(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 [ 82.315539][ T28] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 82.319462][ T28] CR2: 00007f0eacefd580 CR3: 0000000012ef2000 CR4: 0000000000352ef0 [ 82.323179][ T28] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 82.345509][ T28] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 82.355579][ T28] Kernel panic - not syncing: Fatal exception [ 82.358411][ T28] Kernel Offset: disabled [ 82.360423][ T28] Rebooting in 86400 seconds..