{"api_version":"1","generated_at":"2026-07-23T13:22:59+00:00","cve":"CVE-2025-21746","urls":{"html":"https://cve.report/CVE-2025-21746","api":"https://cve.report/api/cve/CVE-2025-21746.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2025-21746","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-21746"},"summary":{"title":"Input: synaptics - fix crash when enabling pass-through port","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nInput: synaptics - fix crash when enabling pass-through port\n\nWhen enabling a pass-through port an interrupt might come before psmouse\ndriver binds to the pass-through port. However synaptics sub-driver\ntries to access psmouse instance presumably associated with the\npass-through port to figure out if only 1 byte of response or entire\nprotocol packet needs to be forwarded to the pass-through port and may\ncrash if psmouse instance has not been attached to the port yet.\n\nFix the crash by introducing open() and close() methods for the port and\ncheck if the port is open before trying to access psmouse instance.\nBecause psmouse calls serio_open() only after attaching psmouse instance\nto serio port instance this prevents the potential crash.","state":"PUBLISHED","assigner":"Linux","published_at":"2025-02-27 03:15:15","updated_at":"2026-04-06 13:38:09"},"problem_types":["CWE-367"],"metrics":[{"version":"3.1","source":"nvd@nist.gov","type":"Primary","score":"4.7","severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","baseScore":4.7,"baseSeverity":"MEDIUM","attackVector":"LOCAL","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"}}],"references":[{"url":"https://git.kernel.org/stable/c/87da1ea93ec9f9f0004e5b12e78789bc94e360bf","name":"https://git.kernel.org/stable/c/87da1ea93ec9f9f0004e5b12e78789bc94e360bf","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/a2cbcd70133dc0d4d4c95ad4cd5412b935354c7c","name":"https://git.kernel.org/stable/c/a2cbcd70133dc0d4d4c95ad4cd5412b935354c7c","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/08bd5b7c9a2401faabdaa1472d45c7de0755fd7e","name":"https://git.kernel.org/stable/c/08bd5b7c9a2401faabdaa1472d45c7de0755fd7e","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/3e179d3f1ada963475395d81bfe91daef4d1a24c","name":"https://git.kernel.org/stable/c/3e179d3f1ada963475395d81bfe91daef4d1a24c","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-21746","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-21746","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 100e16959c3ca8cb7be788ed3e2c5867481f35f6 a2cbcd70133dc0d4d4c95ad4cd5412b935354c7c git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 100e16959c3ca8cb7be788ed3e2c5867481f35f6 3e179d3f1ada963475395d81bfe91daef4d1a24c git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 100e16959c3ca8cb7be788ed3e2c5867481f35f6 87da1ea93ec9f9f0004e5b12e78789bc94e360bf git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 100e16959c3ca8cb7be788ed3e2c5867481f35f6 08bd5b7c9a2401faabdaa1472d45c7de0755fd7e git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.5","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.5 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.80 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.17 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.13.3 6.13.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.14 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2025","cve_id":"21746","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"linux","cpe5":"linux_kernel","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/input/mouse/synaptics.c","drivers/input/mouse/synaptics.h"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"a2cbcd70133dc0d4d4c95ad4cd5412b935354c7c","status":"affected","version":"100e16959c3ca8cb7be788ed3e2c5867481f35f6","versionType":"git"},{"lessThan":"3e179d3f1ada963475395d81bfe91daef4d1a24c","status":"affected","version":"100e16959c3ca8cb7be788ed3e2c5867481f35f6","versionType":"git"},{"lessThan":"87da1ea93ec9f9f0004e5b12e78789bc94e360bf","status":"affected","version":"100e16959c3ca8cb7be788ed3e2c5867481f35f6","versionType":"git"},{"lessThan":"08bd5b7c9a2401faabdaa1472d45c7de0755fd7e","status":"affected","version":"100e16959c3ca8cb7be788ed3e2c5867481f35f6","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/input/mouse/synaptics.c","drivers/input/mouse/synaptics.h"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"6.5"},{"lessThan":"6.5","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.80","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.17","versionType":"semver"},{"lessThanOrEqual":"6.13.*","status":"unaffected","version":"6.13.3","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"6.14","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.80","versionStartIncluding":"6.5","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.17","versionStartIncluding":"6.5","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.13.3","versionStartIncluding":"6.5","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.14","versionStartIncluding":"6.5","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nInput: synaptics - fix crash when enabling pass-through port\n\nWhen enabling a pass-through port an interrupt might come before psmouse\ndriver binds to the pass-through port. However synaptics sub-driver\ntries to access psmouse instance presumably associated with the\npass-through port to figure out if only 1 byte of response or entire\nprotocol packet needs to be forwarded to the pass-through port and may\ncrash if psmouse instance has not been attached to the port yet.\n\nFix the crash by introducing open() and close() methods for the port and\ncheck if the port is open before trying to access psmouse instance.\nBecause psmouse calls serio_open() only after attaching psmouse instance\nto serio port instance this prevents the potential crash."}],"providerMetadata":{"dateUpdated":"2025-05-04T07:20:14.042Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/a2cbcd70133dc0d4d4c95ad4cd5412b935354c7c"},{"url":"https://git.kernel.org/stable/c/3e179d3f1ada963475395d81bfe91daef4d1a24c"},{"url":"https://git.kernel.org/stable/c/87da1ea93ec9f9f0004e5b12e78789bc94e360bf"},{"url":"https://git.kernel.org/stable/c/08bd5b7c9a2401faabdaa1472d45c7de0755fd7e"}],"title":"Input: synaptics - fix crash when enabling pass-through port","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2025-21746","datePublished":"2025-02-27T02:12:18.477Z","dateReserved":"2024-12-29T08:45:45.758Z","dateUpdated":"2025-05-04T07:20:14.042Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"},"nvd":{"publishedDate":"2025-02-27 03:15:15","lastModifiedDate":"2026-04-06 13:38:09","problem_types":["CWE-367"],"metrics":{"cvssMetricV31":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","baseScore":4.7,"baseSeverity":"MEDIUM","attackVector":"LOCAL","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":1,"impactScore":3.6}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.5","versionEndExcluding":"6.6.80","matchCriteriaId":"7DB56FB4-9839-41B6-BEBD-7F0DB90E2DA8"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.7","versionEndExcluding":"6.12.17","matchCriteriaId":"15370AEE-6D1C-49C3-8CB7-E889D5F92B6F"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.13","versionEndExcluding":"6.13.3","matchCriteriaId":"0E92CEE3-1FC3-4AFC-A513-DEDBA7414F00"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2025","CveId":"21746","Ordinal":"1","Title":"Input: synaptics - fix crash when enabling pass-through port","CVE":"CVE-2025-21746","Year":"2025"},"notes":[{"CveYear":"2025","CveId":"21746","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nInput: synaptics - fix crash when enabling pass-through port\n\nWhen enabling a pass-through port an interrupt might come before psmouse\ndriver binds to the pass-through port. However synaptics sub-driver\ntries to access psmouse instance presumably associated with the\npass-through port to figure out if only 1 byte of response or entire\nprotocol packet needs to be forwarded to the pass-through port and may\ncrash if psmouse instance has not been attached to the port yet.\n\nFix the crash by introducing open() and close() methods for the port and\ncheck if the port is open before trying to access psmouse instance.\nBecause psmouse calls serio_open() only after attaching psmouse instance\nto serio port instance this prevents the potential crash.","Type":"Description","Title":"Input: synaptics - fix crash when enabling pass-through port"}]}}}