# CVE-2026-99079: net/mlx5e: Prevent stale XSK buffer release on refill retry

- Severity: Critical 9.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.45%, higher than 40% of CVEs (2026-12-02)
- Published: 2026-10-23T12:23:26.458Z
- Modified: 2026-10-24T14:16:54.940Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 3f93f82988bc6b4104314bf9aa485d47fbb7e241 before 32bbb870078d467479965c21bbc4960c57eea208; from 3f93f82988bc6b4104314bf9aa485d47fbb7e241 before 34d1db2b18e1c1d189e34dd51923e031815f88e3; from 3f93f82988bc6b4104314bf9aa485d47fbb7e241 before 639522e5056cade578a324acfa993ec6c9f7f5dc; from 3f93f82988bc6b4104314bf9aa485d47fbb7e241 before 655f47477054d19de3b138840be229a1a4490d0c; from 3f93f82988bc6b4104314bf9aa485d47fbb7e241 before e01620844c5c88b6fcf819d171df8e3976a0e76f; 6.4 (not affected: before 6.4; from 6.6.160 up to 6.6.*; from 6.12.113 up to 6.12.*; from 6.18.57 up to 6.18.*; from 7.2.11 up to 7.2.*; from 7.3 up to *)

## References

- <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>

## Sources

- CVE List: [CVE-2026-99079](https://www.cve.org/CVERecord?id=CVE-2026-99079), CVE Terms of Use, modified 2026-10-24
- NVD: [CVE-2026-99079](https://nvd.nist.gov/vuln/detail/CVE-2026-99079), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-99079 · Whole record: https://cve.day/CVE-2026-99079.json · Rebuilt by cve.day 2026-11-25T22:59:46.970Z
