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.
Published: 2026-08-15
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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

No advisories yet.

History

Tue, 18 Aug 2026 04:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-401

Tue, 18 Aug 2026 00:15:00 +0000

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


Sat, 15 Aug 2026 22:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-401

Sat, 15 Aug 2026 06:00:00 +0000

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

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-17T05:07:16.287Z

Reserved: 2026-08-09T03:40:39.902Z

Link: CVE-2026-72050

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-15T06:21:14.323

Modified: 2026-08-17T06:18:03.123

Link: CVE-2026-72050

cve-icon Redhat

Severity : Low

Publid Date: 2026-08-15T00:00:00Z

Links: CVE-2026-72050 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-18T06:00:04Z

Weaknesses
  • CWE-772

    Missing Release of Resource after Effective Lifetime