------------[ cut here ]------------ refcount_t: underflow; use-after-free. WARNING: CPU: 1 PID: 7047 at lib/refcount.c:28 refcount_warn_saturate+0x15a/0x1d0 lib/refcount.c:28 Modules linked in: CPU: 1 UID: 0 PID: 7047 Comm: kbnepd un Not tainted 6.13.0-rc1-syzkaller-00260-g860dbab69ad8 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:refcount_warn_saturate+0x15a/0x1d0 lib/refcount.c:28 Code: e0 1e 5f 8c e8 87 c5 95 fc 90 0f 0b 90 90 eb 99 e8 2b 1e d5 fc c6 05 2c 38 39 0b 01 90 48 c7 c7 40 1f 5f 8c e8 67 c5 95 fc 90 <0f> 0b 90 90 e9 76 ff ff ff e8 08 1e d5 fc c6 05 06 38 39 0b 01 90 RSP: 0018:ffffc9000453f7c0 EFLAGS: 00010246 RAX: efc767a288e49600 RBX: ffff88805f8d0478 RCX: ffff88802f815a00 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000003 R08: ffffffff81601c02 R09: fffffbfff1cfa210 R10: dffffc0000000000 R11: fffffbfff1cfa210 R12: ffff88805f8d0460 R13: 1ffff1100bf1a08c R14: ffff88805f8d0460 R15: ffffffff860b83e0 FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffc7f207fd8 CR3: 0000000027264000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __refcount_sub_and_test include/linux/refcount.h:275 [inline] __refcount_dec_and_test include/linux/refcount.h:307 [inline] refcount_dec_and_test include/linux/refcount.h:325 [inline] kref_put include/linux/kref.h:64 [inline] klist_dec_and_del+0x3ec/0x3f0 lib/klist.c:206 klist_put lib/klist.c:217 [inline] klist_del+0xa7/0x110 lib/klist.c:230 device_del+0x2c9/0x9b0 drivers/base/core.c:3831 unregister_netdevice_many_notify+0x1859/0x1da0 net/core/dev.c:11562 unregister_netdevice_many net/core/dev.c:11590 [inline] unregister_netdevice_queue+0x303/0x370 net/core/dev.c:11462 unregister_netdevice include/linux/netdevice.h:3232 [inline] unregister_netdev+0x1c/0x30 net/core/dev.c:11608 bnep_session+0x2e3c/0x3030 net/bluetooth/bnep/core.c:525 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