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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.8
- **CVSS:** 9.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.67% (percentile 47, 2026-11-26)
- **Published:** 2026-10-23T12:23:25.542Z
- **Modified:** 2026-10-24T14:16:54.790Z

## Who should check

- Anyone running Linux \>= 4c2a1323680709078736a2886c754004e9fe42e6, \< f3a52e2ec2788a7f6b64137985c087188a54ad4f; \>= 4c2a1323680709078736a2886c754004e9fe42e6, \< d215d09606b0fcd18ad1eb532995782a21cea49d; \>= 4c2a1323680709078736a2886c754004e9fe42e6, \< 867119b4b588037724b85839d534465f0334d9bd; \>= 4c2a1323680709078736a2886c754004e9fe42e6, \< 3d73a1164a8c6b4461907a65cb6c022ea4fd39af; \>= 4c2a1323680709078736a2886c754004e9fe42e6, \< 63811edf512584c946e5e96b100e9e280703bbb5
- Anyone running Linux 6.4

## Description

In the Linux kernel, the following vulnerability has been resolved:

net/mlx5e: Prevent stale XSK buffer release on MPWQE refill retry

With AF\_XDP on a striding RQ, mlx5e defers releasing XSK buffers until
an MPWQE is refilled. If XSK allocation then returns -ENOMEM,
actual\_wq\_head is not advanced and a later NAPI poll retries the same
WQE.

mlx5e\_free\_rx\_mpwqe() leaves each released slot marked as releasable. On
retry it can therefore call xsk\_buff\_free() again through stale pointers
after the frames have returned to the XSK pool and been reallocated.

Set all skip\_release\_bitmap bits in the common error path of
mlx5e\_xsk\_alloc\_rx\_mpwqe(). This matches mlx5e\_alloc\_rx\_mpwqe(). A
successful allocation already clears the bitmap after replacing every
buffer, so retries become idempotent without changing the success path.

Fault injection forced three consecutive failures for one selected MPWQE.
Both an early allocation failure and a partial 8-of-16-buffer unwind
released the original 16 XSK buffers only once. Each error left a full
bitmap, the following NAPI retry skipped the release, and a later
successful allocation cleared it. A 20-second AF\_XDP zero-copy pressure
run exercised 1,575,262 buffer allocation failures without invalid
descriptors, WQE errors, or kernel warnings.

## Affected and fixed versions

- Linux: \>= 4c2a1323680709078736a2886c754004e9fe42e6, \< f3a52e2ec2788a7f6b64137985c087188a54ad4f; \>= 4c2a1323680709078736a2886c754004e9fe42e6, \< d215d09606b0fcd18ad1eb532995782a21cea49d; \>= 4c2a1323680709078736a2886c754004e9fe42e6, \< 867119b4b588037724b85839d534465f0334d9bd; \>= 4c2a1323680709078736a2886c754004e9fe42e6, \< 3d73a1164a8c6b4461907a65cb6c022ea4fd39af; \>= 4c2a1323680709078736a2886c754004e9fe42e6, \< 63811edf512584c946e5e96b100e9e280703bbb5 (cvelist)
- Linux: 6.4 (cvelist)

## Mitigation

- Upgrade Linux to 63811edf512584c946e5e96b100e9e280703bbb5 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-99078. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-99078.md
Affected: Linux >= 4c2a1323680709078736a2886c754004e9fe42e6, < f3a52e2ec2788a7f6b64137985c087188a54ad4f; >= 4c2a1323680709078736a2886c754004e9fe42e6, < d215d09606b0fcd18ad1eb532995782a21cea49d; >= 4c2a1323680709078736a2886c754004e9fe42e6, < 867119b4b588037724b85839d534465f0334d9bd; >= 4c2a1323680709078736a28…
Fixed in: Linux 867119b4b588037724b85839d534465f0334d9bd, Linux 3d73a1164a8c6b4461907a65cb6c022ea4fd39af, Linux 63811edf512584c946e5e96b100e9e280703bbb5

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-99078 being exploited?

There is no confirmed exploitation: CVE-2026-99078 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.67% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-99078?

Critical: CVSS 9.8 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-99078?

Linux \>= 4c2a1323680709078736a2886c754004e9fe42e6, \< f3a52e2ec2788a7f6b64137985c087188a54ad4f; \>= 4c2a1323680709078736a2886c754004e9fe42e6, \< d215d09606b0fcd18ad1eb532995782a21cea49d; \>= 4c2a1323680709078736a2886c754004e9fe42e6, \< 867119b4b588037724b85839d534465f0334d9bd; \>= 4c2a1323680709078736a2886c754004e9fe42e6, \< 3d73a1164a8c6b4461907a65cb6c022ea4fd39af; \>= 4c2a1323680709078736a2886c754004e9fe42e6, \< 63811edf512584c946e5e96b100e9e280703bbb5; Linux 6.4.

### Is there a fix for CVE-2026-99078?

Yes. Fixed in Linux 867119b4b588037724b85839d534465f0334d9bd, Linux 3d73a1164a8c6b4461907a65cb6c022ea4fd39af, Linux 63811edf512584c946e5e96b100e9e280703bbb5. Upgrade Linux to 63811edf512584c946e5e96b100e9e280703bbb5 or later.

### How do I check if I'm affected by CVE-2026-99078?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/f3a52e2ec2788a7f6b64137985c087188a54ad4f>
- other: <https://git.kernel.org/stable/c/d215d09606b0fcd18ad1eb532995782a21cea49d>
- other: <https://git.kernel.org/stable/c/867119b4b588037724b85839d534465f0334d9bd>
- other: <https://git.kernel.org/stable/c/3d73a1164a8c6b4461907a65cb6c022ea4fd39af>
- other: <https://git.kernel.org/stable/c/63811edf512584c946e5e96b100e9e280703bbb5>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-99078>

HTML: <https://flawdb.com/CVE-2026-99078> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-99078>
