4.7medium
Input: synaptics - fix crash when enabling pass-through port
- Severity
- 4.7medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.19% (higher than 5% of CVEs)
- Published
- Last changed
- Assigned by
- Linux
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 100e16959c3ca8cb7be788ed3e2c5867481f35f6 before a2cbcd70133dc0d4d4c95ad4cd5412b935354c7c, from 100e16959c3ca8cb7be788ed3e2c5867481f35f6 before 3e179d3f1ada963475395d81bfe91daef4d1a24c, from 100e16959c3ca8cb7be788ed3e2c5867481f35f6 before 87da1ea93ec9f9f0004e5b12e78789bc94e360bf, from 100e16959c3ca8cb7be788ed3e2c5867481f35f6 before 08bd5b7c9a2401faabdaa1472d45c7de0755fd7e, 6.5 Not affected: before 6.5, from 6.6.80 up to 6.6.*, from 6.12.17 up to 6.12.*, from 6.13.3 up to 6.13.*, from 6.14 up to * | CVE List |
| linux linux_kernel | from 6.5 before 6.6.80, from 6.7 before 6.12.17, from 6.13 before 6.13.3 | NVD |
Classification
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: Entrada: synaptics - arregla el fallo al habilitar el puerto de paso Al habilitar un puerto de paso, puede aparecer una interrupción antes de que el controlador psmouse se vincule al puerto de paso. Sin embargo, el subcontrolador synaptics intenta acceder a la instancia psmouse presuntamente asociada con el puerto de paso para averiguar si solo se necesita reenviar 1 byte de respuesta o el paquete de protocolo completo al puerto de paso y puede bloquearse si la instancia psmouse aún no se ha adjuntado al puerto. Arregla el bloqueo introduciendo los métodos open() y close() para el puerto y comprueba si el puerto está abierto antes de intentar acceder a la instancia psmouse. Debido a que psmouse llama a serio_open() solo después de adjuntar la instancia psmouse a la instancia del puerto serio, esto evita el posible bloqueo.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-21746 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2025-21746 changed 2026-06-17 | Public domain |