Linux DVB Core Use-After-Free Enables Local Privilege Escalation
Attack Tradecraft · 3 sources · Updated 3mo ago · First seen Nov 28, 2023

CVE-2022-45886 is a Linux kernel use-after-free flaw in the DVB core networking component, drivers/media/dvb-core/dvb_net.c. A time-of-check/time-of-use race between DVB device disconnection and dvb_device_open() can let a low-privileged local attacker crash a vulnerable system or potentially elevate privileges. Exploitation requires access to DVB hardware—either physical access or an authenticated remote user able to predict the hardware's disconnect/reconnect timing.
The issue affects kernels through version 6.0.9 and was fixed upstream by serializing open, close, release, and removal operations with a remove_mutex; opens during device removal are rejected with -ENODEV. Red Hat rated the flaw Moderate with CVSS 7.0 and issued fixes for affected RHEL 8 kernel variants through November 2023; RHEL 9 and RHEL 9 real-time kernels are not affected. Organizations unable to patch can mitigate exposure by blacklisting the dvb-core kernel module.


