Executive brief
A vulnerability exists in the Linux kernel's multitouch input driver. Under specific low-memory conditions, the system may fail to properly handle input device naming, leading to a system crash (kernel panic). This could allow a local user to cause a denial-of-service, impacting the availability of the affected system.
Technical details
A NULL pointer dereference vulnerability exists in the mt_input_configured() function within drivers/hid/hid-multitouch.c. The root cause is a missing check for the return value of devm_kasprintf(), which can return NULL upon memory allocation failure. An attacker with local access could potentially trigger this condition to cause a kernel panic (Denial of Service). The issue has been resolved by adding the necessary NULL check and returning -ENOMEM on failure. Patches are available across multiple stable kernel branches including 4.14.y, 4.19.y, 5.4.y, 5.10.y, 5.15.y, 6.1.y, 6.6.y, 6.12.y, and 6.13.y.
Affected products
- Linux Linux Kernel 4.14.326 to 4.15, 4.19.295 to 4.20, 5.4.257 to 5.5, 5.10.195 to 5.11, 5.15.132 to 5.16, 6.1.53 to 6.1.129, 6.4.16 to 6.5, 6.5.3 to 6.6.79, 6.7 to 6.12.16, 6.13 to 6.13.4
Timeline
- 2024-11-15: other: Vulnerability fixed in source code
- 2025-02-26: advisory: NVD published the CVE record
- 2025-02-27: disclosed: Public disclosure of the vulnerability details
References
- https://git.kernel.org/stable/c/2052b44cd0a62b6fdbe3371e5ba6029c56c400ca
- https://git.kernel.org/stable/c/4e7113f591163d99adc7cbcd7295030c8c5d3fc7
- https://git.kernel.org/stable/c/62f8bf06262b6fc55c58f4c5256140f1382f3b01
- https://git.kernel.org/stable/c/97c09cc2e72769edb6994b531edcfa313b96bade
- https://git.kernel.org/stable/c/9b8e2220d3a052a690b1d1b23019673e612494c5
- https://git.kernel.org/stable/c/a04d96ef67a42165f93194eef22a270acba4b74c
- https://git.kernel.org/stable/c/a6bfd3856e9f3da083f177753c623d58ba935e0a