reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1127 [inline] free_frozen_pages+0xe0d/0x10e0 mm/page_alloc.c:2658 __folio_put+0x2b3/0x360 mm/swap.c:112 free_huge_folio+0xeab/0x1340 __folio_put+0x106/0x360 mm/swap.c:105 folio_put include/linux/mm.h:1488 [inline] hugetlb_mfill_atomic_pte+0x949/0x1710 mm/hugetlb.c:6661 mfill_atomic_hugetlb mm/userfaultfd.c:597 [inline] mfill_atomic mm/userfaultfd.c:769 [inline] mfill_atomic_copy+0x14ce/0x1a60 mm/userfaultfd.c:868 userfaultfd_copy fs/userfaultfd.c:1612 [inline] userfaultfd_ioctl+0x2987/0x6840 fs/userfaultfd.c:2016 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:906 [inline] __se_sys_ioctl+0xf5/0x170 fs/ioctl.c:892 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 ------------[ cut here ]------------ WARNING: CPU: 1 PID: 8931 at ./include/linux/memcontrol.h:730 folio_lruvec include/linux/memcontrol.h:730 [inline] WARNING: CPU: 1 PID: 8931 at ./include/linux/memcontrol.h:730 lru_gen_clear_refs+0x498/0x520 mm/swap.c:410 Modules linked in: CPU: 1 UID: 0 PID: 8931 Comm: syz.2.685 Not tainted 6.13.0-rc1-next-20241205-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:folio_lruvec include/linux/memcontrol.h:730 [inline] RIP: 0010:lru_gen_clear_refs+0x498/0x520 mm/swap.c:410 Code: 66 ff ff ff e8 99 dc c2 ff e9 92 fe ff ff e8 8f dc c2 ff 4c 89 e7 48 c7 c6 20 c9 13 8c e8 20 95 0c 00 c6 05 4c 86 27 0e 01 90 <0f> 0b 90 e9 7b fc ff ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 43 fd RSP: 0018:ffffc9000500f120 EFLAGS: 00010246 RAX: 64325d12b9dead00 RBX: 0000000000000000 RCX: 0000000000000001 RDX: dffffc0000000000 RSI: ffffffff8c0a9240 RDI: 0000000000000001 RBP: ffffc9000500f1f0 R08: ffffffff942b29ef R09: 1ffffffff285653d R10: dffffc0000000000 R11: fffffbfff285653e R12: ffffea0001f40000 R13: 1ffffd40003e8000 R14: 00fff00000000058 R15: 0000000000000000 FS: 00007fcf1ea0f6c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8997a49fb8 CR3: 000000005065a000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: deactivate_file_folio+0x99/0x100 mm/swap.c:679 mapping_try_invalidate+0x28b/0x550 mm/truncate.c:489 drop_pagecache_sb+0x1ab/0x260 fs/drop_caches.c:40 iterate_supers+0xc6/0x190 fs/super.c:934 drop_caches_sysctl_handler+0x8c/0x160 fs/drop_caches.c:64 proc_sys_call_handler+0x5ec/0x920 fs/proc/proc_sysctl.c:601 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+0x564/0x8a0 fs/read_write.c:1363 __do_sys_sendfile64 fs/read_write.c:1418 [inline] __se_sys_sendfile64+0x100/0x1e0 fs/read_write.c:1410 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:0x7fcf1db7ff19 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:00007fcf1ea0f058 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007fcf1dd45fa0 RCX: 00007fcf1db7ff19 RDX: 00000000200000c0 RSI: 0000000000000003 RDI: 0000000000000004 RBP: 00007fcf1dbf3986 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000009 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fcf1dd45fa0 R15: 00007fffc9121eb8