CVE-2026-53384

Severity CVSS v4.0:
Pending analysis
Type:
CWE-416 Use After Free
Publication date:
19/07/2026
Last modified:
29/07/2026

Description

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

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.9 (including) 6.1.177 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.2 (including) 6.6.144 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.7 (including) 6.12.95 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.13 (including) 6.18.38 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.19 (including) 7.0.14 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 7.1 (including) 7.1.2 (excluding)