# CVE-2025-21746: Input: synaptics - fix crash when enabling pass-through port

- Severity: Medium 4.7 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 5% of CVEs (2026-11-30)
- Published: 2025-02-27T02:12:18.477Z
- Modified: 2026-06-17T08:44:10.730Z
- Weaknesses: CWE-367
- 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.

(As written by CVE List.)

## Affected

- 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 *)
- linux linux_kernel: from 6.5 before 6.6.80; from 6.7 before 6.12.17; from 6.13 before 6.13.3

## References

- <https://git.kernel.org/stable/c/a2cbcd70133dc0d4d4c95ad4cd5412b935354c7c> (patch)
- <https://git.kernel.org/stable/c/3e179d3f1ada963475395d81bfe91daef4d1a24c> (patch)
- <https://git.kernel.org/stable/c/87da1ea93ec9f9f0004e5b12e78789bc94e360bf> (patch)
- <https://git.kernel.org/stable/c/08bd5b7c9a2401faabdaa1472d45c7de0755fd7e> (patch)

## Sources

- CVE List: [CVE-2025-21746](https://www.cve.org/CVERecord?id=CVE-2025-21746), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2025-21746](https://nvd.nist.gov/vuln/detail/CVE-2025-21746), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-21746 · Whole record: https://cve.day/CVE-2025-21746.json · Rebuilt by cve.day 2026-11-25T22:58:54.524Z
