------------[ cut here ]------------ refcount_t: saturated; leaking memory. WARNING: lib/refcount.c:22 at refcount_warn_saturate+0x9d/0x130 lib/refcount.c:22, CPU#3: syz.5.2296/14184 Modules linked in: CPU: 3 UID: 0 PID: 14184 Comm: syz.5.2296 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: 0a fd 48 8d 3d 64 cb e5 0b 67 48 0f b9 3a e8 9a 9b 0a fd 5b 5d e9 93 fd 99 06 85 ed 74 3a e8 8a 9b 0a fd 48 8d 3d 53 cb e5 0b <67> 48 0f b9 3a e8 79 9b 0a fd 5b 5d c3 cc cc cc cc e8 6d 9b 0a fd RSP: 0018:ffffc9000fbc78c0 EFLAGS: 00010287 RAX: 0000000000006e27 RBX: ffff88802e1b7210 RCX: ffffc9000d182000 RDX: 0000000000080000 RSI: ffffffff84fee3d6 RDI: ffffffff90e4af30 RBP: 0000000000000001 R08: 0000000000000005 R09: 0000000000000004 R10: 0000000000000001 R11: 0000000000000000 R12: ffff8880255436c0 R13: ffffffff9b654b80 R14: ffff88802ea11f70 R15: ffff88802e1b7210 FS: 00007fea0385c6c0(0000) GS:ffff8880d6623000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fea02986480 CR3: 0000000023831000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 00000000e88e00b2 DR2: 0000000000000000 DR3: 0000000000000000 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:1079 do_open fs/namei.c:4700 [inline] path_openat+0x2873/0x4280 fs/namei.c:4859 do_file_open+0x20e/0x430 fs/namei.c:4888 do_sys_openat2+0x10f/0x1e0 fs/open.c:1395 do_sys_open fs/open.c:1401 [inline] __do_sys_openat fs/open.c:1417 [inline] __se_sys_openat fs/open.c:1412 [inline] __x64_sys_openat+0x12d/0x210 fs/open.c:1412 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x115/0x870 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fea0295d68e Code: 08 0f 85 a5 a8 ff ff 49 89 fb 48 89 f0 48 89 d7 48 89 ce 4c 89 c2 4d 89 ca 4c 8b 44 24 08 4c 8b 4c 24 10 4c 89 5c 24 08 0f 05 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 80 00 00 00 00 48 83 ec 08 RSP: 002b:00007fea0385bb28 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007fea0385c6c0 RCX: 00007fea0295d68e RDX: 0000000000000400 RSI: 00007fea0385bc00 RDI: ffffffffffffff9c RBP: 00007fea0385bc00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: cccccccccccccccd R13: 00007fea02c16038 R14: 00007fea02c15fa0 R15: 00007fff0832ccd8 ---------------- Code disassembly (best guess): 0: 0a fd or %ch,%bh 2: 48 8d 3d 64 cb e5 0b lea 0xbe5cb64(%rip),%rdi # 0xbe5cb6d 9: 67 48 0f b9 3a ud1 (%edx),%rdi e: e8 9a 9b 0a fd call 0xfd0a9bad 13: 5b pop %rbx 14: 5d pop %rbp 15: e9 93 fd 99 06 jmp 0x699fdad 1a: 85 ed test %ebp,%ebp 1c: 74 3a je 0x58 1e: e8 8a 9b 0a fd call 0xfd0a9bad 23: 48 8d 3d 53 cb e5 0b lea 0xbe5cb53(%rip),%rdi # 0xbe5cb7d * 2a: 67 48 0f b9 3a ud1 (%edx),%rdi <-- trapping instruction 2f: e8 79 9b 0a fd call 0xfd0a9bad 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 6d 9b 0a fd call 0xfd0a9bad