VDB

CISA-2023-52457

CISA-2023-52457 PUBLISHED

Reported by Linux · Published February 23, 2024

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.

Affected Products

VendorProductVersions
LinuxLinux2d66412563ef8953e2bac2d98d2d832b3f3f49cd, d833cba201adf9237168e19f0d76e4d7aa69f303, e0db709a58bdeb8966890882261a3f8438c5c9b7
LinuxLinux6.1, 0, 5.4.268
LinuxLinux*, d833cba201adf9237168e19f0d76e4d7aa69f303, e0db709a58bdeb8966890882261a3f8438c5c9b7
linuxlinux_kernel5.15.80, 6.1, 6.1

Timeline

  • Feb 23, 2024 CVE Published
  • May 4, 2025 CVE Updated
Open in Interactive Console →
$ Console Community · 100/wk Open console ›