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

Linux TTUSB-DEC Driver Memory Leak Enables Local Denial of Service

Vulnerability Disclosure · 3 sources · Updated 3mo ago · First seen Nov 14, 2023

Linux TTUSB-DEC Driver Memory Leak Enables Local Denial of Service

CVE-2022-45887 is a memory-leak flaw in the Linux kernel's TTUSB-DEC USB media driver, caused by ttusb_dec_exit_dvb() unregistering a DVB frontend without calling dvb_frontend_detach(). A local low-privileged user who can repeatedly connect and disconnect an affected device could exhaust kernel memory and cause a denial of service. The issue affects kernel versions through 6.0.9 and is classified as CWE-401; Red Hat rates it Moderate with a CVSS v3.1 score of 4.7.

Upstream corrected the cleanup path in commit 517a28133832 by using dvb_frontend_detach(dec->fe), allowing the frontend to be freed properly; Fedora received the fix in stable kernel 6.3.7. Red Hat issued fixes for affected RHEL 8 kernel variants, including 8.6 and 8.8 Extended Update Support, and relevant Red Hat Virtualization 4 deployments; RHEL 9 is unaffected. Organizations unable to patch can reduce exposure by blacklisting the ttusb_dec kernel module.

Do you run this?See affected versions and whether adversaries are exploiting it.
Check your exposure
Event timeline

How this story unfolded

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

6 events · Nov 15, 2022 – Nov 14, 2023
  1. Reported Nov 15, 20233y ago

    Upstream Linux and Fedora incorporate TTUSB-DEC fix

    The upstream Linux kernel incorporated the fix as commit 517a28133832, with the issue fixed in kernel 6.4-rc3; Fedora also fixed it in stable kernel version 6.3.7.

    2148520 - (CVE-2022-45887) CVE-2022-45887 kernel: memory leak in ttusb_dec_exit_dvb() in media/usb/ttusb-dec/ttusb_dec.c
  2. Reported Nov 14, 20233y ago

    Red Hat fixes RHEL 8.8 EUS kernel

    Red Hat issued RHSA-2024:1404 to address CVE-2022-45887 in the Red Hat Enterprise Linux 8.8 Extended Update Support kernel.

    CVE-2022-45887 - Red Hat Customer Portal
  3. Reported Nov 14, 20233y ago

    Red Hat fixes RHEL 8.6 EUS and Virtualization 4

    Red Hat issued RHSA-2024:0724 to fix CVE-2022-45887 in the RHEL 8.6 Extended Update Support kernel and Red Hat Virtualization 4 for RHEL 8.

    CVE-2022-45887 - Red Hat Customer Portal
  4. Nov 14, 20233y ago

    Red Hat releases RHEL 8 kernel fixes

    Red Hat issued RHSA-2023:6901 for RHEL 8 kernel-rt and RHSA-2023:7077 for the RHEL 8 kernel to address CVE-2022-45887.

    CVE-2022-45887 - Red Hat Customer Portal
  5. Nov 25, 20224y ago

    CVE-2022-45887 reported to Red Hat

    Guilherme de Almeida Suckevicz reported the TTUSB-DEC driver memory-leak issue, later tracked as CVE-2022-45887.

    2148520 - (CVE-2022-45887) CVE-2022-45887 kernel: memory leak in ttusb_dec_exit_dvb() in media/usb/ttusb-dec/ttusb_dec.c
  6. Nov 15, 20224y ago

    TTUSB-DEC memory-leak fix patch submitted

    Hyunwoo Kim submitted a Linux kernel patch that changes the TTUSB-DEC driver's disconnect cleanup to call dvb_frontend_detach(), preventing the memory leak caused by repeated device connections and disconnections.

    [PATCH 4/4] media: ttusb-dec: Fix memory leak in ttusb_dec_exit_dvb() - imv4bel
Linked entities

Related entities

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

Open in app →

Affected products

1 linked
Linux Kernel
Do you run this?See whether adversaries are exploiting this yet, and where the affected versions run in your environment.
Check Your Exposure
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.