7.0high
Kernel: aoe: improper reference count leads to use-after-free vulnerability
- Severity
- 7.0high CVSS:3.1 by redhat
- Exploit likelihood
- 0.43% (higher than 39% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- redhat
Description
A flaw was found in the ATA over Ethernet (AoE) driver in the Linux kernel. The aoecmd_cfg_pkts() function improperly updates the refcnt on `struct net_device`, and a use-after-free can be triggered by racing between the free on the struct and the access through the `skbtxq` global queue. This could lead to a denial of service condition or potential code execution.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| kernel | Not specified | CVE List |
| kernel-rt | Not specified | CVE List |
| debian debian_linux | 10.0 | NVD |
| linux linux_kernel | before 6.9 | NVD |
| fedoraproject fedora | 39 | NVD |
All scores
| redhat | 7.0high CVSS:3.1 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.0high CVSS:3.1 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
A flaw was found in the ATA over Ethernet (AoE) driver in the Linux kernel. The aoecmd_cfg_pkts() function improperly updates the refcnt on `struct net_device`, and a use-after-free can be triggered by racing between the free on the struct and the access through the `skbtxq` global queue. This could lead to a denial of service condition or potential code execution.
NVD (es)
Se encontró una falla en el controlador ATA sobre Ethernet (AoE) en el kernel de Linux. La función aoecmd_cfg_pkts() actualiza incorrectamente el refcnt en `struct net_device`, y se puede activar el use after free corriendo entre lo libre en la estructura y el acceso a través de la cola global `skbtxq`. Esto podría provocar una condición de denegación de servicio o una posible ejecución de código.
References
| https://access.redhat.com/security/cve/CVE-2023-6270 | third-party-advisory, vdb-entry | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2256786 | issue-tracking, third-party-advisory | |
| https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html | third-party-advisory | |
| https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html | third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-6270 changed 2026-11-24 | CVE Terms of Use |
| NVD | CVE-2023-6270 changed 2026-11-24 | Public domain |