Description
In the Linux kernel, the following vulnerability has been resolved:

serial: 8250_dw: unregister 8250 port if clk_notifier_register() fails

dw8250_probe() registers the 8250 port via serial8250_register_8250_port()
and then, if the device has a clock, registers a clock notifier. If
clk_notifier_register() fails, probe returns the error but leaves the
8250 port registered. The matching serial8250_unregister_port() lives
in dw8250_remove(), which is not called when probe fails, so the port
slot stays occupied until the device is rebound or the system is
rebooted. The devm-allocated driver data is freed while the port still
references it (via the saved private_data and serial_in/serial_out
callbacks), so any access to that port slot before a rebind is a
use-after-free hazard.

Unregister the port on the clk_notifier_register() error path.
Published: 2026-07-19
Score: 9.8 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability occurs in the Linux kernel’s 8250_dw serial driver when the probe function registers a serial port and attempts to register a clock notifier. If the notifier registration fails, the port remains registered while the driver’s private data is freed, leaving a reference to freed memory. This creates a use‑after‑free condition that could allow code execution or a denial‑of‑service. The weakness corresponds to CWE‑825 (Use‑After‑Free).

Affected Systems

All releases of the Linux kernel that include the 8250_dw driver before the fix are vulnerable. The vulnerability applies to every distribution that ships a kernel containing this driver, regardless of the CPU architecture, until a patched kernel is installed. No specific version list is provided in the CVE data.

Risk and Exploitability

The CVSS base score of 9.8 indicates a very high severity. The EPSS score of <1% suggests that exploitation in the wild is unlikely at the present time. The vulnerability is not listed in the CISA KEV catalog. Attackers would need local or higher privileges to trigger the driver’s probe path, such as by loading or reloading the kernel module or rebooting the system. Based on the description, the likely attack vector is local and therefore confined to adversaries who can execute privileged code on the affected machine.

Generated by OpenCVE AI on July 30, 2026 at 22:31 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply a kernel update that contains the fix for the 8250_dw driver
  • Reboot the system after updating to clear any stale port registrations
  • If reboot is not possible immediately, unload and reload the 8250_dw kernel module to purge stale port entries

Generated by OpenCVE AI on July 30, 2026 at 22:31 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4700-1 linux-6.1 security update
History

Tue, 21 Jul 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-825
References
Metrics threat_severity

None

threat_severity

Moderate


Mon, 20 Jul 2026 14:45:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}


Sun, 19 Jul 2026 12:15:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: serial: 8250_dw: unregister 8250 port if clk_notifier_register() fails dw8250_probe() registers the 8250 port via serial8250_register_8250_port() and then, if the device has a clock, registers a clock notifier. If clk_notifier_register() fails, probe returns the error but leaves the 8250 port registered. The matching serial8250_unregister_port() lives in dw8250_remove(), which is not called when probe fails, so the port slot stays occupied until the device is rebound or the system is rebooted. The devm-allocated driver data is freed while the port still references it (via the saved private_data and serial_in/serial_out callbacks), so any access to that port slot before a rebind is a use-after-free hazard. Unregister the port on the clk_notifier_register() error path.
Title serial: 8250_dw: unregister 8250 port if clk_notifier_register() fails
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-05T12:35:23.964Z

Reserved: 2026-06-09T07:44:35.401Z

Link: CVE-2026-53384

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-07-19T00:00:00Z

Links: CVE-2026-53384 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-07-30T22:45:03Z

Weaknesses
  • CWE-825

    Expired Pointer Dereference