syzbot


WARNING: refcount bug in dvb_device_open (2)

Status: upstream: reported on 2026/06/26 07:08
Reported-by: syzbot+68717bd846dc91d211da@syzkaller.appspotmail.com
First crash: 8h16m, last: 8h16m
Similar bugs (5)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 WARNING: refcount bug in dvb_device_open 13 1 137d 137d 0/3 auto-obsoleted due to no activity on 2026/05/20 03:53
upstream WARNING: refcount bug in dvb_device_open (2) media 13 1 238d 234d 0/29 auto-obsoleted due to no activity on 2026/01/28 21:06
upstream WARNING: refcount bug in dvb_device_open media 13 1 440d 436d 0/29 auto-obsoleted due to no activity on 2025/07/21 00:17
linux-6.1 WARNING: refcount bug in dvb_device_open 13 3 37d 46d 0/3 upstream: reported on 2026/05/11 11:02
upstream WARNING: refcount bug in dvb_device_open (3) prio:high media 13 17 3d14h 128d 0/29 upstream: reported on 2026/02/17 16:08

Sample crash report:
------------[ cut here ]------------
refcount_t: saturated; leaking memory.
WARNING: CPU: 1 PID: 12066 at lib/refcount.c:22 refcount_warn_saturate+0x153/0x1a0 lib/refcount.c:22
Modules linked in:
CPU: 1 PID: 12066 Comm: syz.0.2204 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/2026
RIP: 0010:refcount_warn_saturate+0x153/0x1a0 lib/refcount.c:22
Code: 09 01 48 c7 c7 80 8a 79 8a e8 e9 1f cc 05 0f 0b eb 8c e8 b0 28 96 fd c6 05 56 6d 93 09 01 48 c7 c7 80 8a 79 8a e8 cd 1f cc 05 <0f> 0b e9 6d ff ff ff e8 91 28 96 fd c6 05 3b 6d 93 09 01 48 c7 c7
RSP: 0018:ffffc90002ebf7d8 EFLAGS: 00010246
RAX: b44ee884af1b4a00 RBX: 0000000000000001 RCX: 0000000000080000
RDX: ffffc9000fe3f000 RSI: 0000000000002f48 RDI: 0000000000002f49
RBP: 0000000081090680 R08: ffffc90002ebf307 R09: 1ffff920005d7e60
R10: dffffc0000000000 R11: fffff520005d7e61 R12: ffff88802a242618
R13: ffffc90002f3fc60 R14: 0000000000000001 R15: ffff88802a242600
FS:  00007f15b9ddd6c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f15b99bc000 CR3: 000000001f590000 CR4: 00000000003526e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 __refcount_add include/linux/refcount.h:-1 [inline]
 __refcount_inc include/linux/refcount.h:250 [inline]
 refcount_inc include/linux/refcount.h:267 [inline]
 kref_get include/linux/kref.h:45 [inline]
 dvb_device_get drivers/media/dvb-core/dvbdev.c:641 [inline]
 dvb_device_open+0x31b/0x360 drivers/media/dvb-core/dvbdev.c:116
 chrdev_open+0x585/0x5f0 fs/char_dev.c:414
 do_dentry_open+0x7f7/0xf90 fs/open.c:826
 do_open fs/namei.c:3616 [inline]
 path_openat+0x2718/0x2fb0 fs/namei.c:3750
 do_filp_open+0x1df/0x400 fs/namei.c:3777
 do_sys_openat2+0x14b/0x500 fs/open.c:1255
 do_sys_open fs/open.c:1271 [inline]
 __do_sys_openat fs/open.c:1287 [inline]
 __se_sys_openat fs/open.c:1282 [inline]
 __x64_sys_openat+0x135/0x160 fs/open.c:1282
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f15bbb8668e
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 <c3> 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 80 00 00 00 00 48 83 ec 08
RSP: 002b:00007f15b9ddcb28 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007f15b9ddd6c0 RCX: 00007f15bbb8668e
RDX: 0000000000000002 RSI: 00007f15b9ddcc00 RDI: ffffffffffffff9c
RBP: 00007f15b9ddcc00 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: cccccccccccccccd
R13: 00007f15bbe3f218 R14: 00007f15bbe3f180 R15: 00007fff584b7c08
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/06/26 07:07 linux-5.15.y eceeec79dbc6 7ff32d8b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: refcount bug in dvb_device_open
* Struck through repros no longer work on HEAD.