CVE-2025-21746
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
27/02/2025
Last modified:
27/02/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
Input: synaptics - fix crash when enabling pass-through port<br />
<br />
When enabling a pass-through port an interrupt might come before psmouse<br />
driver binds to the pass-through port. However synaptics sub-driver<br />
tries to access psmouse instance presumably associated with the<br />
pass-through port to figure out if only 1 byte of response or entire<br />
protocol packet needs to be forwarded to the pass-through port and may<br />
crash if psmouse instance has not been attached to the port yet.<br />
<br />
Fix the crash by introducing open() and close() methods for the port and<br />
check if the port is open before trying to access psmouse instance.<br />
Because psmouse calls serio_open() only after attaching psmouse instance<br />
to serio port instance this prevents the potential crash.