{
  "schema_version": "1.6.1",
  "id": "RPI-CVE-2026-90415",
  "modified": "2026-10-07T17:22:01Z",
  "upstream": [
    "CVE-2026-90415"
  ],
  "published": "2026-09-17T16:10:40Z",
  "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->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.",
  "affected": [
    {
      "package": {
        "ecosystem": "Raspberry Pi OS:12",
        "name": "linux"
      },
      "versions": [
        "1:6.1.47-1+rpt4"
      ],
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-2712",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v6",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v7",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v7l",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v8",
            "binary_version": "1:6.1.47-1+rpt4"
          }
        ]
      },
      "database_specific": {
        "per_version": {
          "1:6.1.47-1+rpt4": {
            "linux_commit": "655fc658a15ae7a6f37103754adb39ba52a9a14e",
            "upstream_version": "6.1.47",
            "assessment": "commit ancestry (strak rule)",
            "upstream_fixed": "6.1.188",
            "compiled_filter": false
          }
        }
      }
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.cve.org/CVERecord?id=CVE-2026-90415"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/5fe4731bfbd8d83c4a14b4af3a27329969ce8a99"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/8f6976d635d190e3d7af7103daaa581cf1ccc12e"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/9eeafcda1d6c11f0eec532243c4e96ec8c632bd7"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/5a21e5114cec4cd3f8a2843d4c46bc49634d6e96"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/2f17ca7ab5269ac2504e1039c3921373dccd7712"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/a2e37d1ab773be3cd26b1c19593ca2dbcece9c57"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/a64e2beb450179a5d43034af8d5476a11eac1486"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/fdfb5cea4bf070cdb31d997efd87bb684df041fd"
    }
  ],
  "database_specific": {
    "source": "https://git.kernel.org/pub/scm/linux/security/vulns.git",
    "upstream_modified": "2026-09-17T16:10:40Z"
  }
}
