Vulnerability · Published May 17, 2024 · Assigned by Linux
CVE-2023-52664net: atlantic: eliminate double free in error handling logic
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.3% (higher than 20% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
In the Linux kernel, the following vulnerability has been resolved: net: atlantic: eliminate double free in error handling logic Driver has a logic leak in ring data allocation/free, where aq_ring_free could be called multiple times on same ring, if system is under stress and got memory allocation error. Ring pointer was used as an indicator of failure, but this is not correct since only ring data is allocated/deallocated. Ring itself is an array member. Changing ring allocation functions to return error code directly. This simplifies error handling and eliminates aq_ring_free on higher layer.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | linux | 6.1.82-1 | DEBIAN-CVE-2023-52664 |
| Debian:13 | linux | 6.7.7-1 | DEBIAN-CVE-2023-52664 |
| Debian:14 | linux | 6.7.7-1 | DEBIAN-CVE-2023-52664 |
| Ubuntu:22.04:LTS | linux | 5.15.0-139.149 | USN-7494-1 |
| Ubuntu:22.04:LTS | linux | 5.15.0-139.149 | UBUNTU-CVE-2023-52664 |
| Ubuntu:22.04:LTS | linux-allwinner-5.19 | no fix listed | UBUNTU-CVE-2023-52664 |
| Ubuntu:22.04:LTS | linux-aws | 5.15.0-1083.90 | UBUNTU-CVE-2023-52664 |
| Ubuntu:22.04:LTS | linux-aws | 5.15.0-1083.90 | USN-7494-1 |
| Ubuntu:22.04:LTS | linux-aws-5.19 | no fix listed | UBUNTU-CVE-2023-52664 |
| Ubuntu:22.04:LTS | linux-aws-6.2 | no fix listed | UBUNTU-CVE-2023-52664 |
| Ubuntu:22.04:LTS | linux-aws-6.5 | no fix listed | UBUNTU-CVE-2023-52664 |
| Ubuntu:22.04:LTS | linux-azure | 5.15.0-1088.97 | USN-7494-4 |
| Ubuntu:22.04:LTS | linux-azure | 5.15.0-1088.97 | UBUNTU-CVE-2023-52664 |
| Ubuntu:22.04:LTS | linux-azure-5.19 | no fix listed | UBUNTU-CVE-2023-52664 |
| Ubuntu:22.04:LTS | linux-azure-6.2 | no fix listed | UBUNTU-CVE-2023-52664 |
| Ubuntu:22.04:LTS | linux-azure-6.5 | 6.5.0-1022.23~22.04.1 | UBUNTU-CVE-2023-52664 |
| Ubuntu:22.04:LTS | linux-azure-fde | 5.15.0-1088.97.1 | UBUNTU-CVE-2023-52664 |
| Ubuntu:22.04:LTS | linux-azure-fde | 5.15.0-1088.97.1 | USN-7494-4 |
| Ubuntu:22.04:LTS | linux-azure-fde-5.19 | no fix listed | UBUNTU-CVE-2023-52664 |
| Ubuntu:22.04:LTS | linux-azure-fde-6.2 | no fix listed | UBUNTU-CVE-2023-52664 |
| Ubuntu:22.04:LTS | linux-gcp | 5.15.0-1082.91 | USN-7494-1 |
| Ubuntu:22.04:LTS | linux-gcp | 5.15.0-1082.91 | UBUNTU-CVE-2023-52664 |
| Ubuntu:22.04:LTS | linux-gcp-5.19 | no fix listed | UBUNTU-CVE-2023-52664 |
| Ubuntu:22.04:LTS | linux-gcp-6.2 | no fix listed | UBUNTU-CVE-2023-52664 |
| Ubuntu:22.04:LTS | linux-gcp-6.5 | 6.5.0-1022.24~22.04.1 | UBUNTU-CVE-2023-52664 |
| Ubuntu:22.04:LTS | linux-gke | 5.15.0-1080.86 | UBUNTU-CVE-2023-52664 |
| Ubuntu:22.04:LTS | linux-gke | 5.15.0-1080.86 | USN-7494-1 |
| Ubuntu:22.04:LTS | linux-gkeop | 5.15.0-1065.73 | UBUNTU-CVE-2023-52664 |
| Ubuntu:22.04:LTS | linux-gkeop | 5.15.0-1065.73 | USN-7494-1 |
| Ubuntu:22.04:LTS | linux-hwe-5.19 | no fix listed | UBUNTU-CVE-2023-52664 |
| Ubuntu:22.04:LTS | linux-hwe-6.2 | no fix listed | UBUNTU-CVE-2023-52664 |
| Ubuntu:22.04:LTS | linux-hwe-6.5 | 6.5.0-41.41~22.04.2 | UBUNTU-CVE-2023-52664 |
| Ubuntu:22.04:LTS | linux-ibm | 5.15.0-1075.78 | UBUNTU-CVE-2023-52664 |
| Ubuntu:22.04:LTS | linux-ibm | 5.15.0-1075.78 | USN-7494-1 |
| Ubuntu:22.04:LTS | linux-intel-iot-realtime | no fix listed | UBUNTU-CVE-2023-52664 |
| Ubuntu:22.04:LTS | linux-intel-iotg | 5.15.0-1078.84 | USN-7494-1 |
| Ubuntu:22.04:LTS | linux-intel-iotg | 5.15.0-1078.84 | UBUNTU-CVE-2023-52664 |
| Ubuntu:22.04:LTS | linux-kvm | 5.15.0-1079.84 | UBUNTU-CVE-2023-52664 |
| Ubuntu:22.04:LTS | linux-kvm | 5.15.0-1079.84 | USN-7494-1 |
| Ubuntu:22.04:LTS | linux-lowlatency | 5.15.0-139.149 | USN-7494-1 |
| Ubuntu:22.04:LTS | linux-lowlatency | 5.15.0-139.149 | UBUNTU-CVE-2023-52664 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-5.19 | no fix listed | UBUNTU-CVE-2023-52664 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.2 | no fix listed | UBUNTU-CVE-2023-52664 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.5 | 6.5.0-41.41.1~22.04.1 | UBUNTU-CVE-2023-52664 |
| Ubuntu:22.04:LTS | linux-nvidia | 5.15.0-1077.78 | USN-7494-1 |
| Ubuntu:22.04:LTS | linux-nvidia | 5.15.0-1077.78 | UBUNTU-CVE-2023-52664 |
| Ubuntu:22.04:LTS | linux-nvidia-6.2 | no fix listed | UBUNTU-CVE-2023-52664 |
| Ubuntu:22.04:LTS | linux-nvidia-6.5 | 6.5.0-1021.22 | UBUNTU-CVE-2023-52664 |
| Ubuntu:22.04:LTS | linux-nvidia-tegra | 5.15.0-1036.36 | USN-7494-1 |
| Ubuntu:22.04:LTS | linux-nvidia-tegra | 5.15.0-1036.36 | UBUNTU-CVE-2023-52664 |
| Ubuntu:22.04:LTS | linux-nvidia-tegra-igx | 5.15.0-1024.24 | UBUNTU-CVE-2023-52664 |
| Ubuntu:22.04:LTS | linux-nvidia-tegra-igx | 5.15.0-1024.24 | USN-7494-1 |
| Ubuntu:22.04:LTS | linux-oem-5.17 | no fix listed | UBUNTU-CVE-2023-52664 |
| Ubuntu:22.04:LTS | linux-oem-6.0 | no fix listed | UBUNTU-CVE-2023-52664 |
| Ubuntu:22.04:LTS | linux-oem-6.1 | no fix listed | UBUNTU-CVE-2023-52664 |
| Ubuntu:22.04:LTS | linux-oem-6.5 | 6.5.0-1024.25 | UBUNTU-CVE-2023-52664 |
| Ubuntu:22.04:LTS | linux-oracle | 5.15.0-1080.86 | USN-7494-1 |
| Ubuntu:22.04:LTS | linux-oracle | 5.15.0-1080.86 | UBUNTU-CVE-2023-52664 |
| Ubuntu:22.04:LTS | linux-oracle-6.5 | 6.5.0-1024.24~22.04.1 | UBUNTU-CVE-2023-52664 |
| Ubuntu:22.04:LTS | linux-raspi | 5.15.0-1077.80 | USN-7494-1 |
| Ubuntu:22.04:LTS | linux-raspi | 5.15.0-1077.80 | UBUNTU-CVE-2023-52664 |
| Ubuntu:22.04:LTS | linux-realtime | no fix listed | UBUNTU-CVE-2023-52664 |
| Ubuntu:22.04:LTS | linux-riscv | no fix listed | UBUNTU-CVE-2023-52664 |
| Ubuntu:22.04:LTS | linux-riscv-5.19 | no fix listed | UBUNTU-CVE-2023-52664 |
| Ubuntu:22.04:LTS | linux-riscv-6.5 | 6.5.0-40.40.1~22.04.1 | UBUNTU-CVE-2023-52664 |
| Ubuntu:22.04:LTS | linux-starfive-5.19 | no fix listed | UBUNTU-CVE-2023-52664 |
| Ubuntu:22.04:LTS | linux-starfive-6.2 | no fix listed | UBUNTU-CVE-2023-52664 |
| Ubuntu:22.04:LTS | linux-starfive-6.5 | 6.5.0-1015.16~22.04.1 | UBUNTU-CVE-2023-52664 |
| Ubuntu:22.04:LTS | linux-xilinx-zynqmp | 5.15.0-1050.54 | UBUNTU-CVE-2023-52664 |
| Ubuntu:22.04:LTS | linux-xilinx-zynqmp | 5.15.0-1050.54 | USN-7602-1 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 018423e90bee8978105eaaa265a26e70637f9f1e – before 0edb3ae8bfa31cd544b0c195bdec00e036002b5d018423e90bee8978105eaaa265a26e70637f9f1e – before c11a870a73a3bc4cc7df6dd877a45b181795fcbf018423e90bee8978105eaaa265a26e70637f9f1e – before d1fde4a7e1dcc4d49cce285107a7a43c3030878d018423e90bee8978105eaaa265a26e70637f9f1e – before b3cb7a830a24527877b0bc900b9bd74a96aea928 |
| Linux | Linux | 4.11 |