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… (CVE-2026-99078)
Description
A vulnerability in the Linux kernel's mlx5e driver related to AF_XDP zero-copy buffer management has been resolved. The issue involved stale XSK buffer releases during MPWQE refill retries, which could cause double freeing of buffers through stale pointers. The fix ensures that buffer release retries become idempotent by properly managing the release bitmap in error paths. Extensive testing showed no invalid descriptors, WQE errors, or kernel warnings after the fix.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel's mlx5e driver for AF_XDP with a striding receive queue (RQ) deferred releasing XSK buffers until an MPWQE refill. If buffer allocation failed with -ENOMEM, the work queue head was not advanced, causing retries of the same work queue entry (WQE). The function mlx5e_free_rx_mpwqe() marked released slots as releasable, so on retry, it could call xsk_buff_free() again on stale pointers after buffers had been returned and reallocated, risking double free. The fix sets all skip_release_bitmap bits in the common error path of mlx5e_xsk_alloc_rx_mpwqe(), making retries idempotent without affecting successful allocations. Fault injection tests confirmed the fix's effectiveness under repeated allocation failures and long zero-copy pressure runs.
Potential Impact
The vulnerability could lead to double freeing of XSK buffers in the mlx5e driver, potentially causing memory corruption or kernel instability. However, extensive testing did not reveal invalid descriptors, WQE errors, or kernel warnings, suggesting the issue was contained to buffer management and did not cause broader kernel faults in tested scenarios.
Mitigation Recommendations
A fix has been implemented in the Linux kernel mlx5e driver to address this issue. Users should apply the official kernel updates that include this patch. No additional mitigation actions are indicated beyond updating to the fixed kernel version.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-365v-92v4-8whj
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-99078"]
Threat ID: 6adbaaced73cc49347b20511
Added to database: 10/23/2026, 18:43:26 UTC
Last enriched: 10/23/2026, 18:51:12 UTC
Last updated: 10/24/2026, 00:45:07 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.