CVE-2026-64018 PUBLISHED

net: mana: validate rx_req_idx to prevent out-of-bounds array access

Assigner: Linux
Reserved: 19.07.2026 Published: 19.07.2026 Updated: 20.07.2026

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

net: mana: validate rx_req_idx to prevent out-of-bounds array access

In mana_hwc_rx_event_handler(), rx_req_idx is derived from sge->address in DMA-coherent memory. In Confidential VMs (SEV-SNP/TDX), this memory is shared unencrypted and HW can modify WQE contents at any time. No bounds check exists on rx_req_idx, which can lead to an out-of-bounds access into reqs[].

Add bounds check on rx_req_idx in mana_hwc_rx_event_handler() before using it to index the reqs[] array.

Metrics

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

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from ca9c54d2d6a5ab2430c4eda364c77125d62e5e0f to 5ddc715324badd7f2641bc177db1d027b402adae (excl.)
  • affected from ca9c54d2d6a5ab2430c4eda364c77125d62e5e0f to ff1d5af207bcea857d45fe81505f1bc4b29eaef0 (excl.)
  • affected from ca9c54d2d6a5ab2430c4eda364c77125d62e5e0f to 01f7f893d5e1baae995beeb86cd0f3e6bb2a3b01 (excl.)
  • affected from ca9c54d2d6a5ab2430c4eda364c77125d62e5e0f to 763a372d344fb12fae566d36ddb46e92454ad58c (excl.)
  • affected from ca9c54d2d6a5ab2430c4eda364c77125d62e5e0f to fa627a5eaa83fc0261f44ef3769693b886ca6e27 (excl.)
  • affected from ca9c54d2d6a5ab2430c4eda364c77125d62e5e0f to 355e9f2b2a7887ca38100127989af3e422ba71d0 (excl.)
  • affected from ca9c54d2d6a5ab2430c4eda364c77125d62e5e0f to b809d0409991b75a6cff846a5ac27c3062953f84 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 5.13 is affected
  • unaffected from 0 to 5.13 (excl.)
  • unaffected from 5.15.209 to 5.15.* (incl.)
  • unaffected from 6.1.175 to 6.1.* (incl.)
  • unaffected from 6.6.142 to 6.6.* (incl.)
  • unaffected from 6.12.92 to 6.12.* (incl.)
  • unaffected from 6.18.34 to 6.18.* (incl.)
  • unaffected from 7.0.11 to 7.0.* (incl.)
  • unaffected from 7.1 to * (incl.)

References