CVE-2026-80629

Description

A flaw was found in the Linux kernel's octeontx2-af: npc component. This vulnerability arises from incorrect memory allocation when processing reserved MCAM entries for the CPT 2nd pass, leading to a small out-of-bounds write. An attacker could potentially exploit this memory corruption to cause a system crash, resulting in a Denial of Service (DoS).

Statement

A flaw was found in the Linux kernel's OcteonTX2 admin function (octeontx2-af) Network Processor Classifier (NPC) driver. The array that maps MCAM entries to action counters (mcam->entry2cntr_map) was allocated only for the number of non-reserved MCAM entries, but a counter can also be allocated for a reserved MCAM entry, such as the CPT second-pass entry installed during driver initialization. Mapping such a reserved entry writes past the end of the array, resulting in a small (2-byte) slab out-of-bounds write that can corrupt kernel memory and crash the kernel, causing a denial of service. Red Hat rated this flaw Moderate impact (CVSS 5.5, CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H) because triggering it requires local privileged access on systems using affected Marvell OCTEON TX2 hardware rather than remote network access. Red Hat Enterprise Linux 6, 7, and 8 are not affected because the vulnerable code is not present in those kernels. The kernel and kernel-rt packages in Red Hat Enterprise Linux 9 and 10, and the kernel and kernel-ivos-qualcomm packages in Red Hat In-Vehicle OS 2, are affected; fixes for these releases are currently deferred, and the residual risk is that on affected Marvell OCTEON TX2 systems the out-of-bounds write can still occur when MCAM counters are configured, for example during driver initialization, leading to a kernel crash and denial of service.

Mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

Common Vulnerability Scoring System (CVSS) Score Details

Info alert:Important note

CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).

The following CVSS metrics and score provided are preliminary and subject to review.

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score5.5N/AN/A
Attack VectorLocalN/AN/A
Attack ComplexityLowN/AN/A
Privileges RequiredLowN/AN/A
User InteractionNoneN/AN/A
ScopeUnchangedN/AN/A
ConfidentialityNoneN/AN/A
Integrity ImpactNoneN/AN/A
Availability ImpactHighN/AN/A

Vector

Red Hat: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Understanding the Weakness (CWE)

Integrity

Technical Impact: Modify Memory; Execute Unauthorized Code or Commands

Write operations could cause memory corruption. In some cases, an adversary can modify control data such as return addresses in order to execute unexpected code.

Availability

Technical Impact: DoS: Crash, Exit, or Restart

Attempting to access out-of-range, invalid, or unauthorized memory could cause the product to crash.

Other

Technical Impact: Unexpected State

Subsequent write operations can produce undefined or unexpected results.

Frequently Asked Questions

Want to get errata notifications? Sign up here.