CVE-2025-21746

Input: synaptics - fix crash when enabling pass-through port

State
Published
Severity
Not scored
Published
Feb 27, 2025
Updated
May 11, 2026
Reserved
Dec 29, 2024

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 100e16959c3ca8cb7be788ed3e2c5867481f35f6 to before a2cbcd70133dc0d4d4c95ad4cd5412b935354c7cAffected
  • 100e16959c3ca8cb7be788ed3e2c5867481f35f6 to before 3e179d3f1ada963475395d81bfe91daef4d1a24cAffected
  • 100e16959c3ca8cb7be788ed3e2c5867481f35f6 to before 87da1ea93ec9f9f0004e5b12e78789bc94e360bfAffected
  • 100e16959c3ca8cb7be788ed3e2c5867481f35f6 to before 08bd5b7c9a2401faabdaa1472d45c7de0755fd7eAffected
LinuxLinux
  • 6.5Affected
  • before 6.5Not affected
  • 6.6.80 through 6.6.*Not affected
  • 6.12.17 through 6.12.*Not affected
  • 6.13.3 through 6.13.*Not affected
  • 6.14 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.