Skip to main content
Mallory
← Back to News
embedded-device-vulnerabilitywidely-deployed-product-advisory

Linux TTUSB-DEC Driver Leaks Uninitialized Kernel Memory to USB Devices

Vulnerability Disclosure · 2 sources · Updated 3mo ago · First seen Dec 3, 2019

Linux TTUSB-DEC Driver Leaks Uninitialized Kernel Memory to USB Devices

CVE-2019-19533 is an information-disclosure vulnerability in the Linux kernel's ttusb-dec USB media driver. A malicious USB device could trigger ttusb_dec_send_command() to transmit uninitialized kernel memory because the driver allocated its command buffer with kmalloc() and did not initialize every byte before passing it to usb_bulk_msg().

The affected code is in drivers/media/usb/ttusb-dec/ttusb_dec.c and impacts Linux kernels before version 5.3.4. Upstream commit a10feaf8c464 remediates the issue by replacing kmalloc() with zero-initializing kzalloc(), preventing residual kernel-memory contents from being sent to the connected USB device.

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.

3 events · Jul 31, 2019 – Dec 3, 2019
  1. Dec 3, 20197y ago

    CVE-2019-19533 published

    CVE-2019-19533 was published for an information-disclosure vulnerability in the Linux ttusb-dec USB media driver affecting kernel versions before 5.3.4. A malicious USB device could trigger disclosure of residual kernel memory.

    CVE Record: CVE-2019-19533
  2. Reported Jul 31, 20197y ago

    Linux kernel commits TTUSB-DEC information-leak fix

    Mauro Carvalho Chehab committed the fix as a10feaf8c464c3f9cfdd3a8a7ce17e1c0d498da1, addressing uninitialized command-buffer bytes in the TTUSB-DEC media driver.

    media: ttusb-dec: Fix info-leak in ttusb_dec_send_command() - kernel/git/torvalds/linux.git - Linux kernel source tree
  3. Jul 31, 20197y ago

    TTUSB-DEC information-leak patch authored

    Tomas Bortoli authored a patch replacing kmalloc() with zero-initializing kzalloc() in ttusb_dec_send_command(), preventing uninitialized kernel memory from being sent to a USB device. The issue had been reported by syzbot.

    media: ttusb-dec: Fix info-leak in ttusb_dec_send_command() - kernel/git/torvalds/linux.git - Linux kernel source tree
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?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.