7.8
CWE
416
Advisory Published
CVE Published
Updated

CVE-2023-52457: serial: 8250: omap: Don't skip resource freeing if pm_runtime_resume_and_get() failed

First published: Fri Feb 23 2024(Updated: )

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.

Credit: 416baaa9-dc9f-4396-8d5f-8c081fb06d67 416baaa9-dc9f-4396-8d5f-8c081fb06d67

Affected SoftwareAffected VersionHow to fix
Linux Kernel>=5.4.225<5.4.268
Linux Kernel>=5.10.156<5.10.209
Linux Kernel>=5.15.80<5.15.148
Linux Kernel>=6.0.10<6.1.75
Linux Kernel>=6.2<6.6.14
Linux Kernel>=6.7<6.7.2
debian/linux
5.10.223-1
5.10.234-1
6.1.129-1
6.1.135-1
6.12.27-1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2023-52457?

    CVE-2023-52457 has not been assigned a specific severity level, but it relates to resource management issues in the Linux kernel.

  • How do I fix CVE-2023-52457?

    To fix CVE-2023-52457, you should update to the latest stable version of the Linux kernel that includes the relevant patches.

  • Which versions of the Linux kernel are affected by CVE-2023-52457?

    CVE-2023-52457 affects Linux kernel versions between 5.4.225 and 5.4.268, 5.10.156 and 5.10.209, 5.15.80 and 5.15.148, 6.0.10 and 6.1.75, 6.2 and 6.6.14, and 6.7 and 6.7.2.

  • What kind of vulnerability is CVE-2023-52457?

    CVE-2023-52457 is related to improper resource management in the serial driver for OMAP in the Linux kernel.

  • Is there a known exploit for CVE-2023-52457?

    As of now, there is no publicly known exploit for CVE-2023-52457 that targets this specific vulnerability in the Linux kernel.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203