cve.bz

CVE-2025-21746 linux linux kernel

4.7 mediumEPSS 0.1%Fix available

Medium (4.7) in linux linux kernel. EPSS 0.1% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

4.7 medium
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS
0.1% (unchanged from 0.1% a week ago; 0.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 4th percentile. Scored 2026-11-24. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-21746 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-21746?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-21746?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-21746 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Linux6.5 and later

Fixed in

ProductRelease lineFixed in
Linux6.66.6.80
Linux6.126.12.17
Linux6.136.13.3
Linuxlater releases6.14

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian13, 14linux6.12.17-1DEBIAN-CVE-2025-21746
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2025-21746
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 12 moreno fix listedUBUNTU-CVE-2025-21746
Ubuntu20.04:LTSlinux-gke, linux-gkeop, linux-riscv and 26 moreno fix listedUBUNTU-CVE-2025-21746
Ubuntu22.04:LTSlinux-aws-6.86.8.0-1035.37~22.04.1UBUNTU-CVE-2025-21746 USN-7703-2
Ubuntu22.04:LTSlinux-azure-6.86.8.0-1034.39~22.04.1UBUNTU-CVE-2025-21746 USN-7737-1
Ubuntu22.04:LTSlinux-gcp-6.86.8.0-1036.38~22.04.1UBUNTU-CVE-2025-21746 USN-7703-2
Ubuntu22.04:LTSlinux-hwe-6.8, linux-riscv-6.86.8.0-78.78~22.04.1UBUNTU-CVE-2025-21746 USN-7703-4
Ubuntu22.04:LTSlinux-ibm-6.86.8.0-1033.33~22.04.1UBUNTU-CVE-2025-21746 USN-7703-2
Ubuntu22.04:LTSlinux-lowlatency-hwe-6.86.8.0-78.78.1~22.04.1UBUNTU-CVE-2025-21746 USN-7703-1
Ubuntu22.04:LTSlinux-nvidia-6.86.8.0-1035.38~22.04.1UBUNTU-CVE-2025-21746 USN-7703-4
Ubuntu22.04:LTSlinux-oracle-6.86.8.0-1032.33~22.04.1UBUNTU-CVE-2025-21746 USN-7703-3
Ubuntu22.04:LTSlinux-riscv, linux-aws-6.2, linux-aws-6.5 and 30 moreno fix listedUBUNTU-CVE-2025-21746
25 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:9::appstreamrv, perf, rtla and 29 more0:5.14.0-611.5.1.el9_7RHSA-2025:20518
Red Hatenterprise_linux:9::baseoskernel, kernel-64k, kernel-core and 45 more0:5.14.0-611.5.1.el9_7RHSA-2025:20518
Red Hatenterprise_linux:9::crblibperf, perf-debuginfo, kernel-debuginfo and 16 more0:5.14.0-611.5.1.el9_7RHSA-2025:20518
Red Hatenterprise_linux:9::nfvkernel-rt, kernel-rt-core, perf-debuginfo and 18 more0:5.14.0-611.5.1.el9_7RHSA-2025:20518
Red Hatenterprise_linux:9::realtimekernel-rt, kernel-rt-64k, kernel-rt-core and 35 more0:5.14.0-611.5.1.el9_7RHSA-2025:20518
AlmaLinux9rv, perf, rtla and 71 more5.14.0-611.5.1.el9_7ALSA-2025:20518
Rocky Linux9kernel0:5.14.0-611.5.1.el9_7RLSA-2025:20518
Alpaquita25linux-lts6.12.41-r0BELL-CVE-2025-21746
Alpaquitastreamlinux-lts6.18.35-r1BELL-CVE-2025-21746

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · Alpaquita.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This vulnerability is rated as having a Moderate severity for Red Hat Enterprise Linux because exploitation requires local access or physical presence to interact with Synaptics touchpad hardware, and the resulting impact is confined to a denial of service (system crash) without direct compromise of data confidentiality or integrity. The race condition occurs during pass-through port initialization in the Synaptics PS/2 mouse sub-driver when an interrupt arrives before device binding completes. Enterprise server deployments typically do not utilize this input hardware or run headless, substantially limiting real-world exposure to workstations and laptops with affected pointing devices.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 9kernel-0:5.14.0-611.5.1.el9_7Fixed 2025-11-11RHSA-2025:20518
Red Hat Enterprise Linux 10kernelFix deferred
Red Hat Enterprise Linux 6kernelOut of support scope
Red Hat Enterprise Linux 7kernelOut of support scope
Red Hat Enterprise Linux 7kernel-rtOut of support scope
Red Hat Enterprise Linux 8kernelNot affected
Red Hat Enterprise Linux 8kernel-rtNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-21746.

Attack patterns (CAPEC)

  • CAPEC-27 Leveraging Race Conditions via Symbolic Links Likelihood: Medium · Severity: High
  • CAPEC-29 Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON