------------[ cut here ]------------ refcount_t: decrement hit 0; leaking memory. WARNING: CPU: 0 PID: 5296 at lib/refcount.c:31 refcount_warn_saturate+0x1ed/0x210 lib/refcount.c:31 Modules linked in: CPU: 0 PID: 5296 Comm: udevd Not tainted 6.9.0-rc1-syzkaller-00061-g8d025e2092e2 #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014 RIP: 0010:refcount_warn_saturate+0x1ed/0x210 lib/refcount.c:31 Code: 8b e8 f7 4f d5 fc 90 0f 0b 90 90 e9 c3 fe ff ff e8 f8 7b 12 fd c6 05 06 54 0d 0b 01 90 48 c7 c7 80 aa 6e 8b e8 d4 4f d5 fc 90 <0f> 0b 90 90 e9 a0 fe ff ff 48 89 ef e8 f2 fe 6e fd e9 44 fe ff ff RSP: 0018:ffffc90002a0f628 EFLAGS: 00010286 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff8150eb39 RDX: ffff88801fb5a440 RSI: ffffffff8150eb46 RDI: 0000000000000001 RBP: ffff8880008855ac R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: ffff8880008855ac R13: 0000000000000000 R14: 0000000002b202e3 R15: ffff8880408ee578 FS: 00007f65ec4b8280(0000) GS:ffff88802c200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6c763c6ff8 CR3: 000000004e37c000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __refcount_dec include/linux/refcount.h:336 [inline] refcount_dec include/linux/refcount.h:351 [inline] dec_stack_record_count mm/page_owner.c:228 [inline] __reset_page_owner+0x2ea/0x370 mm/page_owner.c:266 reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1141 [inline] free_unref_page_prepare+0x527/0xb10 mm/page_alloc.c:2347 free_unref_folios+0x256/0xad0 mm/page_alloc.c:2536 folios_put_refs+0x49c/0x750 mm/swap.c:1034 folio_batch_release include/linux/pagevec.h:101 [inline] shmem_undo_range+0x5a1/0x1170 mm/shmem.c:1011 shmem_truncate_range mm/shmem.c:1120 [inline] shmem_evict_inode+0x3a3/0xbb0 mm/shmem.c:1248 evict+0x2ed/0x6c0 fs/inode.c:667 iput_final fs/inode.c:1741 [inline] iput.part.0+0x5a8/0x7f0 fs/inode.c:1767 iput+0x5c/0x80 fs/inode.c:1757 do_unlinkat+0x613/0x750 fs/namei.c:4409 __do_sys_unlink fs/namei.c:4450 [inline] __se_sys_unlink fs/namei.c:4448 [inline] __x64_sys_unlink+0xc7/0x110 fs/namei.c:4448 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xd2/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x6d/0x75 RIP: 0033:0x7f65ec58cda7 Code: f0 ff ff 73 01 c3 48 8b 0d 7e 90 0d 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 b8 57 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 51 90 0d 00 f7 d8 64 89 01 48 RSP: 002b:00007ffcb82da928 EFLAGS: 00000202 ORIG_RAX: 0000000000000057 RAX: ffffffffffffffda RBX: 000055c9f2a08120 RCX: 00007f65ec58cda7 RDX: 0000000000000000 RSI: 000055c9fa8fd553 RDI: 00007ffcb82da938 RBP: 00007ffcb82da938 R08: 0000000000000000 R09: f72870ba199b2449 R10: 0000000000000010 R11: 0000000000000202 R12: 000055c9fa921540 R13: 000000000aba9500 R14: 0000000003938700 R15: 000055c9f2a08160