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

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.
Why it matters
Impact assessment
Ubuntu systems using affected Linux kernel packages are exposed to a set of kernel-level flaws, principally Ubuntu 18.04 LTS standard and HWE deployments and Azure kernel packages referenced by USN-4225 through USN-4228. The force-feedback issue, CVE-2019-19524, requires physical proximity and a malicious USB/input device, but could cause a host crash or potentially kernel-level code execution; other bundled fixes include local, wireless-proximity, USB, and malicious-SMB-server attack paths.
- Severity: high operational consequence where exploitation succeeds, including kernel crashes, memory exhaustion, kernel-memory disclosure, arbitrary-file overwrite, and potential arbitrary code execution.
- Exposure scope: limited by prerequisites for many individual flaws, such as local code execution, attachment of a malicious peripheral, wireless proximity, or mounting/using an attacker-controlled SMB server. Exposure is broader for organizations operating the affected Ubuntu releases with unpatched kernels.
- Most consequential bundled issue: CVE-2019-10220 permits an attacker controlling an SMB server to overwrite arbitrary files through unsanitized CIFS paths.
- Exploitation status: the supplied references do not report exploitation in the wild or publish campaign-specific indicators.
- Operational consideration: these kernel packages introduce an ABI change. Third-party kernel modules must be rebuilt and reinstalled, and hosts require a reboot into the updated kernel to complete remediation.


