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.


