CVE-2026-74280 PUBLISHED

crypto: marvell/octeontx - fix DMA cleanup using wrong loop index

Assigner: Linux
Reserved: 15.08.2026 Published: 15.08.2026 Updated: 17.08.2026

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.

Metrics

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

AV:N - On OcteonTX/Thunder network appliances, remote peers reach setup_sgio_components() through inbound IPsec ESP or kTLS decryption that offloads AEAD/skcipher to the Marvell CPT VF before any peer authentication. AC:L - An attacker can reliably force the buggy sg_cleanup path by submitting heavily fragmented scatter-gather crypto requests that exhaust DMA/IOMMU mappings, causing dma_map_single() to fail at index i>=1 while earlier entries remain mapped. PR:N - Inbound network decryption invokes CPT hardware offload without attacker credentials; no init-namespace root or CAP_NET_ADMIN is required on an already configured VPN/TLS endpoint to deliver ciphertext that reaches this driver. UI:N - Exploitation requires only automated kernel crypto processing of attacker-supplied ciphertext or AF_ALG requests; no victim mount, file open, or other interactive action is needed. S:C - The flaw leaks DMA_BIDIRECTIONAL IOMMU mappings for the CPT PCI device, crossing the intended DMA boundary between host memory and hardware crypto offload rather than staying within a single software security scope. C:H - Leaked bidirectional IOMMU mappings leave previously mapped pages device-readable after logical cleanup, enabling memory disclosure when stale mappings persist or interact with subsequent CPT DMA activity under resource pressure. I:H - Unreleased DMA_BIDIRECTIONAL mappings and repeated bogus dma_unmap_single() calls on the failed entry can corrupt IOMMU bookkeeping and allow the CPT device to perform unintended DMA writes to host memory outside the aborted request buffers. A:H - Each triggered failure leaks IOMMU mappings and may WARN or panic on invalid unmaps, causing gradual DMA resource exhaustion or immediate kernel crashes that deny crypto and overall system availability on affected OcteonTX systems.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 10b4f09491bfeb0b298cb2f49df585510ee6189a to 97f150ba3e372256eabb93bd80c2cf3740077fb5 (excl.)
  • affected from 10b4f09491bfeb0b298cb2f49df585510ee6189a to 8a0db9fad3c97e6447a92417cb95d7c55eaa9530 (excl.)
  • affected from 10b4f09491bfeb0b298cb2f49df585510ee6189a to 8d301e5a51173ba56ce4f632a2a33bf6b14b0fcf (excl.)
  • affected from 10b4f09491bfeb0b298cb2f49df585510ee6189a to ed374dbc70c10c4a864414b3d9c257faec8fd485 (excl.)
  • affected from 10b4f09491bfeb0b298cb2f49df585510ee6189a to 6c721a3e43344f8560ee4ef506fc1f72b4646dcd (excl.)
  • affected from 10b4f09491bfeb0b298cb2f49df585510ee6189a to 5f99a396f706afc749448659d1565991330e4f71 (excl.)
  • affected from 10b4f09491bfeb0b298cb2f49df585510ee6189a to acff30cfc0d72465b51b0bfdf019f1cb54e15314 (excl.)
  • affected from 10b4f09491bfeb0b298cb2f49df585510ee6189a to 7891c64c0520519782470ba29bac8a5761e295d8 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 5.7 is affected
  • unaffected from 0 to 5.7 (excl.)
  • unaffected from 5.10.261 to 5.10.* (incl.)
  • unaffected from 5.15.212 to 5.15.* (incl.)
  • unaffected from 6.1.178 to 6.1.* (incl.)
  • unaffected from 6.6.145 to 6.6.* (incl.)
  • unaffected from 6.12.97 to 6.12.* (incl.)
  • unaffected from 6.18.40 to 6.18.* (incl.)
  • unaffected from 7.1.5 to 7.1.* (incl.)
  • unaffected from 7.2 to * (incl.)

References