CVE-2023-52457

serial: 8250: omap: Don't skip resource freeing if pm_runtime_resume_and_get() failed

HIGH
7.8
CVSS Score
Published: February 23, 2024 at 02:46 PM UTC
Updated: June 17, 2026 at 06:42 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v ≥ 6.0.105.10.156 ≤ v < 5.10.2095.15.80 ≤ v < 5.15.1485.4.225 ≤ v < 5.4.2686.0.10 ≤ v < 6.16.0.10 ≤ v < 6.1.756.1 ≤ v < 6.1.756.1 ≤ v < 6.6.146.1 ≤ v < 6.7.26.1 ≤ v < 6.86.2 ≤ v < 6.6.146.7 ≤ v < 6.7.22d66412563ef8953e2bac2d98d2d832b3f3f49cd2eed6390dbe61115f3e3f63829c95c611aee67b5.10.1565.15.805.4.2256.0.106.1d833cba201adf9237168e19f0d76e4d7aa69f303e0db709a58bdeb8966890882261a3f8438c5c9b7e3f0c638f428fd66b5871154b62706772045f91a
Vendor states this is fixed in 828cd829483f0cda920710997aed79130b0af690 (fixed)
Vendor states this is fixed in 887a558d0298d36297daea039954c39940228d9b (fixed)
Vendor states this is fixed in 95e4e0031effad9837af557ecbfd4294a4d8aeee (fixed)
Vendor states this is fixed in ad90d0358bd3b4554f243a425168fc7cebe7d04e (fixed)
Vendor states this is fixed in b502fb43f7fb55aaf07f6092ab44657595214b93 (fixed)
Vendor states this is fixed in bc57f3ef8a9eb0180606696f586a6dcfaa175ed0 (fixed)
Vendor states this is fixed in d74173bda29aba58f822175d983d07c8ed335494 (fixed)
Vendor states this is fixed in 5.10.209 (unaffected)
Vendor states this is fixed in 5.15.148 (unaffected)
Vendor states this is fixed in 5.4.268 (unaffected)
Vendor states this is fixed in 6.1 (unaffected)
Vendor states this is fixed in 6.1.75 (unaffected)
Vendor states this is fixed in 6.6.14 (unaffected)
Vendor states this is fixed in 6.7.2 (unaffected)
Vendor states this is fixed in 6.8 (unaffected)

References (8)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/828cd829483f0cda920710997aed79130b0af690
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/887a558d0298d36297daea039954c39940228d9b
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/95e4e0031effad9837af557ecbfd4294a4d8aeee
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ad90d0358bd3b4554f243a425168fc7cebe7d04e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b502fb43f7fb55aaf07f6092ab44657595214b93
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/bc57f3ef8a9eb0180606696f586a6dcfaa175ed0
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d74173bda29aba58f822175d983d07c8ed335494
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2024/06/msg00016.html

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-416

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card