CVE-2026-90415

RDMA/cxgb4: free STAG index when TPT entry write fails

State
Published
Severity
Not scored
Published
Sep 17, 2026
Updated
Oct 19, 2026
Reserved
Sep 11, 2026

Read the record on cve.org

Description

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • ec3eead217181d7360a11317a888ceb30807867c to before 5fe4731bfbd8d83c4a14b4af3a27329969ce8a99Affected
  • ec3eead217181d7360a11317a888ceb30807867c to before 8f6976d635d190e3d7af7103daaa581cf1ccc12eAffected
  • ec3eead217181d7360a11317a888ceb30807867c to before 9eeafcda1d6c11f0eec532243c4e96ec8c632bd7Affected
  • ec3eead217181d7360a11317a888ceb30807867c to before 5a21e5114cec4cd3f8a2843d4c46bc49634d6e96Affected
  • ec3eead217181d7360a11317a888ceb30807867c to before 2f17ca7ab5269ac2504e1039c3921373dccd7712Affected
  • ec3eead217181d7360a11317a888ceb30807867c to before a2e37d1ab773be3cd26b1c19593ca2dbcece9c57Affected
  • ec3eead217181d7360a11317a888ceb30807867c to before a64e2beb450179a5d43034af8d5476a11eac1486Affected
  • ec3eead217181d7360a11317a888ceb30807867c to before fdfb5cea4bf070cdb31d997efd87bb684df041fdAffected
LinuxLinux
  • 3.5Affected
  • before 3.5Not affected
  • 5.10.270 through 5.10.*Not affected
  • 5.15.221 through 5.15.*Not affected
  • 6.1.188 through 6.1.*Not affected
  • 6.6.157 through 6.6.*Not affected
  • 6.12.110 through 6.12.*Not affected
  • 6.18.52 through 6.18.*Not affected
  • 7.2.6 through 7.2.*Not affected
  • 7.3 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.