Skip to main content
Mallory
← Back to News
privilege-escalation-techniqueendpoint-software-vulnerabilitywidely-deployed-product-advisoryprivilege-escalation-method

Linux DVB Core Use-After-Free Enables Local Privilege Escalation

Attack Tradecraft · 3 sources · Updated 3mo ago · First seen Nov 28, 2023

Linux DVB Core Use-After-Free Enables Local Privilege Escalation

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.

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.

5 events · Nov 15, 2022 – Nov 28, 2023
  1. Nov 28, 20233y ago

    Red Hat releases additional RHEL 8 fixes for CVE-2022-45886

    Red Hat released RHSA-2023:7548 and RHSA-2023:7549 for affected RHEL 8 kernel-rt and kernel packages, respectively, and RHSA-2023:7539 for RHEL 8.8 Extended Update Support. These errata addressed the DVB-core race-condition use-after-free vulnerability.

    CVE-2022-45886 - Red Hat Customer Portal
  2. Reported Nov 21, 20233y ago

    Fedora stable kernel 6.3.7 addresses CVE-2022-45886

    Fedora addressed CVE-2022-45886 in its stable kernel version 6.3.7.

    2148517 - (CVE-2022-45886) CVE-2022-45886 kernel: use-after-free due to race condition occurring in dvb_net.c
  3. Nov 21, 20233y ago

    Red Hat fixes RHEL 8.6 EUS kernel in RHSA-2023:7398

    Red Hat released RHSA-2023:7398 to address CVE-2022-45886 for the RHEL 8.6 Extended Update Support kernel. The advisory also provided a fixed kernel for Red Hat Virtualization 4 on RHEL 8.

    CVE-2022-45886 - Red Hat Customer Portal
  4. Nov 25, 20224y ago

    CVE-2022-45886 vulnerability reported

    Guilherme de Almeida Suckevicz reported the Linux kernel DVB networking use-after-free issue, later designated CVE-2022-45886. The flaw stems from a race between device disconnection and dvb_device_open().

    2148517 - (CVE-2022-45886) CVE-2022-45886 kernel: use-after-free due to race condition occurring in dvb_net.c
  5. Nov 15, 20224y ago

    Kernel patch proposed for DVB dvb_net race

    Hyunwoo Kim submitted a patch in a four-patch series to fix use-after-free conditions in the DVB core's dvb_net component. The proposed change added remove_mutex locking and rejected device opens with -ENODEV while removal was in progress.

    [PATCH 2/4] media: dvb-core: Fix use-after-free due to race condition occurring in dvb_net - imv4bel
Linked entities

Related entities

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

Open in app →
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.