------------[ cut here ]------------ refcount_t: decrement hit 0; leaking memory. WARNING: CPU: 1 PID: 5829 at lib/refcount.c:31 refcount_warn_saturate+0x1ed/0x210 lib/refcount.c:31 Modules linked in: CPU: 1 PID: 5829 Comm: syz-executor.0 Not tainted 6.9.0-rc4-syzkaller-00113-g2668e3ae2ef3 #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 37 a4 d0 fc 90 0f 0b 90 90 e9 c3 fe ff ff e8 98 35 0e fd c6 05 e5 3b 09 0b 01 90 48 c7 c7 40 f4 6e 8b e8 14 a4 d0 fc 90 <0f> 0b 90 90 e9 a0 fe ff ff 48 89 ef e8 02 59 69 fd e9 44 fe ff ff RSP: 0018:ffffc900038d7908 EFLAGS: 00010282 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffc90003bf1000 RDX: 0000000000040000 RSI: ffffffff81503356 RDI: 0000000000000001 RBP: ffff88804c34813c R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffff88804c34813c R13: 0000000000000000 R14: 000000000024038c R15: ffff888017a302d8 FS: 00007fc5ea9806c0(0000) GS:ffff88806b300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b30b21000 CR3: 0000000047530000 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_page+0x33/0x3c0 mm/page_alloc.c:2487 vfree+0x181/0x7a0 mm/vmalloc.c:3340 kvfree+0x33/0x50 mm/util.c:678 btf_free+0x2f4/0x3c0 kernel/bpf/btf.c:1737 btf_parse kernel/bpf/btf.c:5641 [inline] btf_new_fd+0x686/0x2dd0 kernel/bpf/btf.c:7461 bpf_btf_load kernel/bpf/syscall.c:4991 [inline] __sys_bpf+0x12c0/0x4b40 kernel/bpf/syscall.c:5705 __do_sys_bpf kernel/bpf/syscall.c:5767 [inline] __se_sys_bpf kernel/bpf/syscall.c:5765 [inline] __x64_sys_bpf+0x78/0xc0 kernel/bpf/syscall.c:5765 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcf/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fc5e9c7dea9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fc5ea9800c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007fc5e9dabf80 RCX: 00007fc5e9c7dea9 RDX: 0000000000000020 RSI: 0000000020000280 RDI: 0000000000000012 RBP: 00007fc5e9cca4a4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fc5e9dabf80 R15: 00007ffe3759f8a8