Linux
RDMA/erdma: complete object teardown when the destroy command fails
In the Linux kernel, the following vulnerability has been resolved: RDMA/erdma: complete object teardown when the destroy command fails erdma_destroy_qp(), erdma_destroy_cq(), erdma_dereg_mr(), and erdma_destroy_ah() returned early when erdma_post_cmd_wait() failed, leaking the queue buffers, MTTs, doorbells and the STAG, QPN, CQN and AHN identifiers. A command timeout clears ERDMA_CMDQ_STATE_OK_BIT and permanently disables the command queue, so no retry can succeed; the RDMA core keeps the object after a failed destructor and forced uverbs cleanup then nulls the pointers, making the resources unreachable. Warn on failure but release every software-owned resource and return success, since during terminal destruction the hardware command result is only diagnostic.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 155055771704f8cbb5c176a4309b7dc30a50450c, < 4f5cd6a2081ec956db25b8e9f71d052f68d522c7
- >= 155055771704f8cbb5c176a4309b7dc30a50450c, < 3886d944b506e0cc681646beb03c3024cb375a68
- >= 155055771704f8cbb5c176a4309b7dc30a50450c, < 5fcfc988ecf3e2bbe308b95c2c0d2f011d9afabe
- >= 155055771704f8cbb5c176a4309b7dc30a50450c, < ce7d205c264665517c25e8a3231cf2d0c2443e3c
- >= 155055771704f8cbb5c176a4309b7dc30a50450c, < 334145d683ad3e31d052247f10807f2ebc950351
- >= 155055771704f8cbb5c176a4309b7dc30a50450c, < 652befcba956ef357f480525ccbe25c59bc81d4d
Fixed in 4f5cd6a2081ec956db25b8e9f71d052f68d522c7, 3886d944b506e0cc681646beb03c3024cb375a68, 5fcfc988ecf3e2bbe308b95c2c0d2f011d9afabe, ce7d205c264665517c25e8a3231cf2d0c2443e3c, 334145d683ad3e31d052247f10807f2ebc950351, 652befcba956ef357f480525ccbe25c59bc81d4d
- 6.0
Fixed in 0, 6.1.191, 6.6.160, 6.12.110, 6.18.52, 7.2.6, 7.3
Mitigation
Upgrade Linux to 4f5cd6a2081ec956db25b8e9f71d052f68d522c7 or 3886d944b506e0cc681646beb03c3024cb375a68 or 5fcfc988ecf3e2bbe308b95c2c0d2f011d9afabe or ce7d205c264665517c25e8a3231cf2d0c2443e3c or 334145d683ad3e31d052247f10807f2ebc950351 or 652befcba956ef357f480525ccbe25c59bc81d4d or later.
Upgrade Linux to 0 or 6.1.191 or 6.6.160 or 6.12.110 or 6.18.52 or 7.2.6 or 7.3 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.