{"id":"CVE-2026-90415","aliases":["CVE-2026-90415"],"related":[],"kind":"vulnerability","state":"published","title":"RDMA/cxgb4: free STAG index when TPT entry write fails","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/cxgb4: free STAG index when TPT entry write fails\n\nwrite_tpt_entry() allocates a new STAG index with c4iw_get_resource() and\nbumps stats.stag.cur before programming the entry.  When\nwrite_adapter_mem() fails, it returns the error without releasing the index\nor reversing the statistic.  No MR is inserted into rhp->mrs, so\nderegistration never reclaims it, leaking the index until device teardown.\n\nRecord whether this call allocated the index and, on a failed write, return\nit to tpt_table and decrement stats.stag.cur.  Key the rollback on both the\nwrite error and that flag, not the error alone: a non-reset update carries\na caller-owned STAG that this call did not allocate and must not free.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/cxgb4: free STAG index when TPT entry write fails\n\nwrite_tpt_entry() allocates a new STAG index with c4iw_get_resource() and\nbumps stats.stag.cur before programming the entry.  When\nwrite_adapter_mem() fails, it returns the error without releasing the index\nor reversing the statistic.  No MR is inserted into rhp->mrs, so\nderegistration never reclaims it, leaking the index until device teardown.\n\nRecord whether this call allocated the index and, on a failed write, return\nit to tpt_table and decrement stats.stag.cur.  Key the rollback on both the\nwrite error and that flag, not the error alone: a non-reset update carries\na caller-owned STAG that this call did not allocate and must not free.","source":"cvelist"}],"published":"2026-09-17T16:09:40.714Z","modified":"2026-10-19T09:19:35.813Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"ec3eead217181d7360a11317a888ceb30807867c","fixed":"5fe4731bfbd8d83c4a14b4af3a27329969ce8a99","status":"affected"},{"type":"git","introduced":"ec3eead217181d7360a11317a888ceb30807867c","fixed":"8f6976d635d190e3d7af7103daaa581cf1ccc12e","status":"affected"},{"type":"git","introduced":"ec3eead217181d7360a11317a888ceb30807867c","fixed":"9eeafcda1d6c11f0eec532243c4e96ec8c632bd7","status":"affected"},{"type":"git","introduced":"ec3eead217181d7360a11317a888ceb30807867c","fixed":"5a21e5114cec4cd3f8a2843d4c46bc49634d6e96","status":"affected"},{"type":"git","introduced":"ec3eead217181d7360a11317a888ceb30807867c","fixed":"2f17ca7ab5269ac2504e1039c3921373dccd7712","status":"affected"},{"type":"git","introduced":"ec3eead217181d7360a11317a888ceb30807867c","fixed":"a2e37d1ab773be3cd26b1c19593ca2dbcece9c57","status":"affected"},{"type":"git","introduced":"ec3eead217181d7360a11317a888ceb30807867c","fixed":"a64e2beb450179a5d43034af8d5476a11eac1486","status":"affected"},{"type":"git","introduced":"ec3eead217181d7360a11317a888ceb30807867c","fixed":"fdfb5cea4bf070cdb31d997efd87bb684df041fd","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.5","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.5","status":"unaffected"},{"type":"semver","introduced":"5.10.270","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.221","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.188","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.157","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.110","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.52","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.6","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/5fe4731bfbd8d83c4a14b4af3a27329969ce8a99","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8f6976d635d190e3d7af7103daaa581cf1ccc12e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9eeafcda1d6c11f0eec532243c4e96ec8c632bd7","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5a21e5114cec4cd3f8a2843d4c46bc49634d6e96","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2f17ca7ab5269ac2504e1039c3921373dccd7712","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a2e37d1ab773be3cd26b1c19593ca2dbcece9c57","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a64e2beb450179a5d43034af8d5476a11eac1486","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fdfb5cea4bf070cdb31d997efd87bb684df041fd","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-90415","url":"https://www.cve.org/CVERecord?id=CVE-2026-90415","licence":"CVE Terms of Use","modified":"2026-10-19T09:03:19.452Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-90415","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-90415","licence":"Public domain","modified":"2026-10-19T09:19:35.813Z"}],"updatedAt":"2026-11-25T22:59:39.410Z","epss":{"score":0.00177,"percentile":0.0753,"date":"2026-12-01T12:00:22.000Z"}}