Vulnerability · Published Feb 23, 2024 · Assigned by Linux
CVE-2023-52457serial: 8250: omap: Don't skip resource freeing if pm_runtime_resume_and_get() failed
High 7.8
In plain English
A high-severity security flaw in Linux from Linux. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 14% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | linux | 6.1.76-1 | DEBIAN-CVE-2023-52457 |
| Debian:13 | linux | 6.6.15-1 | DEBIAN-CVE-2023-52457 |
| Debian:14 | linux | 6.6.15-1 | DEBIAN-CVE-2023-52457 |
| Ubuntu:22.04:LTS | linux | 5.15.0-102.112 | UBUNTU-CVE-2023-52457 |
| Ubuntu:22.04:LTS | linux | 5.15.0-102.112 | USN-6725-1 |
| Ubuntu:22.04:LTS | linux-allwinner-5.19 | no fix listed | UBUNTU-CVE-2023-52457 |
| Ubuntu:22.04:LTS | linux-aws | 5.15.0-1057.63 | USN-6725-2 |
| Ubuntu:22.04:LTS | linux-aws | 5.15.0-1057.63 | UBUNTU-CVE-2023-52457 |
| Ubuntu:22.04:LTS | linux-aws-5.19 | no fix listed | UBUNTU-CVE-2023-52457 |
| Ubuntu:22.04:LTS | linux-aws-6.2 | no fix listed | UBUNTU-CVE-2023-52457 |
| Ubuntu:22.04:LTS | linux-aws-6.5 | no fix listed | UBUNTU-CVE-2023-52457 |
| Ubuntu:22.04:LTS | linux-azure | 5.15.0-1060.69 | UBUNTU-CVE-2023-52457 |
| Ubuntu:22.04:LTS | linux-azure | 5.15.0-1060.69 | USN-6725-1 |
| Ubuntu:22.04:LTS | linux-azure-5.19 | no fix listed | UBUNTU-CVE-2023-52457 |
| Ubuntu:22.04:LTS | linux-azure-6.2 | no fix listed | UBUNTU-CVE-2023-52457 |
| Ubuntu:22.04:LTS | linux-azure-6.5 | 6.5.0-1022.23~22.04.1 | UBUNTU-CVE-2023-52457 |
| Ubuntu:22.04:LTS | linux-azure-6.5 | 6.5.0-1022.23~22.04.1 | USN-6819-1 |
| Ubuntu:22.04:LTS | linux-azure-fde | 5.15.0-1060.69.1 | USN-6725-1 |
| Ubuntu:22.04:LTS | linux-azure-fde | 5.15.0-1060.69.1 | UBUNTU-CVE-2023-52457 |
| Ubuntu:22.04:LTS | linux-azure-fde-5.19 | no fix listed | UBUNTU-CVE-2023-52457 |
| Ubuntu:22.04:LTS | linux-azure-fde-6.2 | no fix listed | UBUNTU-CVE-2023-52457 |
| Ubuntu:22.04:LTS | linux-gcp | 5.15.0-1055.63 | UBUNTU-CVE-2023-52457 |
| Ubuntu:22.04:LTS | linux-gcp | 5.15.0-1055.63 | USN-6725-1 |
| Ubuntu:22.04:LTS | linux-gcp-5.19 | no fix listed | UBUNTU-CVE-2023-52457 |
| Ubuntu:22.04:LTS | linux-gcp-6.2 | no fix listed | UBUNTU-CVE-2023-52457 |
| Ubuntu:22.04:LTS | linux-gcp-6.5 | 6.5.0-1022.24~22.04.1 | UBUNTU-CVE-2023-52457 |
| Ubuntu:22.04:LTS | linux-gcp-6.5 | 6.5.0-1022.24~22.04.1 | USN-6818-1 |
| Ubuntu:22.04:LTS | linux-gke | 5.15.0-1054.59 | USN-6725-1 |
| Ubuntu:22.04:LTS | linux-gke | 5.15.0-1054.59 | UBUNTU-CVE-2023-52457 |
| Ubuntu:22.04:LTS | linux-gkeop | 5.15.0-1040.46 | USN-6725-1 |
| Ubuntu:22.04:LTS | linux-gkeop | 5.15.0-1040.46 | UBUNTU-CVE-2023-52457 |
| Ubuntu:22.04:LTS | linux-hwe-5.19 | no fix listed | UBUNTU-CVE-2023-52457 |
| Ubuntu:22.04:LTS | linux-hwe-6.2 | no fix listed | UBUNTU-CVE-2023-52457 |
| Ubuntu:22.04:LTS | linux-hwe-6.5 | 6.5.0-41.41~22.04.2 | UBUNTU-CVE-2023-52457 |
| Ubuntu:22.04:LTS | linux-hwe-6.5 | 6.5.0-41.41~22.04.2 | USN-6818-4 |
| Ubuntu:22.04:LTS | linux-ibm | 5.15.0-1050.53 | USN-6725-1 |
| Ubuntu:22.04:LTS | linux-ibm | 5.15.0-1050.53 | UBUNTU-CVE-2023-52457 |
| Ubuntu:22.04:LTS | linux-intel-iotg | 5.15.0-1052.58 | USN-6725-1 |
| Ubuntu:22.04:LTS | linux-intel-iotg | 5.15.0-1052.58 | UBUNTU-CVE-2023-52457 |
| Ubuntu:22.04:LTS | linux-kvm | 5.15.0-1054.59 | USN-6725-1 |
| Ubuntu:22.04:LTS | linux-kvm | 5.15.0-1054.59 | UBUNTU-CVE-2023-52457 |
| Ubuntu:22.04:LTS | linux-lowlatency | 5.15.0-102.112 | UBUNTU-CVE-2023-52457 |
| Ubuntu:22.04:LTS | linux-lowlatency | 5.15.0-102.112 | USN-6725-1 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-5.19 | no fix listed | UBUNTU-CVE-2023-52457 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.2 | no fix listed | UBUNTU-CVE-2023-52457 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.5 | 6.5.0-41.41.1~22.04.1 | UBUNTU-CVE-2023-52457 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.5 | 6.5.0-41.41.1~22.04.1 | USN-6818-1 |
| Ubuntu:22.04:LTS | linux-nvidia | 5.15.0-1048.48 | USN-6725-1 |
| Ubuntu:22.04:LTS | linux-nvidia | 5.15.0-1048.48 | UBUNTU-CVE-2023-52457 |
| Ubuntu:22.04:LTS | linux-nvidia-6.2 | no fix listed | UBUNTU-CVE-2023-52457 |
| Ubuntu:22.04:LTS | linux-nvidia-6.5 | 6.5.0-1021.22 | UBUNTU-CVE-2023-52457 |
| Ubuntu:22.04:LTS | linux-nvidia-6.5 | 6.5.0-1021.22 | USN-6818-3 |
| Ubuntu:22.04:LTS | linux-nvidia-tegra | 5.15.0-1025.25 | UBUNTU-CVE-2023-52457 |
| Ubuntu:22.04:LTS | linux-nvidia-tegra-igx | 5.15.0-1012.12 | UBUNTU-CVE-2023-52457 |
| Ubuntu:22.04:LTS | linux-oem-5.17 | no fix listed | UBUNTU-CVE-2023-52457 |
| Ubuntu:22.04:LTS | linux-oem-6.0 | no fix listed | UBUNTU-CVE-2023-52457 |
| Ubuntu:22.04:LTS | linux-oem-6.1 | 6.1.0-1035.35 | USN-6688-1 |
| Ubuntu:22.04:LTS | linux-oem-6.1 | 6.1.0-1035.35 | UBUNTU-CVE-2023-52457 |
| Ubuntu:22.04:LTS | linux-oem-6.5 | 6.5.0-1024.25 | UBUNTU-CVE-2023-52457 |
| Ubuntu:22.04:LTS | linux-oem-6.5 | 6.5.0-1024.25 | USN-6819-3 |
| Ubuntu:22.04:LTS | linux-oracle | 5.15.0-1055.61 | USN-6725-1 |
| Ubuntu:22.04:LTS | linux-oracle | 5.15.0-1055.61 | UBUNTU-CVE-2023-52457 |
| Ubuntu:22.04:LTS | linux-oracle-6.5 | 6.5.0-1024.24~22.04.1 | USN-6819-4 |
| Ubuntu:22.04:LTS | linux-oracle-6.5 | 6.5.0-1024.24~22.04.1 | UBUNTU-CVE-2023-52457 |
| Ubuntu:22.04:LTS | linux-raspi | 5.15.0-1050.53 | USN-6725-1 |
| Ubuntu:22.04:LTS | linux-raspi | 5.15.0-1050.53 | UBUNTU-CVE-2023-52457 |
| Ubuntu:22.04:LTS | linux-realtime | no fix listed | UBUNTU-CVE-2023-52457 |
| Ubuntu:22.04:LTS | linux-riscv | no fix listed | UBUNTU-CVE-2023-52457 |
| Ubuntu:22.04:LTS | linux-riscv-5.19 | no fix listed | UBUNTU-CVE-2023-52457 |
| Ubuntu:22.04:LTS | linux-riscv-6.5 | 6.5.0-40.40.1~22.04.1 | UBUNTU-CVE-2023-52457 |
| Ubuntu:22.04:LTS | linux-starfive-5.19 | no fix listed | UBUNTU-CVE-2023-52457 |
| Ubuntu:22.04:LTS | linux-starfive-6.2 | no fix listed | UBUNTU-CVE-2023-52457 |
| Ubuntu:22.04:LTS | linux-starfive-6.5 | 6.5.0-1015.16~22.04.1 | USN-6819-1 |
| Ubuntu:22.04:LTS | linux-starfive-6.5 | 6.5.0-1015.16~22.04.1 | UBUNTU-CVE-2023-52457 |
| Ubuntu:22.04:LTS | linux-xilinx-zynqmp | 5.15.0-1030.34 | UBUNTU-CVE-2023-52457 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 2d66412563ef8953e2bac2d98d2d832b3f3f49cd – before b502fb43f7fb55aaf07f6092ab44657595214b93d833cba201adf9237168e19f0d76e4d7aa69f303 – before bc57f3ef8a9eb0180606696f586a6dcfaa175ed0e0db709a58bdeb8966890882261a3f8438c5c9b7 – before 828cd829483f0cda920710997aed79130b0af690e3f0c638f428fd66b5871154b62706772045f91a – before d74173bda29aba58f822175d983d07c8ed335494e3f0c638f428fd66b5871154b62706772045f91a – before 887a558d0298d36297daea039954c39940228d9be3f0c638f428fd66b5871154b62706772045f91a – before 95e4e0031effad9837af557ecbfd4294a4d8aeeee3f0c638f428fd66b5871154b62706772045f91a – before ad90d0358bd3b4554f243a425168fc7cebe7d04e02eed6390dbe61115f3e3f63829c95c611aee67b |
| Linux | Linux | 6.1 |
References
- https://git.kernel.org/stable/c/b502fb43f7fb55aaf07f6092ab44657595214b93
- https://git.kernel.org/stable/c/bc57f3ef8a9eb0180606696f586a6dcfaa175ed0
- https://git.kernel.org/stable/c/828cd829483f0cda920710997aed79130b0af690
- https://git.kernel.org/stable/c/d74173bda29aba58f822175d983d07c8ed335494
- https://git.kernel.org/stable/c/887a558d0298d36297daea039954c39940228d9b
- https://git.kernel.org/stable/c/95e4e0031effad9837af557ecbfd4294a4d8aeee
- https://git.kernel.org/stable/c/ad90d0358bd3b4554f243a425168fc7cebe7d04e
- https://lists.debian.org/debian-lts-announce/2024/06/msg00016.html x_transferred