------------[ cut here ]------------ refcount_t: decrement hit 0; leaking memory. WARNING: CPU: 1 PID: 6179 at lib/refcount.c:31 refcount_warn_saturate+0x16d/0x1a0 lib/refcount.c:31 Modules linked in: CPU: 1 PID: 6179 Comm: syz.1.831 Not tainted 6.1.99-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 RIP: 0010:refcount_warn_saturate+0x16d/0x1a0 lib/refcount.c:31 Code: c7 c7 c0 0b 3d 8b e8 42 11 1a fd 0f 0b e9 6e ff ff ff e8 a6 16 52 fd c6 05 44 08 27 0a 01 48 c7 c7 20 0c 3d 8b e8 23 11 1a fd <0f> 0b e9 4f ff ff ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c b2 fe ff RSP: 0018:ffffc9000b137b28 EFLAGS: 00010246 RAX: a6fbcb3432142100 RBX: 0000000000000004 RCX: ffff888021a21dc0 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: 0000000000000004 R08: ffffffff8152936e R09: fffff52001626f05 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888021ebe5b8 R13: 0000000000000000 R14: ffff888021ebe5fc R15: dffffc0000000000 FS: 000055555648f500(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5e46d04030 CR3: 000000005f875000 CR4: 00000000003526e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __refcount_dec include/linux/refcount.h:344 [inline] refcount_dec include/linux/refcount.h:359 [inline] ref_tracker_free+0x6a0/0x7d0 lib/ref_tracker.c:118 netdev_tracker_free include/linux/netdevice.h:4028 [inline] netdev_put include/linux/netdevice.h:4045 [inline] ax25_release+0x3ef/0x940 net/ax25/af_ax25.c:1069 __sock_release net/socket.c:654 [inline] sock_close+0xcd/0x230 net/socket.c:1400 __fput+0x3f6/0x8d0 fs/file_table.c:320 task_work_run+0x246/0x300 kernel/task_work.c:179 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0xde/0x100 kernel/entry/common.c:177 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:210 __syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline] syscall_exit_to_user_mode+0x60/0x270 kernel/entry/common.c:303 do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:87 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7fd038f75bd9 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:00007ffdc3cc5d28 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 0000000000027edc RCX: 00007fd038f75bd9 RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003 RBP: ffffffffffffffff R08: 0000000000000001 R09: 00000003c3cc604f R10: 00007fd038c00000 R11: 0000000000000246 R12: 00007fd039103f6c R13: 0000000000000032 R14: 00007fd039105a60 R15: 00007fd039103f60