First published: Mon Feb 10 2025(Updated: )
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.
Credit: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Software | Affected Version | How to fix |
---|---|---|
Linux Kernel | ||
Linux Kernel | >=3.5<5.4.290 | |
Linux Kernel | >=5.5<5.10.234 | |
Linux Kernel | >=5.11<5.15.178 | |
Linux Kernel | >=5.16<6.1.128 | |
Linux Kernel | >=6.2<6.6.75 | |
Linux Kernel | >=6.7<6.12.12 | |
Linux Kernel | =6.13 | |
Linux Kernel | =6.13-rc1 | |
Linux Kernel | =6.13-rc2 | |
Linux Kernel | =6.13-rc3 | |
Linux Kernel | =6.13-rc4 | |
Linux Kernel | =6.13-rc5 | |
Linux Kernel | =6.13-rc6 | |
Linux Kernel | =6.13-rc7 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2025-21689 is classified as a moderate severity vulnerability in the Linux kernel.
To fix CVE-2025-21689, update your Linux kernel to the latest stable version that includes the patch for this vulnerability.
CVE-2025-21689 affects various versions of the Linux kernel prior to the patch being applied.
The null pointer dereference vulnerability in CVE-2025-21689 may lead to system crashes or instability, potentially affecting system reliability.
There are no known workarounds for CVE-2025-21689; the recommended action is to apply the kernel update as soon as possible.