Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-21689

MEDIUM 5.5EPSS 16%

USB: serial: quatech2: fix null-ptr-deref in qt2_process_read_urb()

Mitigation

  • Upgrade Linux to 575a5adf48b06a2980c9eeffedf699ed5534fade or later.

Who should check

  • Anyone running Linux >= f7a33e608d9ae022b7f49307921627e34e9484ed, < fa4c7472469d97c4707698b4c0e098f8cfc2bf22; >= f7a33e608d9ae022b7f49307921627e34e9484ed, < 94770cf7c5124f0268d481886829dc2beecc4507; >= f7a33e608d9ae022b7f49307921627e34e9484ed, < 6068dcff7f19e9fa6fa23ee03453ad6a40fa4efe; >= f7a33e608d9ae022b7f49307921627e34e9484ed, < 4b9b41fabcd38990f69ef0cee9c631d954a2b530; >= f7a33e608d9ae022b7f49307921627e34e9484ed, < 6377838560c03b36e1153a42ef727533def9b68f; >= f7a33e608d9ae022b7f49307921627e34e9484ed, < f371471708c7d997f763b0e70565026eb67cc470; >= f7a33e608d9ae022b7f49307921627e34e9484ed, < 8542b33622571f54dfc2a267fce378b6e3840b8b; >= f7a33e608d9ae022b7f49307921627e34e9484ed, < 575a5adf48b06a2980c9eeffedf699ed5534fade
  • Anyone running Linux 3.5

Vulnerability facts

Affected
Linux >= f7a33e608d9ae022b7f49307921627e34e9484ed, < fa4c7472469d97c4707698b4c0e098f8cfc2bf22; >= f7a33e608d9ae022b7f49307921627e34e9484ed, < 94770cf7c5124f0268d481886829dc2beecc4507; >= f7a33e608d9ae022b7f49307921627e34e9484ed, < 6068dcff7f19e9fa6fa23ee03453ad6a40fa4efe; >= f7a33e608d9ae022b7f49307921627e34e9484ed, < 4b9b41fabcd38990f69ef0cee9c631d954a2b530; >= f7a33e608d9ae022b7f49307921627e34e9484ed, < 6377838560c03b36e1153a42ef727533def9b68f; >= f7a33e608d9ae022b7f49307921627e34e9484ed, < f371471708c7d997f763b0e70565026eb67cc470; >= f7a33e608d9ae022b7f49307921627e34e9484ed, < 8542b33622571f54dfc2a267fce378b6e3840b8b; >= f7a33e608d9ae022b7f49307921627e34e9484ed, < 575a5adf48b06a2980c9eeffedf699ed5534fade; Linux 3.5
Fixed in
Linux 94770cf7c5124f0268d481886829dc2beecc4507, Linux 6068dcff7f19e9fa6fa23ee03453ad6a40fa4efe, Linux 4b9b41fabcd38990f69ef0cee9c631d954a2b530, Linux 6377838560c03b36e1153a42ef727533def9b68f, Linux 8542b33622571f54dfc2a267fce378b6e3840b8b, Linux 575a5adf48b06a2980c9eeffedf699ed5534fade
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
5.5 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: High
EPSS
0.31% chance of exploitation in 30 days (percentile 16, 2026-11-26)
CWE
CWE-476
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: USB: serial: quatech2: fix null-ptr-deref in qt2_process_read_urb() This patch addresses a null-ptr-deref in qt2_process_read_urb() due to an incorrect bounds check in the following: if (newport > serial->num_ports) { dev_err(&port->dev, "%s - port change to invalid port: %i\n", __func__, newport); break; } The condition doesn't account for the valid range of the serial->port buffer, which is from 0 to serial->num_ports - 1. When newport is equal to serial->num_ports, the assignment of "port" in the following code is out-of-bounds and NULL: serial_priv->current_port = newport; port = serial->port[serial_priv->current_port]; The fix checks if newport is greater than or equal to serial->num_ports indicating it is out-of-bounds.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= f7a33e608d9ae022b7f49307921627e34e9484ed, < fa4c7472469d97c4707698b4c0e098f8cfc2bf22; >= f7a33e608d9ae022b7f49307921627e34e9484ed, < 94770cf7c5124f0268d481886829dc2beecc4507; >= f7a33e608d9ae022b7f49307921627e34e9484ed, < 6068dcff7f19e9fa6fa23ee03453ad6a40fa4efe; >= f7a33e608d9ae022b7f49307921627e34e9484ed, < 4b9b41fabcd38990f69ef0cee9c631d954a2b530; >= f7a33e608d9ae022b7f49307921627e34e9484ed, < 6377838560c03b36e1153a42ef727533def9b68f; >= f7a33e608d9ae022b7f49307921627e34e9484ed, < f371471708c7d997f763b0e70565026eb67cc470; >= f7a33e608d9ae022b7f49307921627e34e9484ed, < 8542b33622571f54dfc2a267fce378b6e3840b8b; >= f7a33e608d9ae022b7f49307921627e34e9484ed, < 575a5adf48b06a2980c9eeffedf699ed5534fade—cvelist
Linux3.5—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2025-21689. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-21689.md
Affected: Linux >= f7a33e608d9ae022b7f49307921627e34e9484ed, < fa4c7472469d97c4707698b4c0e098f8cfc2bf22; >= f7a33e608d9ae022b7f49307921627e34e9484ed, < 94770cf7c5124f0268d481886829dc2beecc4507; >= f7a33e608d9ae022b7f49307921627e34e9484ed, < 6068dcff7f19e9fa6fa23ee03453ad6a40fa4efe; >= f7a33e608d9ae022b7f4930…
Fixed in: Linux 94770cf7c5124f0268d481886829dc2beecc4507, Linux 6068dcff7f19e9fa6fa23ee03453ad6a40fa4efe, Linux 4b9b41fabcd38990f69ef0cee9c631d954a2b530, Linux 6377838560c03b36e1153a42ef727533def9b68f, Linux 8542b33622571f54dfc2a267fce378b6e3840b8b, Linux 575a5adf48b06a2980c9eeffedf699ed5534fade

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2025-21689 being exploited?

There is no confirmed exploitation: CVE-2025-21689 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.31% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2025-21689?

Medium: CVSS 5.5 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2025-21689?

Linux >= f7a33e608d9ae022b7f49307921627e34e9484ed, < fa4c7472469d97c4707698b4c0e098f8cfc2bf22; >= f7a33e608d9ae022b7f49307921627e34e9484ed, < 94770cf7c5124f0268d481886829dc2beecc4507; >= f7a33e608d9ae022b7f49307921627e34e9484ed, < 6068dcff7f19e9fa6fa23ee03453ad6a40fa4efe; >= f7a33e608d9ae022b7f49307921627e34e9484ed, < 4b9b41fabcd38990f69ef0cee9c631d954a2b530; >= f7a33e608d9ae022b7f49307921627e34e9484ed, < 6377838560c03b36e1153a42ef727533def9b68f; >= f7a33e608d9ae022b7f49307921627e34e9484ed, < f371471708c7d997f763b0e70565026eb67cc470; >= f7a33e608d9ae022b7f49307921627e34e9484ed, < 8542b33622571f54dfc2a267fce378b6e3840b8b; >= f7a33e608d9ae022b7f49307921627e34e9484ed, < 575a5adf48b06a2980c9eeffedf699ed5534fade; Linux 3.5.

Is there a fix for CVE-2025-21689?

Yes. Fixed in Linux 94770cf7c5124f0268d481886829dc2beecc4507, Linux 6068dcff7f19e9fa6fa23ee03453ad6a40fa4efe, Linux 4b9b41fabcd38990f69ef0cee9c631d954a2b530, Linux 6377838560c03b36e1153a42ef727533def9b68f, Linux 8542b33622571f54dfc2a267fce378b6e3840b8b, Linux 575a5adf48b06a2980c9eeffedf699ed5534fade. Upgrade Linux to 575a5adf48b06a2980c9eeffedf699ed5534fade or later.

How do I check if I'm affected by CVE-2025-21689?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors