------------[ cut here ]------------ refcount_t: saturated; leaking memory. WARNING: lib/refcount.c:22 at refcount_warn_saturate+0x9d/0x130 lib/refcount.c:22, CPU#2: syz.6.6330/29718 Modules linked in: CPU: 2 UID: 0 PID: 29718 Comm: syz.6.6330 Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 RIP: 0010:refcount_warn_saturate+0x9d/0x130 lib/refcount.c:22 Code: ee fc 48 8d 3d 24 79 12 0c 67 48 0f b9 3a e8 aa 0e ee fc 5b 5d e9 43 67 9f 06 85 ed 74 3a e8 9a 0e ee fc 48 8d 3d 13 79 12 0c <67> 48 0f b9 3a e8 89 0e ee fc 5b 5d c3 cc cc cc cc e8 7d 0e ee fc RSP: 0000:ffffc900031778c0 EFLAGS: 00010202 RAX: 0000000000000003 RBX: ffff888029606410 RCX: ffffffff851b19eb RDX: ffff88804dfb0000 RSI: ffffffff851b1a26 RDI: ffffffff912d9340 RBP: 0000000000000001 R08: 0000000000000005 R09: 0000000000000004 R10: 0000000000000001 R11: 0000000000001b00 R12: ffff8880140cf500 R13: ffffffff9bb91920 R14: ffff8880286f9968 R15: ffff888029606410 FS: 0000000000000000(0000) GS:ffff888096ded000(0063) knlGS:00000000f5496b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00000000f72be853 CR3: 000000004c1bf000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 000000000000000e DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: __refcount_add include/linux/refcount.h:291 [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+0x2ed/0x3b0 drivers/media/dvb-core/dvbdev.c:106 chrdev_open+0x234/0x6a0 fs/char_dev.c:411 do_dentry_open+0x6ab/0x14d0 fs/open.c:947 vfs_open+0x82/0x3f0 fs/open.c:1052 do_open fs/namei.c:4700 [inline] path_openat+0x2873/0x4280 fs/namei.c:4863 do_file_open+0x20e/0x430 fs/namei.c:4892 do_sys_openat2+0x10f/0x1e0 fs/open.c:1368 do_sys_open fs/open.c:1374 [inline] __do_compat_sys_openat fs/open.c:1436 [inline] __se_compat_sys_openat fs/open.c:1434 [inline] __ia32_compat_sys_openat+0x12d/0x210 fs/open.c:1434 do_syscall_32_irqs_on arch/x86/entry/syscall_32.c:83 [inline] do_int80_emulation+0x14b/0x720 arch/x86/entry/syscall_32.c:172 asm_int80_emulation+0x1a/0x20 arch/x86/include/asm/idtentry.h:598 RIP: 0023:0xf71d72eb 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:00000000f549603c EFLAGS: 00000246 ORIG_RAX: 0000000000000127 RAX: ffffffffffffffda RBX: 00000000ffffff9c RCX: 00000000f5496100 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000292 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 ---------------- Code disassembly (best guess): 0: ee out %al,(%dx) 1: fc cld 2: 48 8d 3d 24 79 12 0c lea 0xc127924(%rip),%rdi # 0xc12792d 9: 67 48 0f b9 3a ud1 (%edx),%rdi e: e8 aa 0e ee fc call 0xfcee0ebd 13: 5b pop %rbx 14: 5d pop %rbp 15: e9 43 67 9f 06 jmp 0x69f675d 1a: 85 ed test %ebp,%ebp 1c: 74 3a je 0x58 1e: e8 9a 0e ee fc call 0xfcee0ebd 23: 48 8d 3d 13 79 12 0c lea 0xc127913(%rip),%rdi # 0xc12793d * 2a: 67 48 0f b9 3a ud1 (%edx),%rdi <-- trapping instruction 2f: e8 89 0e ee fc call 0xfcee0ebd 34: 5b pop %rbx 35: 5d pop %rbp 36: c3 ret 37: cc int3 38: cc int3 39: cc int3 3a: cc int3 3b: e8 7d 0e ee fc call 0xfcee0ebd