CVE Catalog

CVE-2026-90415

Unknown
Published: Translated: NVD NIST

Summary

In the Linux kernel, the RDMA/cxgb4 module leaks a STAG index when a TPT entry write fails. The write_tpt_entry() function allocates a STAG index but on write_adapter_mem() failure does not release it or reverse the statistics, leading to a leak until device teardown.

Risk Assessment

Leaking STAG indices can lead to hardware resource exhaustion and inability to register new memory regions. Over time, this may force a device or system restart.

Recommendation

Update the Linux kernel to a version containing the fix that returns the STAG index to tpt_table and decrements stats.stag.cur on write failure. Updating cxgb4 RDMA drivers is recommended.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

In the Linux kernel, the following vulnerability has been resolved: RDMA/cxgb4: free STAG index when TPT entry write fails write_tpt_entry() allocates a new STAG index with c4iw_get_resource() and bumps stats.stag.cur before programming the entry. When write_adapter_mem() fails, it returns the error without releasing the index or reversing the statistic. No MR is inserted into rhp->mrs, so deregistration never reclaims it, leaking the index until device teardown. Record whether this call allocated the index and, on a failed write, return it to tpt_table and decrement stats.stag.cur. Key the rollback on both the write error and that flag, not the error alone: a non-reset update carries a caller-owned STAG that this call did not allocate and must not free.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS