HID: multitouch: Add NULL check in mt_input_configured
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 4794394635293a3e74591351fff469cea7ad15a2 · < aa879ef6d3acf96fa2c7122d0632061d4ea58d48| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
HID: multitouch: Add NULL check in mt_input_configured
devm_kasprintf() can return a NULL pointer on failure,but this returned value in mt_input_configured() is not checked. Add NULL check in mt_input_configured(), to handle kernel NULL pointer dereference error.
From the CVE record · Linux
In the Linux kernel's HID multitouch code, mt_input_configured() does not check whether devm_kasprintf() returns NULL on failure, which can cause a kernel NULL pointer dereference. The input does not establish how an attacker could trigger the failure or specify access, authentication, or user-interaction requirements.
Anyone running the Linux kernel should check whether their version is affected; affected versions are not specified.