CVE-2023-52457 json
serial: 8250: omap: Don't skip resource freeing if pm_runtime_resume_and_get() failed
published 2024-02-23 2 y ago modified 2026-06-17 4 mo ago also EUVD-2023-57082
- cvss
- 7.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 14%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Linux Linux 5.4.268, 5.10.209, 5.15.148, 6.1, 6.1.75, 6.6.14, 6.7.2, 6.8
- linux Debian 12 6.1.76-1
- linux Debian 14, Debian 13 6.6.15-1
debian advisories DEBIAN-CVE-2023-52457
- linux Ubuntu 20.04 LTS 5.4.0-176.196
- linux Ubuntu 22.04 LTS 5.15.0-102.112
- linux-aws Ubuntu 20.04 LTS 5.4.0-1122.132
- linux-aws Ubuntu 22.04 LTS 5.15.0-1057.63
- linux-gcp Ubuntu 20.04 LTS 5.4.0-1126.135
- linux-gcp Ubuntu 22.04 LTS 5.15.0-1055.63
- linux-gke Ubuntu 22.04 LTS 5.15.0-1054.59
- linux-ibm Ubuntu 20.04 LTS 5.4.0-1069.74
ubuntu advisories UBUNTU-CVE-2023-52457
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel-rt SLE Micro 5.4, SLE Micro 5.3, openSUSE Leap Micro 5.4 +1 more 5.14.21-150400.15.71.1
- kernel-source-rt SLE Micro 5.4, SLE Micro 5.3 5.14.21-150400.15.71.1
- kernel-rt SLE Micro 5.5, Real Time Module 15 SP5, openSUSE Leap 15.5 5.14.21-150500.13.38.1
- kernel-syms-rt Real Time Module 15 SP5, openSUSE Leap 15.5 5.14.21-150500.13.38.1
- kernel-rt_debug Real Time Module 15 SP5, openSUSE Leap 15.5 5.14.21-150500.13.38.1
- kernel-source-rt SLE Micro 5.5, Real Time Module 15 SP5, openSUSE Leap 15.5 5.14.21-150500.13.38.1
- kernel-syms SLE High Performance Computing 15 SP4-ESPOS, Manager Server 4.3, Manager Proxy 4.3 +3 more 5.14.21-150400.24.111.1
- kernel-source SLE High Performance Computing 15 SP4-ESPOS, Manager Server 4.3, Manager Proxy 4.3 +3 more 5.14.21-150400.24.111.1
suse advisories SUSE-SU-2024:0977-1SUSE-SU-2024:0910-1SUSE-SU-2024:0900-2SUSE-SU-2024:0900-1SUSE-SU-2024:0858-1SUSE-SU-2024:0855-1
- kernel-source-longterm openSUSE Tumbleweed 6.12.11-1.1
- kernel-source openSUSE Tumbleweed 6.7.9-1.1
opensuse advisories openSUSE-SU-2025:14705-1openSUSE-SU-2024:13767-1
- git.kernel.org/stable/c/b502fb43f7fb55aaf07f6092ab44657595214b93 commit
- git.kernel.org/stable/c/bc57f3ef8a9eb0180606696f586a6dcfaa175ed0 commit
- git.kernel.org/stable/c/828cd829483f0cda920710997aed79130b0af690 commit
- git.kernel.org/stable/c/d74173bda29aba58f822175d983d07c8ed335494 commit
- git.kernel.org/stable/c/887a558d0298d36297daea039954c39940228d9b commit
- git.kernel.org/stable/c/95e4e0031effad9837af557ecbfd4294a4d8aeee commit
- git.kernel.org/stable/c/ad90d0358bd3b4554f243a425168fc7cebe7d04e commit
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.23% chance of exploitation in the next 30 days, higher than 14% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected products
- Linux Linux
Classification
- Weakness
-
- CWE-416 Use After Free
- Technology feeds
References
-
git.kernel.org
/stable/c/b502fb43f7fb55aaf07f6092ab44657595214b93
patch
-
git.kernel.org
/stable/c/bc57f3ef8a9eb0180606696f586a6dcfaa175ed0
patch
-
git.kernel.org
/stable/c/828cd829483f0cda920710997aed79130b0af690
patch
-
git.kernel.org
/stable/c/d74173bda29aba58f822175d983d07c8ed335494
patch
-
git.kernel.org
/stable/c/887a558d0298d36297daea039954c39940228d9b
patch
-
git.kernel.org
/stable/c/95e4e0031effad9837af557ecbfd4294a4d8aeee
patch
-
git.kernel.org
/stable/c/ad90d0358bd3b4554f243a425168fc7cebe7d04e
patch
- lists.debian.org /debian-lts-announce/2024/06/msg00016.html
Sources
- CVE List CVE-2023-52457
- NVD CVE-2023-52457
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.