CVE-2023-52918
kernel: media: pci: cx23885: check cx23885_vdev_init() return
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · October 22, 2024
Updated · September 14, 2026
Description
A flaw was found in the Linux kernel's cx23885 media driver. A local attacker could trigger a null pointer dereference by causing the cx23885_vdev_init() function to return a null value that is subsequently used without validation. This vulnerability could lead to a system crash, resulting in a denial of service.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
To mitigate this issue, prevent the cx23885 kernel module from loading if the associated PCI media hardware is not required. This can be achieved by creating a blacklist rule.
- Create a file
/etc/modprobe.d/blacklist-cx23885.confwith the following content:blacklist cx23885 - Rebuild the initial ramdisk:
or for older systems:dracut -f -vmkinitrd -f -v - Reboot the system for the changes to take effect.
This mitigation may impact functionality if the cx23885 media device is actively used.
CVSS / CWE
CVSS 3.1 · 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE-476 · NULL Pointer Dereference