Linux DVB Core Use-After-Free Could Enable Local Privilege Escalation
Attack Tradecraft · 4 sources · Updated 3mo ago · First seen May 16, 2023

CVE-2022-41218 is a medium-severity use-after-free flaw in the Linux kernel's dvb-core subsystem, affecting Digital Video Broadcasting devices. A local low-privileged attacker could race malicious code against removal of a USB DVB demultiplexer or similar device, causing freed memory in drivers/media/dvb-core/dmxdev.c to be accessed. Successful exploitation could crash the host or potentially elevate privileges, although Red Hat rated the issue CVSS 5.5 because physical device removal and a difficult-to-win race condition are required.
Kernel developers identified related DVB frontend, network, and device-registration races involving concurrent open, close, and USB-disconnect operations; KASAN reproduced the use-after-free conditions on Linux 6.1.0-rc2 and later. Fedora shipped a fix in kernel 6.0.18 stable updates, while Red Hat remediated affected RHEL 8 kernel and kernel-rt packages through RHSA-2023:2736 and RHSA-2023:2951, with subsequent coverage for RHEL 8.6 EUS and Red Hat Virtualization 4. Organizations unable to patch can mitigate exposure by preventing the dvb-core module from loading; RHEL 9 kernel-rt was marked will not fix.


