CVE-2026-72050

octeontx2-af: Free BPID bitmap on setup failure

Published Aug 15, 2026 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

octeontx2-af: Free BPID bitmap on setup failure

nix_setup_bpids() allocates bp->bpids with rvu_alloc_bitmap(), which uses
a plain kcalloc(). If any of the following devm_kcalloc() allocations for
the BPID mapping arrays fails, the function returns without freeing the
bitmap. Free the BPID bitmap before returning from those error paths.

Analysis

AI-generated

Technical impact

In the Linux kernel, the octeontx2-af driver allocates a BPID bitmap during setup. If the driver encounters allocation failures when creating BPID mapping arrays, the allocated bitmap is not released, resulting in a memory leak. Over repeated failures this can exhaust kernel memory and destabilize the system. The weakness aligns with CWE-772 for missing deallocation of a memory manager.

Affected Systems

The vulnerability affects any system running a Linux kernel that contains the octeontx2-af driver code. Without specific version information, all kernel releases that compile this driver are potentially impacted.

Risk and Exploitability

The EPSS score is <1%, indicating a very low likelihood of exploitation. The CVSS score of 5.5 reflects a medium severity risk. The vulnerability is not listed in the CISA KEV catalog. The likely attack vector is a local or privileged user able to load or restart the octeontx2-af driver, which could trigger the allocation failure path. Because the flaw results only in a memory leak rather than immediate code execution, an attacker would need repeated failures to accumulate memory pressure, making the vulnerability potentially mitigated by resource limits or patching.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply a kernel update that includes the patch freeing the BPID bitmap on failure, as referenced in the linked kernel commits.
  • If an update cannot be applied immediately, monitor kernel memory usage for signs of bitmap leaks and consider disabling the octeontx2-af driver until the patch is applied.
  • Ensure that custom kernel builds incorporate the commit adding the missing free operation or manually insert the free call before returning on error paths.

Generated by OpenCVE AI on August 18, 2026 at 05:48 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-8887-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8888-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8889-1 Linux kernel (OEM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8887-2 Linux kernel (AWS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8888-2 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8887-3 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9003-1 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-9043-1 Linux kernel (NVIDIA) vulnerabilities
History
Type Values Removed Values Added
Weaknesses CWE-401
Type Values Removed Values Added
Weaknesses CWE-772
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Low

Type Values Removed Values Added
Weaknesses CWE-401
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: octeontx2-af: Free BPID bitmap on setup failure nix_setup_bpids() allocates bp->bpids with rvu_alloc_bitmap(), which uses a plain kcalloc(). If any of the following devm_kcalloc() allocations for the BPID mapping arrays fails, the function returns without freeing the bitmap. Free the BPID bitmap before returning from those error paths.
Title octeontx2-af: Free BPID bitmap on setup failure
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-772

    Missing Release of Resource after Effective Lifetime

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Aug 17, 2026, 5:07 AM
Reserved
Aug 9, 2026, 3:40 AM
Status
Received
Published
Aug 15, 2026, 6:21 AM
Modified
Aug 17, 2026, 6:18 AM
Severity
Low
Public date
Aug 15, 2026, 12:00 AM