program: syz_mount_image$ext4(&(0x7f0000000580)='ext4\x00', &(0x7f00000005c0)='./file0\x00', 0x0, &(0x7f0000000600), 0x1, 0x56f, &(0x7f0000000640)="$eJzs3c9rHFUcAPDvm2zSH6kmFUFrDwYKtqAmTVpRRLDFevPgj4InwZikpXTbhiaCrRVbqP+B/gGCNy/isYgU9eLVm+AfIMUiNRdvkdnMbLfNbpo0m07tfD4w2Xnzdvm+yfLdN/P2zWwAtTWW/8ki9kTEfIoY6ahrRFE5tvK8f25dmlm6dWkmxfLye3+nSMW28vmpeBwuXrw9In77KcUTA6vjLly4eHq62Zw7X5QnFs/MTyxcuPjiqTPTJ+dOzp2dmnx58qXDh6YOH+zbvv4yfqxx9cQbe7+b+Wb35z98ey3FkdhV1HXuR7+MxVj7f9Ip/7++0u9gFRko9qfzLU6NChvEhpTv32BEPBUjMRC337yR+OKdShsHbKnlFLEM1FSS/1BT5XFAfv5bLtUekQAPys2jKwMA5djeUjv/Gytjg7G9NTawcylF57BOioh+jMzlMeafSyP5Els0Dgd0d/lKRDzdrf9PrdwcbY3i5/mf3ZH/WUS8XTzmy7v3GX/srrL8hwdnM/n/YfGYb//oPuPLfwAAAAAAAOif60cj4oVu3/9l7fk/0WX+z3BEHOlD/Ht//5fd6EMYoIubRyNei4ilVfP/svIpowNF6bHWfIDBdOJUc+5gRDweEQdicFtenlwjxtjeXwd71nXM/8uXPH45F7Box43GtjtfMzu9OL2ZfQZW3LwS8UyjW/6ndv+fuvT/+efB/DpjLB97/ededffOf2CrLH8dsb9r/3/7zhVp7ftzTLSOBybKo4LVPv3g2ve94st/qE7e/+9cO/9HU+f9ehY2HuOzv/7YRP53P/4fSsdbt5wZKrZ9Mr24eH4yYii9tXr71MbbDI+iMh/KfMnz/8C+7uf/ax3/74iIy+uMefzHN6/2qtP/Q3Xy/J/dUP+/8ZV973/1b6/46+v/D7f69APFFuN/sLb1JmjV7QQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACA/6MsInZFysbb61k2Ph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AAAAeKbufvf57iojLr+5oLbmhom6w0pYBWy2rugFAZdziB+rL1B+oL+f4QLpH/fb7fiUAAAAAAAAAAAAA0C/797j+H+rK9f9QX67/h/py/T/Ul3N8wPX/AAAAAAAAAAAAAPDwW7hw8fR0szl33ooVK1baK1V/MgEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKX/AgAA//9Md/k5") r0 = syz_open_dev$sndctrl(&(0x7f0000001440), 0x0, 0x0) ioctl$SNDRV_CTL_IOCTL_PCM_PREFER_SUBDEVICE(r0, 0x40045532, &(0x7f0000000100)) (async) ioctl$SNDRV_CTL_IOCTL_PCM_PREFER_SUBDEVICE(r0, 0x40045532, &(0x7f0000000100)) r1 = openat$audio(0xffffffffffffff9c, &(0x7f00000000c0), 0x88602, 0x0) ioctl$SNDCTL_DSP_GETODELAY(r1, 0x80045017, 0x0) r2 = syz_open_dev$sndpcmp(&(0x7f00000001c0), 0x0, 0xa2c65) ioctl$SNDRV_PCM_IOCTL_READN_FRAMES(r2, 0x80184153, 0x0) unlinkat(0xffffffffffffff9c, &(0x7f0000000c40)='./file1\x00', 0x0) [ 87.962027][ T28] page: refcount:2 mapcount:0 mapping:0000000000000000 index:0xffff888011bf1e58 pfn:0x11bf1 [ 87.965280][ T28] flags: 0xfff00000010001(locked|reclaim|node=0|zone=1|lastcpupid=0x7ff) [ 87.986320][ T28] raw: 00fff00000010001 ffffc900004ef2b0 ffffc900004ef2b0 ffffffff8c1850c2 [ 87.989249][ T28] raw: ffff888011bf1e58 0000000000000002 00000002ffffffff 0000000000000000 [ 87.993293][ 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.026052][ T28] page_owner tracks the page as allocated [ 88.029197][ 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.039288][ T28] post_alloc_hook+0x1f3/0x230 [ 88.041565][ T28] get_page_from_freelist+0x3045/0x3190 [ 88.043939][ T28] __alloc_pages_noprof+0x256/0x6c0 [ 88.046187][ T28] alloc_pages_mpol_noprof+0x3e8/0x680 [ 88.048515][ T28] z3fold_zpool_malloc+0x3d1/0xe70 [ 88.050624][ T28] zswap_store+0xec7/0x1a00 [ 88.052648][ T28] swap_writepage+0x790/0xcd0 [ 88.054457][ T28] shmem_writepage+0x14d0/0x1f40 [ 88.056190][ T28] shrink_folio_list+0x3c0e/0x8cc0 [ 88.057841][ T28] evict_folios+0x549b/0x7b50 [ 88.059451][ T28] try_to_shrink_lruvec+0x9ab/0xbb0 [ 88.061391][ T28] shrink_one+0x3b9/0x850 [ 88.063062][ T28] shrink_node+0x3799/0x3de0 [ 88.064839][ T28] kswapd+0x1ca3/0x3700 [ 88.066685][ T28] kthread+0x2f0/0x390 [ 88.069023][ T28] ret_from_fork+0x4b/0x80 [ 88.071366][ T28] page last free pid 4604 tgid 4604 stack trace: [ 88.074186][ T28] free_unref_page+0xcfb/0xf20 [ 88.076197][ T28] __slab_free+0x31b/0x3d0 [ 88.077957][ T28] qlist_free_all+0x9a/0x140 [ 88.079894][ T28] kasan_quarantine_reduce+0x14f/0x170 [ 88.082001][ T28] __kasan_slab_alloc+0x23/0x80 [ 88.083886][ T28] kmem_cache_alloc_noprof+0x135/0x2a0 [ 88.087222][ T28] getname_flags+0xb7/0x540 [ 88.089343][ T28] do_sys_openat2+0xd2/0x1d0 [ 88.091342][ T28] __x64_sys_openat+0x247/0x2a0 [ 88.093259][ T28] do_syscall_64+0xf3/0x230 [ 88.094999][ T28] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 88.097644][ T28] ------------[ cut here ]------------ [ 88.099978][ T28] kernel BUG at mm/z3fold.c:1293! [ 88.102596][ T28] Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI [ 88.105940][ T28] CPU: 0 UID: 0 PID: 28 Comm: kcompactd0 Not tainted 6.12.0-rc1-syzkaller-00125-g0c559323bbaa #0 [ 88.110112][ T28] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 [ 88.114202][ T28] RIP: 0010:z3fold_page_migrate+0xc22/0x1170 [ 88.116594][ 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.124926][ T28] RSP: 0000:ffffc900004eed38 EFLAGS: 00010246 [ 88.127554][ T28] RAX: 98fa01475ce2a400 RBX: 0000000000000000 RCX: 0000000000000001 [ 88.130859][ T28] RDX: dffffc0000000000 RSI: ffffffff8c0acac0 RDI: 0000000000000001 [ 88.133413][ T28] RBP: ffffea000046fc40 R08: ffffffff901ce7af R09: 1ffffffff2039cf5 [ 88.136301][ T28] R10: dffffc0000000000 R11: fffffbfff2039cf6 R12: ffffea000046fc40 [ 88.139178][ T28] R13: ffffffff8c1850c8 R14: 00fff00000010001 R15: 1ffffd400008df88 [ 88.142284][ T28] FS: 0000000000000000(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 [ 88.146152][ T28] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 88.149376][ T28] CR2: 00007f919c31b338 CR3: 000000000e734000 CR4: 0000000000352ef0 [ 88.152827][ T28] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 88.155803][ T28] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 88.158779][ T28] Call Trace: [ 88.160155][ T28] [ 88.161211][ T28] ? __die_body+0x5f/0xb0 [ 88.162786][ T28] ? die+0x9e/0xc0 [ 88.164282][ T28] ? do_trap+0x15a/0x3a0 [ 88.166489][ T28] ? z3fold_page_migrate+0xc22/0x1170 [ 88.169325][ T28] ? do_error_trap+0x1dc/0x2c0 [ 88.171901][ T28] ? z3fold_page_migrate+0xc22/0x1170 [ 88.174013][ T28] ? __pfx_do_error_trap+0x10/0x10 [ 88.175886][ T28] ? handle_invalid_op+0x34/0x40 [ 88.177801][ T28] ? z3fold_page_migrate+0xc22/0x1170 [ 88.179907][ T28] ? exc_invalid_op+0x38/0x50 [ 88.181743][ T28] ? asm_exc_invalid_op+0x1a/0x20 [ 88.183700][ T28] ? z3fold_page_migrate+0xc22/0x1170 [ 88.185798][ T28] ? z3fold_page_migrate+0xc21/0x1170 [ 88.187885][ T28] ? __pfx_lock_release+0x10/0x10 [ 88.190236][ T28] ? PageMovable+0x13c/0x3f0 [ 88.192816][ T28] move_to_new_folio+0x9f3/0x1330 [ 88.195376][ T28] ? page_ext_get+0x1d6/0x2a0 [ 88.197364][ T28] ? __pfx_move_to_new_folio+0x10/0x10 [ 88.199639][ T28] ? post_alloc_hook+0x206/0x230 [ 88.201677][ T28] ? compaction_alloc+0x3381/0x3960 [ 88.203721][ T28] ? do_raw_spin_unlock+0x58/0x8b0 [ 88.205859][ T28] ? __pfx___might_resched+0x10/0x10 [ 88.208494][ T28] ? __pfx___folio_put+0x10/0x10 [ 88.210946][ T28] ? migrate_folio_done+0x254/0x4a0 [ 88.213448][ T28] ? folio_unlock+0x126/0x2f0 [ 88.215611][ T28] migrate_pages_batch+0x266b/0x36d0 [ 88.217636][ T28] ? __pfx_compaction_free+0x10/0x10 [ 88.219739][ T28] ? __pfx_migrate_pages_batch+0x10/0x10 [ 88.221878][ T28] ? __pfx_lock_release+0x10/0x10 [ 88.223657][ T28] migrate_pages+0x2734/0x3560 [ 88.225545][ T28] ? __pfx_compaction_free+0x10/0x10 [ 88.227548][ T28] ? __pfx_compaction_alloc+0x10/0x10 [ 88.229571][ T28] ? __pfx_migrate_pages+0x10/0x10 [ 88.231521][ T28] ? folio_putback_lru+0x99/0xd0 [ 88.233523][ T28] compact_zone+0x3404/0x4af0 [ 88.235496][ T28] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 88.238522][ T28] ? mark_lock+0x9a/0x360 [ 88.240155][ T28] ? __lock_acquire+0x1384/0x2050 [ 88.242154][ T28] ? __pfx_compact_zone+0x10/0x10 [ 88.244035][ T28] compact_node+0x2de/0x460 [ 88.245732][ T28] ? __pfx_compact_node+0x10/0x10 [ 88.247964][ T28] ? fragmentation_score_node+0x322/0x340 [ 88.250409][ T28] kcompactd+0x788/0x1530 [ 88.252378][ T28] ? __pfx_kcompactd+0x10/0x10 [ 88.254425][ T28] ? _raw_spin_unlock_irqrestore+0xdd/0x140 [ 88.256683][ T28] ? __pfx__raw_spin_unlock_irqrestore+0x10/0x10 [ 88.259122][ T28] ? __pfx_autoremove_wake_function+0x10/0x10 [ 88.261377][ T28] ? __kthread_parkme+0x169/0x1d0 [ 88.263376][ T28] ? __pfx_kcompactd+0x10/0x10 [ 88.265456][ T28] kthread+0x2f0/0x390 [ 88.267950][ T28] ? __pfx_kcompactd+0x10/0x10 [ 88.270796][ T28] ? __pfx_kthread+0x10/0x10 [ 88.273082][ T28] ret_from_fork+0x4b/0x80 [ 88.274743][ T28] ? __pfx_kthread+0x10/0x10 [ 88.276524][ T28] ret_from_fork_asm+0x1a/0x30 [ 88.278330][ T28] [ 88.279544][ T28] Modules linked in: [ 88.281590][ T28] ---[ end trace 0000000000000000 ]--- [ 88.300216][ T5098] Bluetooth: hci0: command tx timeout [ 88.435981][ T28] RIP: 0010:z3fold_page_migrate+0xc22/0x1170 [ 88.438383][ 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.465997][ T28] RSP: 0000:ffffc900004eed38 EFLAGS: 00010246 [ 88.468604][ T28] RAX: 98fa01475ce2a400 RBX: 0000000000000000 RCX: 0000000000000001 [ 88.471841][ T28] RDX: dffffc0000000000 RSI: ffffffff8c0acac0 RDI: 0000000000000001 [ 88.474757][ T28] RBP: ffffea000046fc40 R08: ffffffff901ce7af R09: 1ffffffff2039cf5 [ 88.485955][ T28] R10: dffffc0000000000 R11: fffffbfff2039cf6 R12: ffffea000046fc40 [ 88.488995][ T28] R13: ffffffff8c1850c8 R14: 00fff00000010001 R15: 1ffffd400008df88 [ 88.491882][ T28] FS: 0000000000000000(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 [ 88.494752][ T28] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 88.506000][ T28] CR2: 00007f5e80fb1dd3 CR3: 000000000e734000 CR4: 0000000000352ef0 [ 88.509514][ T28] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 88.512605][ T28] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 88.515686][ T28] Kernel panic - not syncing: Fatal exception [ 88.518128][ T28] Kernel Offset: disabled [ 88.519752][ T28] Rebooting in 86400 seconds..