Description
In the Linux kernel, the following vulnerability has been resolved:

octeontx2-af: npc: Fix size of entry2cntr_map

KASAN prints below splat. This is caused by allocating counter for
reserved mcam entry for cpt 2nd pass entry. But mcam->entry2cntr_map
is not allocated for reserved entries.

BUG: KASAN: slab-out-of-bounds in npc_map_mcam_entry_and_cntr+0xb0/0x1a0
Write of size 2 at addr ffff0001033e7ffe by task kworker/0:1/14

CPU: 0 PID: 14 Comm: kworker/0:1 Not tainted 6.1.67 #1
Hardware name: Marvell CN106XX board (DT)
Workqueue: events work_for_cpu_fn
Call trace:
dump_backtrace.part.0+0xe4/0xf0
show_stack+0x18/0x30
dump_stack_lvl+0x88/0xb4
print_report+0x154/0x458
kasan_report+0xb8/0x194
__asan_store2+0x7c/0xa0
npc_map_mcam_entry_and_cntr+0xb0/0x1a0
rvu_mbox_handler_npc_mcam_write_entry+0x268/0x280
npc_install_flow+0x840/0xfe0
rvu_npc_install_cpt_pass2_entry+0x138/0x190
rvu_nix_init+0x148c/0x2880
rvu_probe+0x1800/0x30b0
local_pci_probe+0x78/0xe0
work_for_cpu_fn+0x30/0x50
process_one_work+0x4cc/0x97c
worker_thread+0x360/0x630
kthread+0x1a0/0x1b0
ret_from_fork+0x10/0x20
Published: 2026-08-28
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability resides in the Linux kernel’s octeontx2‑af NPC driver; it is triggered by an out‑of‑bounds write when allocating a counter for reserved MCAM entries. The KASAN trace shows a slab‑out‑of‑bounds error that can corrupt kernel memory, potentially leading to a crash or arbitrary code execution by a local attacker with kernel privileges. The bug is specifically tied to the incorrect handling of the entry2cntr_map size during the second pass entry installation.

Affected Systems

Linux operating systems that include the octeontx2‑af NPC driver in their kernel build, such as those running on Marvell CN106XX hardware, are affected. Any kernel compiled with the vulnerable driver code before the patch that correctly allocates entry2cntr_map suffers from this flaw.

Risk and Exploitability

No CVSS or EPSS score is available, but the memory corruption nature of the bug indicates moderate to high risk. The vulnerability is not listed in the CISA KEV catalog, suggesting no documented large‑scale exploitation yet. However, an attacker who can gain kernel access could exploit the out‑of‑bounds write to compromise system stability or elevate privileges. The likely attack vector is local, requiring control over the systems' hardware or firmware that triggers MCAM entry installation.

Generated by OpenCVE AI on August 28, 2026 at 11:13 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that contains the octeontx2‑af NPC driver patch correcting the entry2cntr_map allocation.
  • If a kernel upgrade cannot be performed immediately, disable or isolate features that invoke MCAM entry installation to prevent the out‑of‑bounds condition.
  • Continuously monitor kernel logs for KASAN ‘slab‑out‑of‑bounds’ messages and investigate any anomalous activity promptly.
  • Coordinate with your distribution’s security team to apply any vendor‑released backports or security patches as soon as they are available.

Generated by OpenCVE AI on August 28, 2026 at 11:13 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 28 Aug 2026 11:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-122

Fri, 28 Aug 2026 07:30:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: octeontx2-af: npc: Fix size of entry2cntr_map KASAN prints below splat. This is caused by allocating counter for reserved mcam entry for cpt 2nd pass entry. But mcam->entry2cntr_map is not allocated for reserved entries. BUG: KASAN: slab-out-of-bounds in npc_map_mcam_entry_and_cntr+0xb0/0x1a0 Write of size 2 at addr ffff0001033e7ffe by task kworker/0:1/14 CPU: 0 PID: 14 Comm: kworker/0:1 Not tainted 6.1.67 #1 Hardware name: Marvell CN106XX board (DT) Workqueue: events work_for_cpu_fn Call trace: dump_backtrace.part.0+0xe4/0xf0 show_stack+0x18/0x30 dump_stack_lvl+0x88/0xb4 print_report+0x154/0x458 kasan_report+0xb8/0x194 __asan_store2+0x7c/0xa0 npc_map_mcam_entry_and_cntr+0xb0/0x1a0 rvu_mbox_handler_npc_mcam_write_entry+0x268/0x280 npc_install_flow+0x840/0xfe0 rvu_npc_install_cpt_pass2_entry+0x138/0x190 rvu_nix_init+0x148c/0x2880 rvu_probe+0x1800/0x30b0 local_pci_probe+0x78/0xe0 work_for_cpu_fn+0x30/0x50 process_one_work+0x4cc/0x97c worker_thread+0x360/0x630 kthread+0x1a0/0x1b0 ret_from_fork+0x10/0x20
Title octeontx2-af: npc: Fix size of entry2cntr_map
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-28T06:48:45.976Z

Reserved: 2026-08-26T14:34:25.776Z

Link: CVE-2026-80629

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-28T08:16:47.743

Modified: 2026-08-28T08:16:47.743

Link: CVE-2026-80629

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-28T11:15:03Z

Weaknesses
  • CWE-122

    Heap-based Buffer Overflow