Skip to main content
Mallory
← Back to News
privilege-escalation-techniqueembedded-device-vulnerabilitywidely-deployed-product-advisory

Linux DVB Core Use-After-Free Could Enable Local Privilege Escalation

Attack Tradecraft · 4 sources · Updated 3mo ago · First seen May 16, 2023

Linux DVB Core Use-After-Free Could Enable Local Privilege Escalation

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.

Who uses this technique?Get the actors, campaigns, and ATT&CK mapping behind it.
Get the tradecraft
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

6 events · Aug 31, 2022 – May 16, 2023
  1. Reported May 16, 20234y ago

    Red Hat extends CVE-2022-41218 fixes to RHEL 8.6 EUS and RHV 4

    RHSA-2024:0412 fixed the vulnerability for the RHEL 8.6 Extended Update Support kernel and Red Hat Virtualization 4 on RHEL 8.

    2122960 - (CVE-2022-41218) CVE-2022-41218 kernel: Report vmalloc UAF in dvb-core/dmxdev
  2. May 16, 20234y ago

    Red Hat releases RHEL 8 fixes for CVE-2022-41218

    Red Hat fixed affected RHEL 8 kernel-rt packages through RHSA-2023:2736 and RHEL 8 kernel packages through RHSA-2023:2951. Red Hat also closed its tracking bug for the vulnerability.

    2122960 - (CVE-2022-41218) CVE-2022-41218 kernel: Report vmalloc UAF in dvb-core/dmxdev
  3. Nov 15, 20224y ago

    Four-patch DVB race-condition fix series submitted

    Hyunwoo Kim submitted a four-patch Linux kernel series to fix multiple race-condition use-after-free issues in DVB core components and a memory leak in the ttusb-dec USB driver. The author said most patches resembled an earlier security patch for CVE-2022-41218.

    [PATCH 0/4] Fix multiple race condition vulnerabilities in dvb-core and device driver - imv4bel
  4. Sep 23, 20224y ago

    CVE-2022-41218 published

    CVE-2022-41218 was published as a moderate use-after-free vulnerability in the Linux kernel dvb-core subsystem, with potential for system crashes or local privilege escalation.

    CVE-2022-41218 - Red Hat Customer Portal
  5. Sep 8, 20224y ago

    Linux kernel patch for DVB use-after-free referenced

    A patch addressing the issue was referenced in a Linux kernel mailing-list post.

    2122960 - (CVE-2022-41218) CVE-2022-41218 kernel: Report vmalloc UAF in dvb-core/dmxdev
  6. Aug 31, 20224y ago

    CVE-2022-41218 reported in Linux DVB core

    A use-after-free race condition affecting the Linux kernel's DVB core demultiplexer handling was reported. Exploitation requires local malicious code execution alongside physical removal of a USB DVB device.

    2122960 - (CVE-2022-41218) CVE-2022-41218 kernel: Report vmalloc UAF in dvb-core/dmxdev
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

Open in app →

Affected products

2 linked
Linux KernelRed Hat Enterprise Linux
Do you run this?Get the adversaries, campaigns, and ATT&CK mapping behind this technique, with detections ready to deploy.
See Who Uses This Technique
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.