page: refcount:2 mapcount:0 mapping:0000000000000000 index:0x61a pfn:0x11814 flags: 0xfff00000010001(locked|reclaim|node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000010001 ffffc9000b176d70 ffffc9000b176d70 ffffffff8c185182 raw: 000000000000061a 0000000000000000 00000002ffffffff 0000000000000000 page_owner tracks the page as allocated page last allocated via order 0, migratetype Unmovable, gfp_mask 0x12800(GFP_NOWAIT|__GFP_NORETRY), pid 73, tgid 73 (kswapd0), ts 74926849169, free_ts 74522344896 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x1f3/0x230 mm/page_alloc.c:1537 prep_new_page mm/page_alloc.c:1545 [inline] get_page_from_freelist+0x3045/0x3190 mm/page_alloc.c:3457 __alloc_pages_noprof+0x292/0x710 mm/page_alloc.c:4733 alloc_pages_mpol_noprof+0x3e8/0x680 mm/mempolicy.c:2265 z3fold_alloc mm/z3fold.c:1036 [inline] z3fold_zpool_malloc+0x3d1/0xe70 mm/z3fold.c:1388 zswap_compress mm/zswap.c:927 [inline] zswap_store+0xec7/0x1a00 mm/zswap.c:1460 swap_writepage+0x790/0xcd0 mm/page_io.c:271 pageout mm/vmscan.c:688 [inline] shrink_folio_list+0x3c0e/0x8cc0 mm/vmscan.c:1366 evict_folios+0x549b/0x7b50 mm/vmscan.c:4583 try_to_shrink_lruvec+0x9ab/0xbb0 mm/vmscan.c:4778 shrink_one+0x3b9/0x850 mm/vmscan.c:4816 shrink_many mm/vmscan.c:4879 [inline] lru_gen_shrink_node mm/vmscan.c:4957 [inline] shrink_node+0x3791/0x3e20 mm/vmscan.c:5937 kswapd_shrink_node mm/vmscan.c:6765 [inline] balance_pgdat mm/vmscan.c:6957 [inline] kswapd+0x1ca3/0x3700 mm/vmscan.c:7226 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 page last free pid 5106 tgid 5105 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1108 [inline] free_unref_page+0xcfb/0xf20 mm/page_alloc.c:2638 stack_depot_save_flags+0x6f6/0x830 lib/stackdepot.c:666 kasan_save_stack mm/kasan/common.c:48 [inline] kasan_save_track+0x51/0x80 mm/kasan/common.c:68 unpoison_slab_object mm/kasan/common.c:319 [inline] __kasan_slab_alloc+0x66/0x80 mm/kasan/common.c:345 kasan_slab_alloc include/linux/kasan.h:247 [inline] slab_post_alloc_hook mm/slub.c:4085 [inline] slab_alloc_node mm/slub.c:4134 [inline] kmem_cache_alloc_lru_noprof+0x139/0x2b0 mm/slub.c:4153 alloc_inode+0x87/0x1a0 fs/inode.c:267 new_inode_pseudo fs/inode.c:1104 [inline] new_inode+0x22/0x1d0 fs/inode.c:1123 debugfs_get_inode fs/debugfs/inode.c:72 [inline] __debugfs_create_file+0x142/0x4b0 fs/debugfs/inode.c:433 debugfs_hw_add+0x111/0x340 net/mac80211/debugfs.c:657 ieee80211_register_hw+0x3116/0x3e10 net/mac80211/main.c:1579 mac80211_hwsim_new_radio+0x2a9f/0x4a90 drivers/net/wireless/virtual/mac80211_hwsim.c:5519 hwsim_new_radio_nl+0xece/0x2290 drivers/net/wireless/virtual/mac80211_hwsim.c:6203 genl_family_rcv_msg_doit net/netlink/genetlink.c:1115 [inline] genl_family_rcv_msg net/netlink/genetlink.c:1195 [inline] genl_rcv_msg+0xb14/0xec0 net/netlink/genetlink.c:1210 netlink_rcv_skb+0x1e3/0x430 net/netlink/af_netlink.c:2551 genl_rcv+0x28/0x40 net/netlink/genetlink.c:1219 netlink_unicast_kernel net/netlink/af_netlink.c:1331 [inline] netlink_unicast+0x7f6/0x990 net/netlink/af_netlink.c:1357 ------------[ cut here ]------------ kernel BUG at mm/z3fold.c:1293! Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI CPU: 0 UID: 0 PID: 5107 Comm: syz.0.0 Not tainted 6.12.0-rc4-syzkaller-00085-g4e46774408d9 #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:z3fold_page_migrate+0xc22/0x1170 mm/z3fold.c:1293 Code: ff 48 89 ef 48 c7 c6 20 53 18 8c e8 98 70 d5 ff 90 0f 0b e8 d0 e4 89 ff 48 8b 7c 24 10 48 c7 c6 80 53 18 8c e8 7f 70 d5 ff 90 <0f> 0b 48 85 db 0f 85 83 00 00 00 0f 1f 44 00 00 e8 a9 e4 89 ff e9 RSP: 0018:ffffc9000b1767f8 EFLAGS: 00010246 RAX: 2325e70f97bfea00 RBX: 0000000000000000 RCX: 0000000000000001 RDX: dffffc0000000000 RSI: ffffffff8c0acb40 RDI: 0000000000000001 RBP: ffffea0000460500 R08: ffffffff942c98af R09: 1ffffffff2859315 R10: dffffc0000000000 R11: fffffbfff2859316 R12: ffffea0000460500 R13: ffffffff8c185188 R14: 00fff00000010001 R15: 1ffffd400008c0a0 FS: 00007fcd203cc6c0(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffedf1e8f58 CR3: 0000000041528000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: move_to_new_folio+0x9f3/0x1330 mm/migrate.c:1077 migrate_folio_move mm/migrate.c:1366 [inline] migrate_pages_batch+0x266b/0x36d0 mm/migrate.c:1897 migrate_pages_sync mm/migrate.c:1990 [inline] migrate_pages+0x2734/0x3560 mm/migrate.c:2072 compact_zone+0x3404/0x4af0 mm/compaction.c:2641 compact_node mm/compaction.c:2910 [inline] compact_nodes mm/compaction.c:2932 [inline] sysctl_compaction_handler+0x496/0x990 mm/compaction.c:2983 proc_sys_call_handler+0x550/0x8b0 fs/proc/proc_sysctl.c:595 iter_file_splice_write+0xbfa/0x1510 fs/splice.c:743 do_splice_from fs/splice.c:941 [inline] direct_splice_actor+0x11b/0x220 fs/splice.c:1164 splice_direct_to_actor+0x586/0xc80 fs/splice.c:1108 do_splice_direct_actor fs/splice.c:1207 [inline] do_splice_direct+0x289/0x3e0 fs/splice.c:1233 do_sendfile+0x561/0xe10 fs/read_write.c:1388 __do_sys_sendfile64 fs/read_write.c:1449 [inline] __se_sys_sendfile64+0x100/0x1e0 fs/read_write.c:1441 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fcd1f57e719 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fcd203cc038 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007fcd1f736058 RCX: 00007fcd1f57e719 RDX: 00000000200000c0 RSI: 0000000000000003 RDI: 0000000000000004 RBP: 00007fcd1f5f12be R08: 0000000000000000 R09: 0000000000000000 R10: 000000000000000a R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fcd1f736058 R15: 00007ffc48806fe8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:z3fold_page_migrate+0xc22/0x1170 mm/z3fold.c:1293 Code: ff 48 89 ef 48 c7 c6 20 53 18 8c e8 98 70 d5 ff 90 0f 0b e8 d0 e4 89 ff 48 8b 7c 24 10 48 c7 c6 80 53 18 8c e8 7f 70 d5 ff 90 <0f> 0b 48 85 db 0f 85 83 00 00 00 0f 1f 44 00 00 e8 a9 e4 89 ff e9 RSP: 0018:ffffc9000b1767f8 EFLAGS: 00010246 RAX: 2325e70f97bfea00 RBX: 0000000000000000 RCX: 0000000000000001 RDX: dffffc0000000000 RSI: ffffffff8c0acb40 RDI: 0000000000000001 RBP: ffffea0000460500 R08: ffffffff942c98af R09: 1ffffffff2859315 R10: dffffc0000000000 R11: fffffbfff2859316 R12: ffffea0000460500 R13: ffffffff8c185188 R14: 00fff00000010001 R15: 1ffffd400008c0a0 FS: 00007fcd203cc6c0(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd2e10aad98 CR3: 0000000041528000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400