CVE-2026-99078
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
23/10/2026
Last modified:
24/10/2026
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
net/mlx5e: Prevent stale XSK buffer release on MPWQE refill retry<br />
<br />
With AF_XDP on a striding RQ, mlx5e defers releasing XSK buffers until<br />
an MPWQE is refilled. If XSK allocation then returns -ENOMEM,<br />
actual_wq_head is not advanced and a later NAPI poll retries the same<br />
WQE.<br />
<br />
mlx5e_free_rx_mpwqe() leaves each released slot marked as releasable. On<br />
retry it can therefore call xsk_buff_free() again through stale pointers<br />
after the frames have returned to the XSK pool and been reallocated.<br />
<br />
Set all skip_release_bitmap bits in the common error path of<br />
mlx5e_xsk_alloc_rx_mpwqe(). This matches mlx5e_alloc_rx_mpwqe(). A<br />
successful allocation already clears the bitmap after replacing every<br />
buffer, so retries become idempotent without changing the success path.<br />
<br />
Fault injection forced three consecutive failures for one selected MPWQE.<br />
Both an early allocation failure and a partial 8-of-16-buffer unwind<br />
released the original 16 XSK buffers only once. Each error left a full<br />
bitmap, the following NAPI retry skipped the release, and a later<br />
successful allocation cleared it. A 20-second AF_XDP zero-copy pressure<br />
run exercised 1,575,262 buffer allocation failures without invalid<br />
descriptors, WQE errors, or kernel warnings.
Impact
Base Score 3.x
9.80
Severity 3.x
CRITICAL
References to Advisories, Solutions, and Tools
- https://git.kernel.org/stable/c/3d73a1164a8c6b4461907a65cb6c022ea4fd39af
- https://git.kernel.org/stable/c/63811edf512584c946e5e96b100e9e280703bbb5
- https://git.kernel.org/stable/c/867119b4b588037724b85839d534465f0334d9bd
- https://git.kernel.org/stable/c/d215d09606b0fcd18ad1eb532995782a21cea49d
- https://git.kernel.org/stable/c/f3a52e2ec2788a7f6b64137985c087188a54ad4f


