High · published September 15, 2025
In the Linux kernel, the following vulnerability has been resolved:
media: dvbdev: adopts refcnt to avoid UAF
dvb_unregister_device() is known that prone to use-after-free.
That is, the cleanup from dvb_unregister_device() releases the dvb_device
even if there are pointers stored in file->private_data still refer to it.
This patch adds a reference counter into struct dvb_device and delays its
deallocation until no pointer refers to the object.
| Product | Versions | Fixed in |
|---|---|---|
| linux/linux_kernel | < 4.14.303 | 4.14.303 |
| linux/linux_kernel | ≥ 4.15, < 4.19.270 | 4.19.270 |
| linux/linux_kernel | ≥ 4.20, < 5.4.229 | 5.4.229 |
| linux/linux_kernel | ≥ 5.5, < 5.10.163 | 5.10.163 |
| linux/linux_kernel | ≥ 5.11, < 5.15.86 | 5.15.86 |
| linux/linux_kernel | ≥ 5.16, < 6.0.16 | 6.0.16 |
| linux/linux_kernel | ≥ 6.1, < 6.1.2 | 6.1.2 |