Linux TTUSB-DEC Driver Memory Leak Enables Local Denial of Service
Vulnerability Disclosure · 3 sources · Updated 3mo ago · First seen Nov 14, 2023

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.
Why it matters
Impact assessment
CVE-2022-45887 enables a local, low-privileged user to exhaust kernel memory and deny service on Linux systems that load the TTUSB-DEC USB media driver and can access an affected TTUSB-DEC device. The impact is limited to availability; published scoring identifies no confidentiality or integrity impact.
- Affected populations: Linux endpoints, workstations, media systems, and virtualized environments running affected kernels with the
ttusb_decmodule loaded or loadable. - Business impact: repeated device disconnect/reconnect activity can degrade system stability or force a kernel-memory-exhaustion outage, disrupting local workloads and services hosted on the system.
- Exposure scope: narrow rather than widespread. Exploitation requires local access, low privileges, and physical or otherwise authorized access to a supported TTUSB-DEC USB device; attack complexity is high.
- Known exploitation: the supplied sources do not report exploitation in the wild.
- Red Hat scope: RHEL 8 kernel and kernel-rt, RHEL 8.6 EUS, RHEL 8.8 EUS, and relevant Red Hat Virtualization 4 on RHEL 8 were affected. RHEL 9 kernel and kernel-rt are not affected. RHEL 6 and 7 are out of support scope and require explicit validation.
Structured facts
- Vulnerability: CVE-2022-45887
- Weakness: CWE-401, Missing Release of Memory after Effective Lifetime
- Impact: local denial of service through kernel-memory exhaustion
- CVSS: 4.7 Moderate,
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H


