Skip to main content
Mallory
← Back to News
widely-deployed-product-advisoryendpoint-software-vulnerability

Linux Force-Feedback Driver Use-After-Free Fixed in Ubuntu Kernel Updates

Patch & Detection Intelligence · 7 sources · Updated 3mo ago · First seen Mar 2, 2020

Linux Force-Feedback Driver Use-After-Free Fixed in Ubuntu Kernel Updates

Ubuntu released kernel and Hardware Enablement (HWE) updates for Ubuntu 18.04 LTS, including Azure kernel packages, to remediate CVE-2019-19524 and numerous other kernel vulnerabilities. CVE-2019-19524 affects the force-feedback memless input driver in drivers/input/ff-memless.c before Linux kernel 5.3.12; a malicious USB device could trigger a use-after-free condition, potentially causing denial of service or code execution.

The upstream fix, commit fa3a5a1880c91bb92594ad42dfe9eedad7996b86, synchronously deletes the driver's ml->timer during device destruction so it cannot remain active after the input device is removed. Ubuntu's related advisories also address flaws in SMB/CIFS, wireless, USB, network, Binder IPC, tracing, and other drivers, with impacts including kernel-memory disclosure, crashes, arbitrary-file overwrite, and potential arbitrary code execution; affected systems should install the applicable standard, HWE, or Azure kernel updates.

Patch this, or something else?See real exploitation activity before you spend the cycle.
Triage this advisory
Event timeline

How this story unfolded

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

5 events · Nov 15, 2019 – Mar 2, 2020
  1. Reported Jan 1, 202611mo ago

    Distributions release kernel security updates for CVE-2019-19524

    Ubuntu issued kernel updates through USN-4225, USN-4226, USN-4227, and USN-4228, including HWE and Azure-related updates, to address CVE-2019-19524 and other kernel flaws. openSUSE, Slackware, and Debian LTS also issued related security advisories.

    CVE Record: CVE-2019-19524
  2. Mar 2, 20207y ago

    CVE-2019-19524 record is updated

    The CVE record for CVE-2019-19524 was updated, retaining references to the upstream fix and downstream distribution advisories.

    CVE Record: CVE-2019-19524
  3. Dec 3, 20197y ago

    CVE-2019-19524 is published

    CVE-2019-19524 was published for a use-after-free vulnerability in Linux's drivers/input/ff-memless.c, affecting kernels before version 5.3.12. A malicious USB device can trigger the flaw, potentially causing a crash or arbitrary code execution.

    CVE Record: CVE-2019-19524
  4. Nov 15, 20197y ago

    Linux patches ff-memless timer use-after-free

    Oliver Neukum authored Linux commit fa3a5a1880c91bb92594ad42dfe9eedad7996b86, adding del_timer_sync() to ml_ff_destroy() so the memless driver timer is stopped before its private state is freed. Dmitry Torokhov committed the patch, which was marked for stable-kernel consideration.

    Input: ff-memless - kill timer in destroy() - kernel/git/torvalds/linux.git - Linux kernel source tree
  5. Reported Nov 15, 20197y ago

    syzbot reports ff-memless timer teardown flaw

    syzbot reported and tested an issue in the Linux force-feedback memless input driver where an active timer could access freed state after device teardown.

    Input: ff-memless - kill timer in destroy() - 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 →

Affected products

2 linked
Ubuntu LinuxLinux Kernel
Do you run this?See real exploitation activity behind this advisory so you can triage it against everything else in the queue.
Prioritize This Patch
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.