CVE-2023-52457

High

Description

In the Linux kernel, the following vulnerability has been resolved: serial: 8250: omap: Don't skip resource freeing if pm_runtime_resume_and_get() failed Returning an error code from .remove() makes the driver core emit the little helpful error message: remove callback returned a non-zero value. This will be ignored. and then remove the device anyhow. So all resources that were not freed are leaked in this case. Skipping serial8250_unregister_port() has the potential to keep enough of the UART around to trigger a use-after-free. So replace the error return (and with it the little helpful error message) by a more useful error message and continue to cleanup.

SeverityHigh
CVSS7.8
Exploit probability—
ProductLinux Kernel
PublishedFeb 23, 2024
First seenFeb 23, 2024

How to fix

Update
  • linux linux_kernel5.4.268, 5.10.209, 5.15.148, 6.1.75, 6.6.14, 6.7.2 or later

Affected products

ProductAffected versionsFixed in
linux linux_kernel5.4.225 ≤ v < 5.4.268, 5.10.156 ≤ v < 5.10.209, 5.15.80 ≤ v < 5.15.148, 6.0.10 ≤ v < 6.1.75, 6.2 ≤ v < 6.6.14, 6.7 ≤ v < 6.7.25.4.268, 5.10.209, 5.15.148, 6.1.75, 6.6.14, 6.7.2

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.