{"id":"CVE-2026-31476","published":"2026-04-22T13:54:04Z","modified":"2026-08-05T12:22:55Z","title":"ksmbd: do not expire session on binding failure","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"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->state = 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().","provenance":"source","from":"CVE.org"},"cvss":{"score":8.2,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00519,"percentile":0.4485,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/4642ea35c03cf3d3558c009df4757cdb7af3f82d","tags":[]},{"url":"https://git.kernel.org/stable/c/f5300690c23c5ac860499bb37dbc09cf43fd62e6","tags":[]},{"url":"https://git.kernel.org/stable/c/6fafc4c4238e538969f1375f9ecdc6587c53f1cc","tags":[]},{"url":"https://git.kernel.org/stable/c/1d1888b4a7aec518b707f6eca0bf08992c0e8da3","tags":[]},{"url":"https://git.kernel.org/stable/c/a897064a457056acb976e20e3007cdf553de340f","tags":[]},{"url":"https://git.kernel.org/stable/c/e0e5edc81b241c70355217de7e120c97c3429deb","tags":[]},{"url":"https://git.kernel.org/stable/c/9bbb19d21ded7d78645506f20d8c44895e3d0fb9","tags":[]}],"priority":{"score":14.7,"factors":[{"name":"EPSS percentile","points":8.97},{"name":"CVSS severity","points":5.74}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= f5a544e3bab78142207e0242d22442db85ba1eff, < 4642ea35c03cf3d3558c009df4757cdb7af3f82d",">= f5a544e3bab78142207e0242d22442db85ba1eff, < f5300690c23c5ac860499bb37dbc09cf43fd62e6",">= f5a544e3bab78142207e0242d22442db85ba1eff, < 6fafc4c4238e538969f1375f9ecdc6587c53f1cc",">= f5a544e3bab78142207e0242d22442db85ba1eff, < 1d1888b4a7aec518b707f6eca0bf08992c0e8da3",">= f5a544e3bab78142207e0242d22442db85ba1eff, < a897064a457056acb976e20e3007cdf553de340f",">= f5a544e3bab78142207e0242d22442db85ba1eff, < e0e5edc81b241c70355217de7e120c97c3429deb",">= f5a544e3bab78142207e0242d22442db85ba1eff, < 9bbb19d21ded7d78645506f20d8c44895e3d0fb9"]},{"vendor":"Linux","product":"Linux","versions":["5.15"]}],"euvd":{"id":"EUVD-2026-24831","exploited":false,"provenance":"source"}}