Input: synaptics - fix crash when enabling pass-through port
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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.12.17, 6.13.3, 6.6.80
- CVEs
- CVE-2025-21746
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 00:31 UTC · Revision 1
Source evidence
Input: synaptics - fix crash when enabling pass-through port
core-osv · Original sourcePublished 27 Feb 2025, 02:12 UTC
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.
osv:CVE-2025-21746
Kernel
Fixed versions: 6.6.80, 6.12.17, 6.13.3
Complete source record
{
"id": "0f18b19253d02ecced3f6504711a20e1f604cc5ca2ed4a5c0e0e92b8f07b6603",
"url": "https://osv.dev/vulnerability/CVE-2025-21746",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Input: synaptics - fix crash when enabling pass-through port",
"summary": "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.",
"evidence": "osv:CVE-2025-21746",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.6.80",
"evidence": "/affected/1/ranges"
},
{
"value": "6.12.17",
"evidence": "/affected/1/ranges"
},
{
"value": "6.13.3",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2025-21746",
"aliases": [
"CVE-2025-21746"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "100e16959c3ca8cb7be788ed3e2c5867481f35f6"
},
{
"fixed": "a2cbcd70133dc0d4d4c95ad4cd5412b935354c7c"
},
{
"fixed": "3e179d3f1ada963475395d81bfe91daef4d1a24c"
},
{
"fixed": "87da1ea93ec9f9f0004e5b12e78789bc94e360bf"
},
{
"fixed": "08bd5b7c9a2401faabdaa1472d45c7de0755fd7e"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-21746.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.5.0"
},
{
"fixed": "6.6.80"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.12.17"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.13.0"
},
{
"fixed": "6.13.3"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-21746.json"
}
}
],
"modified": "2026-10-28T02:30:32.472652515Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/08bd5b7c9a2401faabdaa1472d45c7de0755fd7e",
"https://git.kernel.org/stable/c/3e179d3f1ada963475395d81bfe91daef4d1a24c",
"https://git.kernel.org/stable/c/87da1ea93ec9f9f0004e5b12e78789bc94e360bf",
"https://git.kernel.org/stable/c/a2cbcd70133dc0d4d4c95ad4cd5412b935354c7c",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/21xxx/CVE-2025-21746.json",
"https://nvd.nist.gov/vuln/detail/CVE-2025-21746",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/21xxx/CVE-2025-21746.json"
}
},
"related_cves": [
{
"value": "CVE-2025-21746",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 499345,
"published_at": "2025-02-27T02:12:18.477+00:00"
}