{
  "id": "CVE-2026-31476",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-31476",
  "published_at": "2026-04-22T13:54:04.779Z",
  "title": "ksmbd: do not expire session on binding failure",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 8.2,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: do not expire session on binding failure\n\nWhen a multichannel session binding request fails (e.g. wrong password),\nthe error path unconditionally sets sess-\u003estate = SMB2_SESSION_EXPIRED.\nHowever, during binding, sess points to the target session looked up via\nksmbd_session_lookup_slowpath() -- which belongs to another connection's\nuser. This allows a remote attacker to invalidate any active session by\nsimply sending a binding request with a wrong password (DoS).\n\nFix this by skipping session expiration when the failed request was\na binding attempt, since the session does not belong to the current\nconnection. The reference taken by ksmbd_session_lookup_slowpath() is\nstill correctly released via ksmbd_user_session_put().",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:5.15:-:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc3:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc4:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc5:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc6:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc7:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.2
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= f5a544e3bab78142207e0242d22442db85ba1eff, \u003c 4642ea35c03cf3d3558c009df4757cdb7af3f82d",
          "\u003e= f5a544e3bab78142207e0242d22442db85ba1eff, \u003c f5300690c23c5ac860499bb37dbc09cf43fd62e6",
          "\u003e= f5a544e3bab78142207e0242d22442db85ba1eff, \u003c 6fafc4c4238e538969f1375f9ecdc6587c53f1cc",
          "\u003e= f5a544e3bab78142207e0242d22442db85ba1eff, \u003c 1d1888b4a7aec518b707f6eca0bf08992c0e8da3",
          "\u003e= f5a544e3bab78142207e0242d22442db85ba1eff, \u003c a897064a457056acb976e20e3007cdf553de340f",
          "\u003e= f5a544e3bab78142207e0242d22442db85ba1eff, \u003c e0e5edc81b241c70355217de7e120c97c3429deb",
          "\u003e= f5a544e3bab78142207e0242d22442db85ba1eff, \u003c 9bbb19d21ded7d78645506f20d8c44895e3d0fb9"
        ],
        "fixed_in": [
          "4642ea35c03cf3d3558c009df4757cdb7af3f82d",
          "f5300690c23c5ac860499bb37dbc09cf43fd62e6",
          "6fafc4c4238e538969f1375f9ecdc6587c53f1cc",
          "1d1888b4a7aec518b707f6eca0bf08992c0e8da3",
          "a897064a457056acb976e20e3007cdf553de340f",
          "e0e5edc81b241c70355217de7e120c97c3429deb",
          "9bbb19d21ded7d78645506f20d8c44895e3d0fb9"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "5.15"
        ],
        "fixed_in": [
          "0",
          "5.15.209",
          "6.1.168",
          "6.6.131",
          "6.12.80",
          "6.18.21",
          "6.19.11",
          "7.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 4642ea35c03cf3d3558c009df4757cdb7af3f82d or f5300690c23c5ac860499bb37dbc09cf43fd62e6 or 6fafc4c4238e538969f1375f9ecdc6587c53f1cc or 1d1888b4a7aec518b707f6eca0bf08992c0e8da3 or a897064a457056acb976e20e3007cdf553de340f or e0e5edc81b241c70355217de7e120c97c3429deb or 9bbb19d21ded7d78645506f20d8c44895e3d0fb9 or later.",
      "Upgrade Linux to 0 or 5.15.209 or 6.1.168 or 6.6.131 or 6.12.80 or 6.18.21 or 6.19.11 or 7.0 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
