KernelScan.io

CRITICAL Introduced in 5.7

octeontx SgCleanup Leak

CVE-2026-74280

CVSS 10.0 / 10.0 NVD

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

KernelScan AI5.5MEDIUM

01

In the Linux kernel, the following vulnerability has been resolved: crypto: marvell/octeontx - fix DMA cleanup using wrong loop index The sg_cleanup path used list[i] instead of list[j] when unmapping DMA buffers, leaking successfully mapped entries and repeatedly unmapping the failed one.

02

Engine v0.6.0

Risk summary

A wrong loop index in the DMA cleanup error path of the Marvell OcteonTX crypto driver causes DMA mappings to leak when a mapping fails partway through setup. Local unprivileged users on systems with this specific hardware can reach the vulnerable code through the kernel crypto API, potentially exhausting DMA resources over repeated triggers and causing inconsistent DMA state.

Affecteddrivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c (marvell octeontx crypto)

Vulnerability analysis

When a scatter-gather DMA mapping fails partway through buffer setup, the error cleanup path in the Marvell OcteonTX crypto driver is supposed to unmap all previously successful mappings. Instead, it uses the wrong loop index, repeatedly referencing the failed entry while never unmapping the valid ones. This leaks DMA mappings for every successfully mapped buffer and performs repeated invalid DMA unmap operations on the failed entry. The fix corrects the loop index so each successfully mapped buffer is properly unmapped during cleanup. The vulnerable path is reachable from local userspace through the kernel crypto API (AF_ALG sockets) on systems equipped with Marvell OcteonTX 83XX hardware, requiring no special privileges to trigger crypto operations.

03

BranchIntroducedFixed inPatch commit
5.105.75.10.26197f150ba3e37
5.155.75.15.2128a0db9fad3c9
6.15.76.1.1788d301e5a5117
6.125.76.12.976c721a3e4334
6.185.76.18.405f99a396f706
6.65.76.6.145ed374dbc70c1
7.15.77.1.5acff30cfc0d7
mainline5.77.27891c64c0520
cip/5.105.75.10.263-cip7697f150ba3e37
cip/5.10-rt5.75.10.268-cip77-rt3497f150ba3e37
cip/6.15.76.1.182-cip598d301e5a5117
cip/6.1-rt5.76.1.182-cip59-rt318d301e5a5117
cip/6.125.76.12.101-cip296c721a3e4334

04

State of the newest release of each Civil Infrastructure Platform SLTS tree, from CIP's own fix records.

CIP treeState
cip/6.12Fixed in 6.12.101-cip29
cip/6.1Fixed in 6.1.182-cip59
cip/6.1-rtFixed in 6.1.182-cip59-rt31
cip/5.10Fixed in 5.10.263-cip76
cip/5.10-rtFixed in 5.10.268-cip77-rt34