{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "6c52fdc244b5ccc468006fd65a504d4ee33743c7"
            },
            {
              "fixed": "f11e09fe2fc3a11ccdf8f932b68181b0bb1d2078"
            },
            {
              "fixed": "e3f039082856adab7e195dea1af45d93dd6a3f1c"
            },
            {
              "fixed": "ad50d19f3d1ce052b3a146143581e930a1efb33e"
            },
            {
              "fixed": "030306bbb9273af80f14d7af20129661964cd9a7"
            },
            {
              "fixed": "df2584750314336edcbcc21fb388e04b260f35b7"
            },
            {
              "fixed": "9dcc0f4e488b70cff81e0e5717a498c929cf5de3"
            },
            {
              "fixed": "bfdc744bf20ae4c3ef2e470298de5237c5c9a13c"
            },
            {
              "fixed": "32cd87f54dd1070020e664ccb0312a9f0fea79b4"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "5.3.0"
            },
            {
              "fixed": "5.10.271"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.11.0"
            },
            {
              "fixed": "5.15.222"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.16.0"
            },
            {
              "fixed": "6.1.189"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.2.0"
            },
            {
              "fixed": "6.6.158"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.112"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.54"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.2.8"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98367.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/siw: Clear association under lock if siw_qp_modify fails in siw_accept\n\nWe need to clear cep before release state_lock as siw_qp_llp_close and\nsiw_qp_modify-\u003esiw_qp_llp_close did.\n\nOtherwise if siw_qp_modify() fails in siw_accept(), the QP's state_lock\nis released before the error path cleanup. A concurrent ibv_modify_qp()\ntransitioning the QP to ERROR can race in this window:\n\n  siw_accept()                       ibv_modify_qp(ERROR)\n  ----------------------             ----------------------\n  siw_qp_modify() fails\n  up_write(\u0026qp-\u003estate_lock)\n                                     down_write(\u0026qp-\u003estate_lock)\n                                     nextstate_from_idle():\n\t\t\t\t     if (qp-\u003ecep)\n                                       siw_cep_put(qp-\u003ecep) \u003c- frees cep\n                                       qp-\u003ecep = NULL\n  goto error\n    cep-\u003eqp = NULL                   \u003c- UAF\n\nClear qp-\u003ecep and drop the association reference taken by siw_cep_get(),\nall under the write lock held from the initial down_write(\u0026qp-\u003estate_lock).\nThread B therefore sees qp-\u003ecep == NULL, skips its own put, and cannot free\nthe cep before siw_accept() is done with it.",
  "id": "CVE-2026-98367",
  "modified": "2026-10-08T02:30:18.620455990Z",
  "published": "2026-10-06T08:46:52.452Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/030306bbb9273af80f14d7af20129661964cd9a7"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/32cd87f54dd1070020e664ccb0312a9f0fea79b4"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/9dcc0f4e488b70cff81e0e5717a498c929cf5de3"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/ad50d19f3d1ce052b3a146143581e930a1efb33e"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/bfdc744bf20ae4c3ef2e470298de5237c5c9a13c"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/df2584750314336edcbcc21fb388e04b260f35b7"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/e3f039082856adab7e195dea1af45d93dd6a3f1c"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/f11e09fe2fc3a11ccdf8f932b68181b0bb1d2078"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98367.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-98367"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "RDMA/siw: Clear association under lock if siw_qp_modify fails in siw_accept"
}