CVE Hub

CVE-2026-99078

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

Published
2026-10-23
Last modified
2026-10-24
CNA
Linux
NVD status
Received

Fetching some sources has been requested. Reload in about a minute to see them.

CVSS v3.1 (listed by NVD)
9.8
CRITICAL
Scored by Linux (not yet scored by NVD)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0 (listed by NVD)
—
Not scored
CVSS (listed by CVE.org)
9.8
CRITICAL
Scored by CNA (Linux) · v3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS exploit probability
0.2%
Percentile 12.4%
as of 2026-10-24
CISA KEV
—
Not listed

Attack conditions and impact

Derived from the CNA (via NVD) CVSS 3.1 vector
NetworkNo authNo interaction Confidentiality HIntegrity HAvailability H

This vulnerability may be exploitable over the internet without authentication or user interaction.

MetricValueMeaning
Attack vector AVNNetwork
Attack complexity ACLLow (easy)
Privileges required PRNNone
User interaction UINNone
Scope SUUnchanged
Confidentiality CHHigh
Integrity IHHigh
Availability AHHigh
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Description

NVD

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.

CVSS assessments

ProviderVersionScoreVector
NVD / 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)3.19.8 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CNA / Linux3.19.8 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products and packages

CNA (CVE.org)

VendorProductVersions
LinuxLinux
affected: 4c2a1323680709078736a2886c754004e9fe42e6 … < f3a52e2ec2788a7f6b64137985c087188a54ad4f
affected: 4c2a1323680709078736a2886c754004e9fe42e6 … < d215d09606b0fcd18ad1eb532995782a21cea49d
affected: 4c2a1323680709078736a2886c754004e9fe42e6 … < 867119b4b588037724b85839d534465f0334d9bd
affected: 4c2a1323680709078736a2886c754004e9fe42e6 … < 3d73a1164a8c6b4461907a65cb6c022ea4fd39af
affected: 4c2a1323680709078736a2886c754004e9fe42e6 … < 63811edf512584c946e5e96b100e9e280703bbb5
default: unaffected
LinuxLinux
affected: 6.4
unaffected: 0 … < 6.4
unaffected: 6.6.160 … <= 6.6.*
unaffected: 6.12.113 … <= 6.12.*
unaffected: 6.18.57 … <= 6.18.*
unaffected: 7.2.11 … <= 7.2.*
unaffected: 7.3 … <= *
default: affected

Open-source packages (GitHub Advisory / OSV)

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

EcosystemPackageAffected versionsFixed in
>= 4c2a1323680709078736a2886c754004e9fe42e6, < f3a52e2ec2788a7f6b64137985c087188a54ad4f; < d215d09606b0fcd18ad1eb532995782a21cea49d; < 867119b4b588037724b85839d534465f0334d9bd; < 3d73a1164a8c6b4461907a65cb6c022ea4fd39af; < 63811edf512584c946e5e96b100e9e280703bbb5f3a52e2ec2788a7f6b64137985c087188a54ad4f, d215d09606b0fcd18ad1eb532995782a21cea49d, 867119b4b588037724b85839d534465f0334d9bd, 3d73a1164a8c6b4461907a65cb6c022ea4fd39af, 63811edf512584c946e5e96b100e9e280703bbb5
LinuxKernel>= 6.4.0, < 6.6.160; >= 6.7.0, < 6.12.113; >= 6.13.0, < 6.18.57; >= 6.19.0, < 7.2.116.6.160, 6.12.113, 6.18.57, 7.2.11

Linux distribution status

Red Hat ↗ Fetching

Debian ↗

ReleasePackageStatusFixed version / notes
bookwormlinuxnot-affected unimportant
forkylinuxresolved not yet assigned7.2.11-1
sidlinuxresolved not yet assigned7.2.11-1
trixielinuxresolved not yet assigned6.12.113-1

Ubuntu ↗ Fetching

References (8)