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.


