CVE-2026-99079
published critical CVSS 3.1 · 9.8net/mlx5e: Prevent stale XSK buffer release on refill retry
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux3f93f82988bc6b4104314bf9aa485d47fbb7e241 to < 32bbb870078d467479965c21bbc4960c57eea208 · 3f93f82988bc6b4104314bf9aa485d47fbb7e241 to < 34d1db2b18e1c1d189e34dd51923e031815f88e3 · 3f93f82988bc6b4104314bf9aa485d47fbb7e241 to < 639522e5056cade578a324acfa993ec6c9f7f5dc · 3f93f82988bc6b4104314bf9aa485d47fbb7e241 to < 655f47477054d19de3b138840be229a1a4490d0c · 3f93f82988bc6b4104314bf9aa485d47fbb7e241 to < e01620844c5c88b6fcf819d171df8e3976a0e76f · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.4 (affected) · 0 to < 6.4 (unaffected · semver) · 6.6.160 through 6.6.* (unaffected · semver) · 6.12.113 through 6.12.* (unaffected · semver) · 6.18.57 through 6.18.* (unaffected · semver) · 7.2.11 through 7.2.* (unaffected · semver) · 7.3 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-3335 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-3538 | Fixed | Not stated | Amazon Linux assessment |
| Ubuntu | jammy | linux-aws-6.8 | Advisory build | 6.8.0-1069.74~22.04.1 | USN-9024-1 |
| Ubuntu | jammy | linux-aws-6.8-cloud-tools-6.8.0-1069 | Advisory build | 6.8.0-1069.74~22.04.1 | USN-9024-1 |
Show 98 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | jammy | linux-aws-6.8-headers-6.8.0-1069 | Advisory build | 6.8.0-1069.74~22.04.1 | USN-9024-1 |
| Ubuntu | jammy | linux-aws-6.8-tools-6.8.0-1069 | Advisory build | 6.8.0-1069.74~22.04.1 | USN-9024-1 |
| Ubuntu | jammy | linux-azure-6.8 | Advisory build | 6.8.0-1073.82~22.04.1 | USN-9026-1 |
| Ubuntu | jammy | linux-azure-6.8-cloud-tools-6.8.0-1073 | Advisory build | 6.8.0-1073.82~22.04.1 | USN-9026-1 |
| Ubuntu | jammy | linux-azure-6.8-headers-6.8.0-1073 | Advisory build | 6.8.0-1073.82~22.04.1 | USN-9026-1 |
| Ubuntu | jammy | linux-azure-6.8-tools-6.8.0-1073 | Advisory build | 6.8.0-1073.82~22.04.1 | USN-9026-1 |
| Ubuntu | jammy | linux-azure-fde-6.8 | Advisory build | 6.8.0-1071.78~22.04.1 | USN-9026-1 |
| Ubuntu | jammy | linux-azure-fde-6.8-cloud-tools-6.8.0-1071 | Advisory build | 6.8.0-1071.78~22.04.1 | USN-9026-1 |
| Ubuntu | jammy | linux-azure-fde-6.8-headers-6.8.0-1071 | Advisory build | 6.8.0-1071.78~22.04.1 | USN-9026-1 |
| Ubuntu | jammy | linux-azure-fde-6.8-tools-6.8.0-1071 | Advisory build | 6.8.0-1071.78~22.04.1 | USN-9026-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1067-oracle | Advisory build | 6.8.0-1067.71~22.04.1 | USN-9025-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1067-oracle-64k | Advisory build | 6.8.0-1067.71~22.04.1 | USN-9025-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1068-nvidia | Advisory build | 6.8.0-1068.71~22.04.1 | USN-9192-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1068-nvidia-64k | Advisory build | 6.8.0-1068.71~22.04.1 | USN-9192-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1069-aws | Advisory build | 6.8.0-1069.74~22.04.1 | USN-9024-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1069-aws-64k | Advisory build | 6.8.0-1069.74~22.04.1 | USN-9024-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1069-ibm | Advisory build | 6.8.0-1069.70~22.04.1 | USN-9024-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1071-azure-fde | Advisory build | 6.8.0-1071.78~22.04.1 | USN-9026-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1073-azure | Advisory build | 6.8.0-1073.82~22.04.1 | USN-9026-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1073-gcp | Advisory build | 6.8.0-1073.81~22.04.1 | USN-9024-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1073-gcp-64k | Advisory build | 6.8.0-1073.81~22.04.1 | USN-9024-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-149-generic | Advisory build | 6.8.0-149.149~22.04.1 | USN-9066-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-149-generic-64k | Advisory build | 6.8.0-149.149~22.04.1 | USN-9066-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-149-lowlatency | Advisory build | 6.8.0-149.149.1~22.04.1 | USN-9024-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-149-lowlatency-64k | Advisory build | 6.8.0-149.149.1~22.04.1 | USN-9024-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.1-1064-realtime | Advisory build | 6.8.1-1064.65~22.04.1 | USN-9024-1 |
| Ubuntu | jammy | linux-cloud-tools-6.8.0-1069-aws | Advisory build | 6.8.0-1069.74~22.04.1 | USN-9024-1 |
| Ubuntu | jammy | linux-cloud-tools-6.8.0-1069-aws-64k | Advisory build | 6.8.0-1069.74~22.04.1 | USN-9024-1 |
| Ubuntu | jammy | linux-cloud-tools-6.8.0-1071-azure-fde | Advisory build | 6.8.0-1071.78~22.04.1 | USN-9026-1 |
| Ubuntu | jammy | linux-cloud-tools-6.8.0-1073-azure | Advisory build | 6.8.0-1073.82~22.04.1 | USN-9026-1 |
| Ubuntu | jammy | linux-cloud-tools-6.8.0-149-generic | Advisory build | 6.8.0-149.149~22.04.1 | USN-9066-1 |
| Ubuntu | jammy | linux-cloud-tools-6.8.0-149-lowlatency | Advisory build | 6.8.0-149.149.1~22.04.1 | USN-9024-1 |
| Ubuntu | jammy | linux-cloud-tools-6.8.1-1064-realtime | Advisory build | 6.8.1-1064.65~22.04.1 | USN-9024-1 |
| Ubuntu | jammy | linux-gcp-6.8 | Advisory build | 6.8.0-1073.81~22.04.1 | USN-9024-1 |
| Ubuntu | jammy | linux-gcp-6.8-headers-6.8.0-1073 | Advisory build | 6.8.0-1073.81~22.04.1 | USN-9024-1 |
| Ubuntu | jammy | linux-gcp-6.8-tools-6.8.0-1073 | Advisory build | 6.8.0-1073.81~22.04.1 | USN-9024-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1067-oracle | Advisory build | 6.8.0-1067.71~22.04.1 | USN-9025-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1067-oracle-64k | Advisory build | 6.8.0-1067.71~22.04.1 | USN-9025-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1068-nvidia | Advisory build | 6.8.0-1068.71~22.04.1 | USN-9192-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1068-nvidia-64k | Advisory build | 6.8.0-1068.71~22.04.1 | USN-9192-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1069-aws | Advisory build | 6.8.0-1069.74~22.04.1 | USN-9024-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1069-aws-64k | Advisory build | 6.8.0-1069.74~22.04.1 | USN-9024-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1069-ibm | Advisory build | 6.8.0-1069.70~22.04.1 | USN-9024-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1071-azure-fde | Advisory build | 6.8.0-1071.78~22.04.1 | USN-9026-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1073-azure | Advisory build | 6.8.0-1073.82~22.04.1 | USN-9026-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1073-gcp | Advisory build | 6.8.0-1073.81~22.04.1 | USN-9024-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1073-gcp-64k | Advisory build | 6.8.0-1073.81~22.04.1 | USN-9024-1 |
| Ubuntu | jammy | linux-headers-6.8.0-149-generic | Advisory build | 6.8.0-149.149~22.04.1 | USN-9066-1 |
| Ubuntu | jammy | linux-headers-6.8.0-149-generic-64k | Advisory build | 6.8.0-149.149~22.04.1 | USN-9066-1 |
| Ubuntu | jammy | linux-headers-6.8.0-149-lowlatency | Advisory build | 6.8.0-149.149.1~22.04.1 | USN-9024-1 |
| Ubuntu | jammy | linux-headers-6.8.0-149-lowlatency-64k | Advisory build | 6.8.0-149.149.1~22.04.1 | USN-9024-1 |
| Ubuntu | jammy | linux-headers-6.8.1-1064-realtime | Advisory build | 6.8.1-1064.65~22.04.1 | USN-9024-1 |
| Ubuntu | jammy | linux-hwe-6.8 | Advisory build | 6.8.0-149.149~22.04.1 | USN-9066-1 |
| Ubuntu | jammy | linux-hwe-6.8-cloud-tools-6.8.0-149 | Advisory build | 6.8.0-149.149~22.04.1 | USN-9066-1 |
| Ubuntu | jammy | linux-hwe-6.8-headers-6.8.0-149 | Advisory build | 6.8.0-149.149~22.04.1 | USN-9066-1 |
| Ubuntu | jammy | linux-hwe-6.8-tools-6.8.0-149 | Advisory build | 6.8.0-149.149~22.04.1 | USN-9066-1 |
| Ubuntu | jammy | linux-ibm-6.8 | Advisory build | 6.8.0-1069.70~22.04.1 | USN-9024-1 |
| Ubuntu | jammy | linux-ibm-6.8-headers-6.8.0-1069 | Advisory build | 6.8.0-1069.70~22.04.1 | USN-9024-1 |
| Ubuntu | jammy | linux-ibm-6.8-tools-6.8.0-1069 | Advisory build | 6.8.0-1069.70~22.04.1 | USN-9024-1 |
| Ubuntu | jammy | linux-image-6.8.0-149-generic | Advisory build | 6.8.0-149.149~22.04.1 | USN-9066-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1067-oracle | Advisory build | 6.8.0-1067.71~22.04.1 | USN-9025-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1067-oracle-64k | Advisory build | 6.8.0-1067.71~22.04.1 | USN-9025-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1068-nvidia | Advisory build | 6.8.0-1068.71~22.04.1 | USN-9192-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1068-nvidia-64k | Advisory build | 6.8.0-1068.71~22.04.1 | USN-9192-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1069-aws | Advisory build | 6.8.0-1069.74~22.04.1 | USN-9024-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1069-aws-64k | Advisory build | 6.8.0-1069.74~22.04.1 | USN-9024-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1069-ibm | Advisory build | 6.8.0-1069.70~22.04.1 | USN-9024-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1071-azure-fde | Advisory build | 6.8.0-1071.78~22.04.1 | USN-9026-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1073-azure | Advisory build | 6.8.0-1073.82~22.04.1 | USN-9026-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1073-gcp | Advisory build | 6.8.0-1073.81~22.04.1 | USN-9024-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1073-gcp-64k | Advisory build | 6.8.0-1073.81~22.04.1 | USN-9024-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-149-generic | Advisory build | 6.8.0-149.149~22.04.1 | USN-9066-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-149-generic-64k | Advisory build | 6.8.0-149.149~22.04.1 | USN-9066-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-149-lowlatency | Advisory build | 6.8.0-149.149.1~22.04.1 | USN-9024-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-149-lowlatency-64k | Advisory build | 6.8.0-149.149.1~22.04.1 | USN-9024-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.1-1064-realtime | Advisory build | 6.8.1-1064.65~22.04.1 | USN-9024-1 |
| Ubuntu | jammy | linux-lowlatency-hwe-6.8 | Advisory build | 6.8.0-149.149.1~22.04.1 | USN-9024-1 |
| Ubuntu | jammy | linux-lowlatency-hwe-6.8-cloud-tools-6.8.0-149 | Advisory build | 6.8.0-149.149.1~22.04.1 | USN-9024-1 |
| Ubuntu | jammy | linux-lowlatency-hwe-6.8-headers-6.8.0-149 | Advisory build | 6.8.0-149.149.1~22.04.1 | USN-9024-1 |
| Ubuntu | jammy | linux-lowlatency-hwe-6.8-lib-rust-6.8.0-149-lowlatency | Advisory build | 6.8.0-149.149.1~22.04.1 | USN-9024-1 |
| Ubuntu | jammy | linux-lowlatency-hwe-6.8-tools-6.8.0-149 | Advisory build | 6.8.0-149.149.1~22.04.1 | USN-9024-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1067-oracle | Advisory build | 6.8.0-1067.71~22.04.1 | USN-9025-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1067-oracle-64k | Advisory build | 6.8.0-1067.71~22.04.1 | USN-9025-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1068-nvidia | Advisory build | 6.8.0-1068.71~22.04.1 | USN-9192-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1068-nvidia-64k | Advisory build | 6.8.0-1068.71~22.04.1 | USN-9192-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1069-aws | Advisory build | 6.8.0-1069.74~22.04.1 | USN-9024-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1069-aws-64k | Advisory build | 6.8.0-1069.74~22.04.1 | USN-9024-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1069-ibm | Advisory build | 6.8.0-1069.70~22.04.1 | USN-9024-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1071-azure-fde | Advisory build | 6.8.0-1071.78~22.04.1 | USN-9026-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1073-azure | Advisory build | 6.8.0-1073.82~22.04.1 | USN-9026-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1073-gcp | Advisory build | 6.8.0-1073.81~22.04.1 | USN-9024-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1073-gcp-64k | Advisory build | 6.8.0-1073.81~22.04.1 | USN-9024-1 |
| Ubuntu | jammy | linux-modules-6.8.0-149-generic | Advisory build | 6.8.0-149.149~22.04.1 | USN-9066-1 |
| Ubuntu | jammy | linux-modules-6.8.0-149-generic-64k | Advisory build | 6.8.0-149.149~22.04.1 | USN-9066-1 |
| Ubuntu | jammy | linux-modules-6.8.0-149-lowlatency | Advisory build | 6.8.0-149.149.1~22.04.1 | USN-9024-1 |
| Ubuntu | jammy | linux-modules-6.8.0-149-lowlatency-64k | Advisory build | 6.8.0-149.149.1~22.04.1 | USN-9024-1 |
| Ubuntu | jammy | linux-modules-6.8.1-1064-realtime | Advisory build | 6.8.1-1064.65~22.04.1 | USN-9024-1 |
| Ubuntu | jammy | linux-modules-extra-6.8.0-1067-oracle | Advisory build | 6.8.0-1067.71~22.04.1 | USN-9025-1 |
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/mlx5e: Prevent stale XSK buffer release on refill retry When an XDP redirect to an AF_XDP socket fails because its RX ring is full, the XSK core frees the buffer. During the subsequent batched refill of a legacy cyclic RQ, mlx5e also releases the WQE's XSK buffer before allocating a replacement. If that refill succeeds only partially, a WQE left without a replacement retains its old buffer pointer. The buffer can meanwhile be allocated to another WQE. A later refill retry can then free the live buffer through the stale pointer and publish the same UMEM frame twice. Mark the WQE as released immediately after the driver-side free. The flag is already cleared when a replacement buffer is assigned, so refill retries no longer release stale pointers. The failure is silent and produces no kernel warning or splat. A standalone legacy cyclic-RQ zero-copy libxsk reproducer, using 64-byte UDP traffic offered at 12 Mpps, detected it: stock stopped after 2,854,914 packets in 4.094 seconds, with 4,542 xdp_rx_ring_full events and 64 ownership/double-publication errors. With this change it processed 356,904,225 packets in 30 seconds despite 571,405 xdp_rx_ring_full events, with no ownership or data errors.
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
- 9.8 / 10
- Severity
- critical
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:N - UDP datagrams reaching mlx5 drive mlx5e_completion_event() -> mlx5e_napi_poll() -> mlx5e_poll_rx_cq()/XDP redirect, then mlx5e_napi_xsk_post() -> mlx5e_post_rx_wqes() -> patched mlx5e_xsk_free_rx_wqe(); sustained routable traffic fills the XSK RX ring and triggers stale release. AC:L - A sender can sustain small-packet traffic until __xsk_rcv_zc() reports RX-ring-full and mlx5e_xsk_alloc_rx_wqes_batched() refills only part of the missing WQEs; retries are deterministic and require no uncontrolled race or memory layout. PR:N - The NIC-CQE/NAPI receive path contains no capability or authentication check; xsk_create()'s CAP_NET_RAW check applies to victim-side AF_XDP provisioning, while the remote UDP sender needs no privileges. UI:N - Once the zero-copy XSK pool and XDP redirect are active, xsk_rcv_zc() failure, mlx5e_napi_xsk_post(), and refill retries occur automatically as packets arrive, without further victim action. S:U - mlx5e_xsk_free_rx_wqe() corrupts the host kernel's xsk_buff_pool and mlx5 receive state without crossing a VM, IOMMU, or other security-authority boundary. C:H - Duplicate xdp_buff_xsk ownership lets repeated successful __xsk_rcv_zc() calls invoke unbounded xp_release(); in unaligned-UMEM mode, free_heads_cnt can write kernel pointers past the flexible free_heads[] array, yielding heap corruption exploitable for arbitrary disclosure. I:H - The duplicate WQEs can make xp_release() write beyond free_heads[], while xp_get_xskb() later trusts pointers popped through the corrupted count; this supplies out-of-bounds and corrupted-pointer write primitives capable of control-flow hijacking. A:H - The free_heads[] overflow or a bogus xskb consumed by xp_get_xskb() can oops or panic; additionally, the dma_dev_need_sync refill path can store NULL on allocation failure and have the stale retry pass it to xsk_buff_free().
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 3f93f82988bc6b4104314bf9aa485d47fbb7e241 to < 32bbb870078d467479965c21bbc4960c57eea208 (affected · git)3f93f82988bc6b4104314bf9aa485d47fbb7e241 to < 34d1db2b18e1c1d189e34dd51923e031815f88e3 (affected · git)3f93f82988bc6b4104314bf9aa485d47fbb7e241 to < 639522e5056cade578a324acfa993ec6c9f7f5dc (affected · git)3f93f82988bc6b4104314bf9aa485d47fbb7e241 to < 655f47477054d19de3b138840be229a1a4490d0c (affected · git)3f93f82988bc6b4104314bf9aa485d47fbb7e241 to < e01620844c5c88b6fcf819d171df8e3976a0e76f (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.4 (affected)0 to < 6.4 (unaffected · semver)6.6.160 through 6.6.* (unaffected · semver)6.12.113 through 6.12.* (unaffected · semver)6.18.57 through 6.18.* (unaffected · semver)7.2.11 through 7.2.* (unaffected · semver)7.3 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
5- https://git.kernel.org/stable/c/32bbb870078d467479965c21bbc4960c57eea208
- https://git.kernel.org/stable/c/34d1db2b18e1c1d189e34dd51923e031815f88e3
- https://git.kernel.org/stable/c/639522e5056cade578a324acfa993ec6c9f7f5dc
- https://git.kernel.org/stable/c/655f47477054d19de3b138840be229a1a4490d0c
- https://git.kernel.org/stable/c/e01620844c5c88b6fcf819d171df8e3976a0e76f
Provider assertions
1Linux · cna
net/mlx5e: Prevent stale XSK buffer release on refill retry
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 865a89dae0ecc07bcca6c4837dd341005c5abc328154c4b3bb3ab1bb64f90875
- Ingested
- 24 Oct 2026, 14:14:52 UTC
- Source record
- Official CVE record