CVE-2024-35958
published high CVSS 3.1 · 7.8net: ena: Fix incorrect descriptor free behavior
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux548c4940b9f1f527f81509468dd60b61418880b6 to < b26aa765f7437e1bbe8db4c1641b12bd5dd378f0 · 548c4940b9f1f527f81509468dd60b61418880b6 to < fdfbf54d128ab6ab255db138488f9650485795a2 · 548c4940b9f1f527f81509468dd60b61418880b6 to < 19ff8fed3338898b70b2aad831386c78564912e1 · 548c4940b9f1f527f81509468dd60b61418880b6 to < 5c7f2240d9835a7823d87f7460d8eae9f4e504c7 · 548c4940b9f1f527f81509468dd60b61418880b6 to < c31baa07f01307b7ae05f3ce32b89d8e2ba0cc1d · 548c4940b9f1f527f81509468dd60b61418880b6 to < bf02d9fe00632d22fa91d34749c7aacf397b6cde · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.6 (affected) · 0 to < 5.6 (unaffected · semver) · 5.10.216 through 5.10.* (unaffected · semver) · 5.15.156 through 5.15.* (unaffected · semver) · 6.1.87 through 6.1.* (unaffected · semver) · 6.6.28 through 6.6.* (unaffected · semver) · 6.8.7 through 6.8.* (unaffected · semver) · 6.9 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Siemens | — | RUGGEDCOM RST2428P0 to < V3.1 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family0 and later · Other versions: unknown | Unaffected | Not stated | siemens-SADP |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| AlmaLinux | 8 | bpftool | Advisory build | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| Debian | buster | linux-5.10 | Advisory build | 5.10.216-1~deb10u1 | DLA-3842-1 |
Show 100 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Siemens | — | SCALANCE XCM-/XRM-/XCH-/XRH-300 family0 to < V3.1 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIMATIC S7-1500 TM MFP - GNU/Linux subsystem0 to < V1.1.1 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| AlmaLinux | 8 | kernel | Advisory build | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux | 8 | kernel-abi-stablelists | Advisory build | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux | 8 | kernel-core | Advisory build | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux | 8 | kernel-cross-headers | Advisory build | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux | 8 | kernel-debug | Advisory build | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux | 8 | kernel-debug-core | Advisory build | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux | 8 | kernel-debug-devel | Advisory build | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux | 8 | kernel-debug-modules | Advisory build | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux | 8 | kernel-debug-modules-extra | Advisory build | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux | 8 | kernel-devel | Advisory build | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux | 8 | kernel-doc | Advisory build | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux | 8 | kernel-headers | Advisory build | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux | 8 | kernel-modules | Advisory build | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux | 8 | kernel-modules-extra | Advisory build | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux | 8 | kernel-rt | Advisory build | 4.18.0-553.8.1.rt7.349.el8_10 | ALSA-2024:4352 |
| AlmaLinux | 8 | kernel-rt-core | Advisory build | 4.18.0-553.8.1.rt7.349.el8_10 | ALSA-2024:4352 |
| AlmaLinux | 8 | kernel-rt-debug | Advisory build | 4.18.0-553.8.1.rt7.349.el8_10 | ALSA-2024:4352 |
| AlmaLinux | 8 | kernel-rt-debug-core | Advisory build | 4.18.0-553.8.1.rt7.349.el8_10 | ALSA-2024:4352 |
| AlmaLinux | 8 | kernel-rt-debug-devel | Advisory build | 4.18.0-553.8.1.rt7.349.el8_10 | ALSA-2024:4352 |
| AlmaLinux | 8 | kernel-rt-debug-kvm | Advisory build | 4.18.0-553.8.1.rt7.349.el8_10 | ALSA-2024:4352 |
| AlmaLinux | 8 | kernel-rt-debug-modules | Advisory build | 4.18.0-553.8.1.rt7.349.el8_10 | ALSA-2024:4352 |
| AlmaLinux | 8 | kernel-rt-debug-modules-extra | Advisory build | 4.18.0-553.8.1.rt7.349.el8_10 | ALSA-2024:4352 |
| AlmaLinux | 8 | kernel-rt-devel | Advisory build | 4.18.0-553.8.1.rt7.349.el8_10 | ALSA-2024:4352 |
| AlmaLinux | 8 | kernel-rt-kvm | Advisory build | 4.18.0-553.8.1.rt7.349.el8_10 | ALSA-2024:4352 |
| AlmaLinux | 8 | kernel-rt-modules | Advisory build | 4.18.0-553.8.1.rt7.349.el8_10 | ALSA-2024:4352 |
| AlmaLinux | 8 | kernel-rt-modules-extra | Advisory build | 4.18.0-553.8.1.rt7.349.el8_10 | ALSA-2024:4352 |
| AlmaLinux | 8 | kernel-tools | Advisory build | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux | 8 | kernel-tools-libs | Advisory build | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux | 8 | kernel-tools-libs-devel | Advisory build | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux | 8 | kernel-zfcpdump | Advisory build | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux | 8 | kernel-zfcpdump-core | Advisory build | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux | 8 | kernel-zfcpdump-devel | Advisory build | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux | 8 | kernel-zfcpdump-modules | Advisory build | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux | 8 | kernel-zfcpdump-modules-extra | Advisory build | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux | 8 | perf | Advisory build | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux | 8 | python3-perf | Advisory build | 4.18.0-553.8.1.el8_10 | ALSA-2024:4211 |
| AlmaLinux | 9 | bpftool | Advisory build | 7.3.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-64k | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-64k-core | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-64k-debug | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-64k-debug-core | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-64k-debug-devel | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-64k-debug-devel-matched | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-64k-debug-modules | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-64k-debug-modules-core | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-64k-debug-modules-extra | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-64k-devel | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-64k-devel-matched | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-64k-modules | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-64k-modules-core | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-64k-modules-extra | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-abi-stablelists | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-core | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-cross-headers | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-debug | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-debug-core | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-debug-devel | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-debug-devel-matched | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-debug-modules | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-debug-modules-core | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-debug-modules-extra | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-debug-uki-virt | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-devel | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-devel-matched | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-doc | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-headers | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-modules | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-modules-core | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-modules-extra | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-rt | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-rt-core | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-rt-debug | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-rt-debug-core | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-rt-debug-devel | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-rt-debug-modules | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-rt-debug-modules-core | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-rt-debug-modules-extra | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-rt-devel | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-rt-modules | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-rt-modules-core | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-rt-modules-extra | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-tools | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-tools-libs | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-tools-libs-devel | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-uki-virt | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-zfcpdump | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-zfcpdump-core | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-zfcpdump-devel | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-zfcpdump-devel-matched | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-zfcpdump-modules | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-zfcpdump-modules-core | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | kernel-zfcpdump-modules-extra | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | libperf | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | perf | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | python3-perf | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | rtla | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
| AlmaLinux | 9 | rv | Advisory build | 5.14.0-427.26.1.el9_4 | ALSA-2024:4583 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: net: ena: Fix incorrect descriptor free behavior ENA has two types of TX queues: - queues which only process TX packets arriving from the network stack - queues which only process TX packets forwarded to it by XDP_REDIRECT or XDP_TX instructions The ena_free_tx_bufs() cycles through all descriptors in a TX queue and unmaps + frees every descriptor that hasn't been acknowledged yet by the device (uncompleted TX transactions). The function assumes that the processed TX queue is necessarily from the first category listed above and ends up using napi_consume_skb() for descriptors belonging to an XDP specific queue. This patch solves a bug in which, in case of a VF reset, the descriptors aren't freed correctly, leading to crashes.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The faulty free is on the driver teardown/reset path (`ena_down()` via ifdown, ethtool ring/channel change, MTU change, XDP detach, or watchdog reset), not on the packet receive path, so entry requires local access to the host even though the bytes that form the bogus sk_buff come from remotely received frames. AC:L - With XDP_TX/XDP_REDIRECT traffic flowing, the TX ring always holds uncompleted descriptors, so any down/reset deterministically hits `dev_kfree_skb_any()` on an `xdp_frame`; the attacker can both generate the traffic and induce the teardown, with no race or memory-layout condition outside their control. PR:L - In deployments where an XDP program is already attached (a configuration precondition, not an attack step), an unprivileged local user can drive the reset through the ENA watchdog paths that also monitor XDP queues — missed TX completions and `RESET_SUSPECTED_POLL_STARVATION` under load — and hypervisor VF resets occur without any local privilege at all. UI:N - No victim action is needed; the reset/teardown is initiated by the attacker, the watchdog, or the device itself while XDP frames are in flight. S:U - The corruption stays within the kernel's own memory and security authority; no VM, IOMMU, or sandbox boundary is crossed. C:H - Freeing an `xdp_frame` as an `sk_buff` makes the kernel interpret ~200 bytes of packet headroom as sk_buff fields and returns a driver-owned page into `skbuff_cache`, so subsequent skb allocations can alias attacker-visible network buffers, yielding kernel memory disclosure. I:H - This is a full type confusion: `consume_skb()` performs a refcount decrement through a bogus `_skb_refdst`, an indirect call through `skb->destructor`, page puts from a fabricated `skb_shinfo`, and a `kmem_cache_free()` of a non-slab pointer, giving heap-corruption and control-flow-hijack primitives with attacker-influenced field values. A:H - The commit itself states the incorrect frees lead to crashes on VF reset; slab corruption and wild pointer dereferences reliably produce a kernel oops or panic.
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 5.5 | medium | CISA-ADP · adp | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 548c4940b9f1f527f81509468dd60b61418880b6 to < b26aa765f7437e1bbe8db4c1641b12bd5dd378f0 (affected · git)548c4940b9f1f527f81509468dd60b61418880b6 to < fdfbf54d128ab6ab255db138488f9650485795a2 (affected · git)548c4940b9f1f527f81509468dd60b61418880b6 to < 19ff8fed3338898b70b2aad831386c78564912e1 (affected · git)548c4940b9f1f527f81509468dd60b61418880b6 to < 5c7f2240d9835a7823d87f7460d8eae9f4e504c7 (affected · git)548c4940b9f1f527f81509468dd60b61418880b6 to < c31baa07f01307b7ae05f3ce32b89d8e2ba0cc1d (affected · git)548c4940b9f1f527f81509468dd60b61418880b6 to < bf02d9fe00632d22fa91d34749c7aacf397b6cde (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.6 (affected)0 to < 5.6 (unaffected · semver)5.10.216 through 5.10.* (unaffected · semver)5.15.156 through 5.15.* (unaffected · semver)6.1.87 through 6.1.* (unaffected · semver)6.6.28 through 6.6.* (unaffected · semver)6.8.7 through 6.8.* (unaffected · semver)6.9 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
| Siemens | RUGGEDCOM RST2428P | 0 to < V3.1 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family | 0 and later (unaffected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SCALANCE XCM-/XRM-/XCH-/XRH-300 family | 0 to < V3.1 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 TM MFP - GNU/Linux subsystem | 0 to < V1.1.1 (affected · custom)Default: unknown | siemens-SADP · adp |
Weaknesses
1- CWE-noinfo Not enough information
References
9- https://cert-portal.siemens.com/productcert/html/ssa-265688.html
- https://cert-portal.siemens.com/productcert/html/ssa-613116.html
- https://git.kernel.org/stable/c/19ff8fed3338898b70b2aad831386c78564912e1
- https://git.kernel.org/stable/c/5c7f2240d9835a7823d87f7460d8eae9f4e504c7
- https://git.kernel.org/stable/c/b26aa765f7437e1bbe8db4c1641b12bd5dd378f0
- https://git.kernel.org/stable/c/bf02d9fe00632d22fa91d34749c7aacf397b6cde
- https://git.kernel.org/stable/c/c31baa07f01307b7ae05f3ce32b89d8e2ba0cc1d
- https://git.kernel.org/stable/c/fdfbf54d128ab6ab255db138488f9650485795a2
- https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html
Provider assertions
4Linux · cna
net: ena: Fix incorrect descriptor free behavior
siemens-SADP · adp
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- c69dfc20648482afcc049c5ef81b928aa09bd0902b7e241711a3f5cf53987963
- Ingested
- 15 Oct 2026, 13:09:23 UTC
- Source record
- Official CVE record