------------[ cut here ]------------ refcount_t: addition on 0; use-after-free. WARNING: lib/refcount.c:25 at refcount_warn_saturate+0x9f/0x110 lib/refcount.c:25, CPU#1: syz.5.6207/27847 Modules linked in: CPU: 1 UID: 0 PID: 27847 Comm: syz.5.6207 Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 RIP: 0010:refcount_warn_saturate+0x9f/0x110 lib/refcount.c:25 Code: eb 66 85 db 74 3e 83 fb 01 75 4c e8 4b cb f2 fc 48 8d 3d d4 b1 8e 0b 67 48 0f b9 3a eb 4a e8 38 cb f2 fc 48 8d 3d d1 b1 8e 0b <67> 48 0f b9 3a eb 37 e8 25 cb f2 fc 48 8d 3d ce b1 8e 0b 67 48 0f RSP: 0000:ffffc90003aff8d8 EFLAGS: 00010283 RAX: ffffffff84d43798 RBX: 0000000000000002 RCX: 0000000000080000 RDX: ffffc9000ec51000 RSI: 00000000000004b4 RDI: ffffffff9062e970 RBP: 0000000000000000 R08: ffff88801fb85dc0 R09: 0000000000000005 R10: 0000000000000004 R11: 0000000000000002 R12: ffff88802b535e18 R13: ffff888074c9a810 R14: ffff88802b535e10 R15: ffff88802b535e00 FS: 0000000000000000(0000) GS:ffff888125045000(0063) knlGS:00000000f5435b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 000000000c28e0b2 CR3: 000000007b5be000 CR4: 00000000003526f0 DR0: 0000000000000013 DR1: 00000000000001f8 DR2: 0000000000000084 DR3: ffffffffefffff15 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: __refcount_add include/linux/refcount.h:-1 [inline] __refcount_inc include/linux/refcount.h:366 [inline] refcount_inc include/linux/refcount.h:383 [inline] kref_get include/linux/kref.h:45 [inline] dvb_device_get drivers/media/dvb-core/dvbdev.c:621 [inline] dvb_device_open+0x301/0x340 drivers/media/dvb-core/dvbdev.c:106 chrdev_open+0x4d9/0x600 fs/char_dev.c:411 do_dentry_open+0x816/0x1380 fs/open.c:996 vfs_open+0x3b/0x340 fs/open.c:1101 do_open fs/namei.c:4837 [inline] path_openat+0x1443/0x1d60 fs/namei.c:5000 do_file_open+0x23e/0x4a0 fs/namei.c:5029 do_sys_openat2+0x115/0x200 fs/open.c:1417 do_sys_open fs/open.c:1423 [inline] __do_compat_sys_openat fs/open.c:1485 [inline] __se_compat_sys_openat fs/open.c:1483 [inline] __ia32_compat_sys_openat+0x131/0x160 fs/open.c:1483 do_syscall_32_irqs_on arch/x86/entry/syscall_32.c:83 [inline] do_int80_emulation+0x19a/0x550 arch/x86/entry/syscall_32.c:172 asm_int80_emulation+0x1a/0x20 arch/x86/include/asm/idtentry.h:598 RIP: 0023:0xf71974eb Code: 57 56 53 8b 44 24 14 f6 00 08 75 23 8b 44 24 18 8b 5c 24 1c 8b 4c 24 20 8b 54 24 24 8b 74 24 28 8b 7c 24 2c 8b 6c 24 30 cd 80 <5b> 5e 5f 5d c3 5b 5e 5f 5d e9 f7 a1 ff ff 66 90 66 90 66 90 90 53 RSP: 002b:00000000f543503c EFLAGS: 00000246 ORIG_RAX: 0000000000000127 RAX: ffffffffffffffda RBX: 00000000ffffff9c RCX: 00000000f5435100 RDX: 0000000000040800 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 ---------------- Code disassembly (best guess): 0: eb 66 jmp 0x68 2: 85 db test %ebx,%ebx 4: 74 3e je 0x44 6: 83 fb 01 cmp $0x1,%ebx 9: 75 4c jne 0x57 b: e8 4b cb f2 fc call 0xfcf2cb5b 10: 48 8d 3d d4 b1 8e 0b lea 0xb8eb1d4(%rip),%rdi # 0xb8eb1eb 17: 67 48 0f b9 3a ud1 (%edx),%rdi 1c: eb 4a jmp 0x68 1e: e8 38 cb f2 fc call 0xfcf2cb5b 23: 48 8d 3d d1 b1 8e 0b lea 0xb8eb1d1(%rip),%rdi # 0xb8eb1fb * 2a: 67 48 0f b9 3a ud1 (%edx),%rdi <-- trapping instruction 2f: eb 37 jmp 0x68 31: e8 25 cb f2 fc call 0xfcf2cb5b 36: 48 8d 3d ce b1 8e 0b lea 0xb8eb1ce(%rip),%rdi # 0xb8eb20b 3d: 67 addr32 3e: 48 rex.W 3f: 0f .byte 0xf