CVE-2023-52457
serial: 8250: omap: Don't skip resource freeing if pm_runtime_resume_and_get() failed
Reported by linux · Published February 23, 2024
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| linux_kernel | linux | 6.7.2, 6.6.14, 6.1.75, 5.15.148, 5.10.209, 5.4.268 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 2d66412563ef8953e2bac2d98d2d832b3f3f49cd, d833cba201adf9237168e19f0d76e4d7aa69f303, e0db709a58bdeb8966890882261a3f8438c5c9b7 |
| Linux | Linux | 6.1, 0, 5.4.268 |
| linux | linux_kernel | 5.4.225, 5.10.156, 5.15.80 |
| Linux | Linux | *, *, * |
Timeline
- Feb 23, 2024 CVE Published
- Feb 24, 2024 EPSS Score (30 in total, the first dated here)
- Oct 5, 2024 Coalition ESS Score (5 in total, the first dated here)
- Jan 25, 2026 Security Advisory (135 in total, the first dated here)
- Jan 25, 2026 CVE Updated
- Mar 30, 2026 Distribution Patch (122 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2023-52457
vulnetix vdb fixes CVE-2023-52457
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-52457/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart