CVE-2025-21746
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2025-21746 affects the Linux kernel's Synaptics touchpad driver, specifically related to the pass-through port functionality. The vulnerability was discovered in early 2025 and involves a potential crash when enabling the pass-through port feature (Kernel Git).

Technical details

The vulnerability occurs when an interrupt arrives before the psmouse driver binds to the pass-through port. The Synaptics sub-driver attempts to access the psmouse instance associated with the pass-through port to determine packet forwarding requirements, but may crash if the psmouse instance hasn't been attached to the port yet. The issue stems from improper validation of the port state before accessing the psmouse instance (Kernel Git).

Impact

When exploited, this vulnerability can cause a system crash due to invalid memory access when enabling the pass-through port feature on Synaptics touchpad devices (Kernel Git).

Mitigation and workarounds

The issue has been fixed by introducing open() and close() methods for the port and implementing proper state checking. The fix ensures that the port's state is verified before attempting to access the psmouse instance. Because psmouse calls serio_open() only after attaching the psmouse instance to the serio port instance, this prevents the potential crash (Kernel Git).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-40343MEDIUM6.4
  • Linux KernelLinux Kernel
  • linux-riscv
NoYesDec 09, 2025
CVE-2025-40342MEDIUM6.4
  • Linux KernelLinux Kernel
  • linux-azure-5.4
NoYesDec 09, 2025
CVE-2025-40341MEDIUM5.1
  • Linux KernelLinux Kernel
  • kernel-debug-uki-virt-addons
NoYesDec 09, 2025
CVE-2025-40345N/AN/A
  • Linux KernelLinux Kernel
  • bpftool
NoYesDec 12, 2025
CVE-2025-40344N/AN/A
  • Linux KernelLinux Kernel
  • rtla
NoYesDec 09, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management