Input: synaptics - fix crash when enabling pass-through port
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
Input: synaptics - fix crash when enabling pass-through port
When enabling a pass-through port an interrupt might come before psmouse driver binds to the pass-through port. However synaptics sub-driver tries to access psmouse instance presumably associated with the pass-through port to figure out if only 1 byte of response or entire protocol packet needs to be forwarded to the pass-through port and may crash if psmouse instance has not been attached to the port yet.
Fix the crash by introducing open() and close() methods for the port and check if the port is open before trying to access psmouse instance. Because psmouse calls serio_open() only after attaching psmouse instance to serio port instance this prevents the potential crash.
From the CVE record · Linux
The Linux kernel’s Synaptics input driver may crash if an interrupt arrives while a pass-through port is being enabled, before the psmouse driver has attached to it. The input does not establish whether an attacker can trigger this condition or whether it requires access, authentication, or user interaction.
Engineers running Linux kernels with the Synaptics input driver should check their exposure; affected versions are not specified.