net: mana: validate rx_req_idx to prevent out-of-bounds array access
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 5.15.209, 6.1.175, 6.6.142, 6.12.92, 6.18.34, and 1 more
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: total
Summary
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.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: total
- Record last updated
Affected versions
- Linux Linux
From ca9c54d2d6a5ab2430c4eda364c77125d62e5e0f · fixed in 5ddc715324badd7f2641bc177db1d027b402adae; From ca9c54d2d6a5ab2430c4eda364c77125d62e5e0f · fixed in ff1d5af207bcea857d45fe81505f1bc4b29eaef0; From ca9c54d2d6a5ab2430c4eda364c77125d62e5e0f · fixed in 01f7f893d5e1baae995beeb86cd0f3e6bb2a3b01; From ca9c54d2d6a5ab2430c4eda364c77125d62e5e0f · fixed in 763a372d344fb12fae566d36ddb46e92454ad58c; From ca9c54d2d6a5ab2430c4eda364c77125d62e5e0f · fixed in fa627a5eaa83fc0261f44ef3769693b886ca6e27; From ca9c54d2d6a5ab2430c4eda364c77125d62e5e0f · fixed in 355e9f2b2a7887ca38100127989af3e422ba71d0; From ca9c54d2d6a5ab2430c4eda364c77125d62e5e0f · fixed in b809d0409991b75a6cff846a5ac27c3062953f84
- Linux Linux
5.13
- KernelLinux
From 5.13.0 · fixed in 5.15.209; From 5.16.0 · fixed in 6.1.175; From 6.2.0 · fixed in 6.6.142; From 6.7.0 · fixed in 6.12.92; From 6.13.0 · fixed in 6.18.34; From 6.19.0 · fixed in 7.0.11
References 7
git.kernel.org
- stable/c/5ddc715324badd7f2641bc177db1d027b402adae
- stable/c/ff1d5af207bcea857d45fe81505f1bc4b29eaef0
- stable/c/01f7f893d5e1baae995beeb86cd0f3e6bb2a3b01
- stable/c/763a372d344fb12fae566d36ddb46e92454ad58c
- stable/c/fa627a5eaa83fc0261f44ef3769693b886ca6e27
- stable/c/355e9f2b2a7887ca38100127989af3e422ba71d0
- stable/c/b809d0409991b75a6cff846a5ac27c3062953f84