Linux
RDMA/mana_ib: Disable RX steering on RSS QP destroy
In the Linux kernel, the following vulnerability has been resolved: RDMA/mana_ib: Disable RX steering on RSS QP destroy When an RSS QP is destroyed (e.g. DPDK exit), mana_ib_destroy_qp_rss() destroys the RX WQ objects but does not disable vPort RX steering in firmware. This leaves stale steering configuration that still points to the destroyed RX objects. If traffic continues to arrive (e.g. peer VM is still transmitting) and the VF interface is subsequently brought up (mana_open), the firmware may deliver completions using stale CQ IDs from the old RX objects. These CQ IDs can be reused by the ethernet driver for new TX CQs, causing RX completions to land on TX CQs: WARNING: mana_poll_tx_cq+0x1b8/0x220 [mana] (is_sq == false) WARNING: mana_gd_process_eq_events+0x209/0x290 (cq_table lookup fails) Fix this by disabling vPort RX steering before destroying RX WQ objects. Note that mana_fence_rqs() cannot be used here because the fence completion is delivered on the CQ, which is polled by user-mode (e.g. DPDK) and not visible to the kernel driver. Refactor the disable logic into a shared mana_disable_vport_rx() in mana_en, exported for use by mana_ib, replacing the duplicate code. The ethernet driver's mana_dealloc_queues() is also updated to call this common function.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 0266a177631d4c6b963b5b12dd986a8c5abdbf06, < 6a2d6273b6c3581ce7b90ce17b5cbb4efd19438f
- >= 0266a177631d4c6b963b5b12dd986a8c5abdbf06, < f1ccc4d500a0b87a5599343fc2f798048836e184
- >= 0266a177631d4c6b963b5b12dd986a8c5abdbf06, < 8ba804869382ce307f2a15f5f6f2adfd791f41dc
- >= 0266a177631d4c6b963b5b12dd986a8c5abdbf06, < 3be5ed233de03b00ae868cfc06e95331d8d9007c
- >= 0266a177631d4c6b963b5b12dd986a8c5abdbf06, < dbeb256e8dd87233d891b170c0b32a6466467036
Fixed in 6a2d6273b6c3581ce7b90ce17b5cbb4efd19438f, f1ccc4d500a0b87a5599343fc2f798048836e184, 8ba804869382ce307f2a15f5f6f2adfd791f41dc, 3be5ed233de03b00ae868cfc06e95331d8d9007c, dbeb256e8dd87233d891b170c0b32a6466467036
- 6.2
Fixed in 0, 6.6.140, 6.12.86, 6.18.27, 7.0.4, 7.1
Mitigation
Upgrade Linux to 6a2d6273b6c3581ce7b90ce17b5cbb4efd19438f or f1ccc4d500a0b87a5599343fc2f798048836e184 or 8ba804869382ce307f2a15f5f6f2adfd791f41dc or 3be5ed233de03b00ae868cfc06e95331d8d9007c or dbeb256e8dd87233d891b170c0b32a6466467036 or later.
Upgrade Linux to 0 or 6.6.140 or 6.12.86 or 6.18.27 or 7.0.4 or 7.1 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.