CVE-2023-52457

High

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.

Package Linux Kernel
Published 2024-02-23
Last modified 2024-11-21
CVSS version 3.1
Patch available
Yes

CVSS 3.1 score

7.8

out of 10
High
Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Weakness type

CWE-416

CVE-2023-52457 is a Use After Free vulnerability

What is Use After Free?

The product references memory after it has been freed, which may cause it to crash, use unexpected values, or execute code. Learn more on MITRE CWE

Affected versions

Linux kernel versions 5.4.225, 5.10.156, 5.15.80, 6.0.10, 6.1 and later are affected. Fixed in 5.4.268, 5.10.209, 5.15.148, 6.1.75, 6.6.14, 6.7.2, 6.8 and their respective stable series.

Affected from
≥ 5.4.225 ≥ 5.10.156 ≥ 5.15.80 ≥ 6.0.10 ≥ 6.1
Fixed in
✓ 5.4.268 5.4.x ✓ 5.10.209 5.10.x ✓ 5.15.148 5.15.x ✓ 6.1.75 6.1.x ✓ 6.6.14 6.6.x ✓ 6.7.2 6.7.x ✓ 6.8

Frequently asked questions

  • What is CVE-2023-52457?

    CVE-2023-52457 is a High severity Linux kernel vulnerability with a CVSS score of 7.8 out of 10 , classified as an Use After Free flaw (CWE-416) . It affects Linux kernel versions from 5.4.225 onward and has been patched in 5.4.268, 5.10.209, 5.15.148 and others. CVE-2023-52457 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.

  • What is the CVSS score for CVE-2023-52457?

    CVE-2023-52457 has a CVSS score of 7.8 out of 10, rated High severity (CVSS 3.1). The vector string is CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H .

  • Is there a patch available for CVE-2023-52457?

    Yes. CVE-2023-52457 has been patched. Fixed versions include 5.4.268, 5.10.209, 5.15.148 and others. If you are running Linux kernel 5.4.225 or later up to the fix versions, apply the relevant patch for your kernel branch.

  • Is CVE-2023-52457 actively exploited?

    No. CVE-2023-52457 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.