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

Published Feb 23, 2024
·
Updated

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

serial: 8250: omap: Don't skip resource freeing if pmruntimeresumeandget() 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 serial8250unregisterport() 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 Software

7 affected componentsFixes available
Linux Linux kernel>=5.4.225<5.4.268
Linux Linux kernel>=5.10.156<5.10.209
Linux Linux kernel>=5.15.80<5.15.148
Linux Linux kernel>=6.0.10<6.1.75
Linux Linux kernel>=6.2<6.6.14
Linux Linux kernel>=6.7<6.7.2
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.27-1

Event History

Feb 23, 2024
CVE Published
via MITRE·02:46 PM
Data Sourced
via MITRE·02:46 PM
Description
Mar 11, 2024
Data Sourced
via Launchpad·09:51 PM
Description
Apr 27, 2025
Data Sourced
via Ubuntu·11:16 PM
RemedyDescriptionSeverityAffected Software
May 9, 2025
Data Sourced
via Debian·11:19 PM
DescriptionAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

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.

2

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.

3

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.

4

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.

5

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203