net: mana: validate rx_req_idx to prevent out-of-bounds array access
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel ff1d5af207bcea857d45fe81505f1bc4b29eaef0, Kernel 01f7f893d5e1baae995beeb86cd0f3e6bb2a3b01, Kernel 355e9f2b2a7887ca38100127989af3e422ba71d0 and 10 more.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=ca9c54d2d6a5ab2430c4eda364c77125d62e5e0f <ff1d5af207bcea857d45fe81505f1bc4b29eaef0, >=ca9c54d2d6a5ab2430c4eda364c77125d62e5e0f <01f7f893d5e1baae995beeb86cd0f3e6bb2a3b01, >=ca9c54d2d6a5ab2430c4eda364c77125d62e5e0f <355e9f2b2a7887ca38100127989af3e422ba71d0, >=ca9c54d2d6a5ab2430c4eda364c77125d62e5e0f <5ddc715324badd7f2641bc177db1d027b402adae, >=ca9c54d2d6a5ab2430c4eda364c77125d62e5e0f <763a372d344fb12fae566d36ddb46e92454ad58c, >=ca9c54d2d6a5ab2430c4eda364c77125d62e5e0f <b809d0409991b75a6cff846a5ac27c3062953f84, >=ca9c54d2d6a5ab2430c4eda364c77125d62e5e0f <fa627a5eaa83fc0261f44ef3769693b886ca6e27, =5.13 | ff1d5af207bcea857d45fe81505f1bc4b29eaef0, 01f7f893d5e1baae995beeb86cd0f3e6bb2a3b01, 355e9f2b2a7887ca38100127989af3e422ba71d0, 5ddc715324badd7f2641bc177db1d027b402adae, 763a372d344fb12fae566d36ddb46e92454ad58c, b809d0409991b75a6cff846a5ac27c3062953f84, fa627a5eaa83fc0261f44ef3769693b886ca6e27 |
| linux-kernel: Kernel | >=5.16.0 <6.1.175, >=6.13.0 <6.18.34, >=6.19.0 <7.0.11, >=6.2.0 <6.6.142, >=6.7.0 <6.12.92, >=5.13.0 <5.15.209 | 6.1.175, 6.18.34, 7.0.11, 6.6.142, 6.12.92, 5.15.209 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket