{"id":"CVE-2026-90415","summary":"RDMA/cxgb4: free STAG index when TPT entry write fails","details":"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-\u003emrs, 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.","modified":"2026-09-18T03:48:38.327673463Z","published":"2026-09-17T16:09:40.714Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/90xxx/CVE-2026-90415.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2f17ca7ab5269ac2504e1039c3921373dccd7712"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5a21e5114cec4cd3f8a2843d4c46bc49634d6e96"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5fe4731bfbd8d83c4a14b4af3a27329969ce8a99"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8f6976d635d190e3d7af7103daaa581cf1ccc12e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9eeafcda1d6c11f0eec532243c4e96ec8c632bd7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a2e37d1ab773be3cd26b1c19593ca2dbcece9c57"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a64e2beb450179a5d43034af8d5476a11eac1486"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fdfb5cea4bf070cdb31d997efd87bb684df041fd"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/90xxx/CVE-2026-90415.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-90415"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"ec3eead217181d7360a11317a888ceb30807867c"},{"fixed":"5fe4731bfbd8d83c4a14b4af3a27329969ce8a99"},{"fixed":"8f6976d635d190e3d7af7103daaa581cf1ccc12e"},{"fixed":"9eeafcda1d6c11f0eec532243c4e96ec8c632bd7"},{"fixed":"5a21e5114cec4cd3f8a2843d4c46bc49634d6e96"},{"fixed":"2f17ca7ab5269ac2504e1039c3921373dccd7712"},{"fixed":"a2e37d1ab773be3cd26b1c19593ca2dbcece9c57"},{"fixed":"a64e2beb450179a5d43034af8d5476a11eac1486"},{"fixed":"fdfb5cea4bf070cdb31d997efd87bb684df041fd"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-90415.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.5.0"},{"fixed":"5.10.270"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.221"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.188"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.157"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.110"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.52"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-90415.json"}}],"schema_version":"1.9.0"}