RDMA/erdma: complete object teardown when the destroy command fails
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel ce7d205c264665517c25e8a3231cf2d0c2443e3c, Kernel 334145d683ad3e31d052247f10807f2ebc950351, Kernel 3886d944b506e0cc681646beb03c3024cb375a68 and 8 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=155055771704f8cbb5c176a4309b7dc30a50450c <ce7d205c264665517c25e8a3231cf2d0c2443e3c, >=155055771704f8cbb5c176a4309b7dc30a50450c <334145d683ad3e31d052247f10807f2ebc950351, >=155055771704f8cbb5c176a4309b7dc30a50450c <3886d944b506e0cc681646beb03c3024cb375a68, >=155055771704f8cbb5c176a4309b7dc30a50450c <4f5cd6a2081ec956db25b8e9f71d052f68d522c7, >=155055771704f8cbb5c176a4309b7dc30a50450c <5fcfc988ecf3e2bbe308b95c2c0d2f011d9afabe, >=155055771704f8cbb5c176a4309b7dc30a50450c <652befcba956ef357f480525ccbe25c59bc81d4d, =6.0 | ce7d205c264665517c25e8a3231cf2d0c2443e3c, 334145d683ad3e31d052247f10807f2ebc950351, 3886d944b506e0cc681646beb03c3024cb375a68, 4f5cd6a2081ec956db25b8e9f71d052f68d522c7, 5fcfc988ecf3e2bbe308b95c2c0d2f011d9afabe, 652befcba956ef357f480525ccbe25c59bc81d4d |
| linux-kernel: Kernel | >=6.13.0 <6.18.52, >=6.19.0 <7.2.6, >=6.2.0 <6.6.160, >=6.7.0 <6.12.110, >=6.0.0 <6.1.191 | 6.18.52, 7.2.6, 6.6.160, 6.12.110, 6.1.191 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket