{"id":"CVE-2026-31476","aliases":["CVE-2026-31476"],"related":[],"kind":"vulnerability","state":"published","title":"ksmbd: do not expire session on binding failure","summary":"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().","summarySource":"cvelist","descriptions":[{"lang":"en","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().","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nksmbd: no expirar la sesión en caso de fallo de enlace\n\nCuando una solicitud de enlace de sesión multicanal falla (p. ej., contraseña incorrecta), la ruta de error establece incondicionalmente sess  ->  state = SMB2_SESSION_EXPIRED. Sin embargo, durante el enlace, sess apunta a la sesión objetivo buscada a través de ksmbd_session_lookup_slowpath() - - que pertenece al usuario de otra conexión. Esto permite a un atacante remoto invalidar cualquier sesión activa simplemente enviando una solicitud de enlace con una contraseña incorrecta (DoS).\n\nSolucione esto omitiendo la expiración de la sesión cuando la solicitud fallida fue un intento de enlace, ya que la sesión no pertenece a la conexión actual. La referencia tomada por ksmbd_session_lookup_slowpath() se sigue liberando correctamente a través de ksmbd_user_session_put().","source":"nvd"}],"published":"2026-04-22T13:54:04.779Z","modified":"2026-11-11T23:10:00.263Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H","score":8.2,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H","score":8.2,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"f5a544e3bab78142207e0242d22442db85ba1eff","fixed":"4642ea35c03cf3d3558c009df4757cdb7af3f82d","status":"affected"},{"type":"git","introduced":"f5a544e3bab78142207e0242d22442db85ba1eff","fixed":"f5300690c23c5ac860499bb37dbc09cf43fd62e6","status":"affected"},{"type":"git","introduced":"f5a544e3bab78142207e0242d22442db85ba1eff","fixed":"6fafc4c4238e538969f1375f9ecdc6587c53f1cc","status":"affected"},{"type":"git","introduced":"f5a544e3bab78142207e0242d22442db85ba1eff","fixed":"1d1888b4a7aec518b707f6eca0bf08992c0e8da3","status":"affected"},{"type":"git","introduced":"f5a544e3bab78142207e0242d22442db85ba1eff","fixed":"a897064a457056acb976e20e3007cdf553de340f","status":"affected"},{"type":"git","introduced":"f5a544e3bab78142207e0242d22442db85ba1eff","fixed":"e0e5edc81b241c70355217de7e120c97c3429deb","status":"affected"},{"type":"git","introduced":"f5a544e3bab78142207e0242d22442db85ba1eff","fixed":"9bbb19d21ded7d78645506f20d8c44895e3d0fb9","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.15","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.15","status":"unaffected"},{"type":"semver","introduced":"5.15.209","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.168","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.131","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.80","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.21","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"6.19.11","lastAffected":"6.19.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.0","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.15.1","fixed":"6.1.168"},{"status":"affected","introduced":"6.2","fixed":"6.6.131"},{"status":"affected","introduced":"6.7","fixed":"6.12.80"},{"status":"affected","introduced":"6.13","fixed":"6.18.21"},{"status":"affected","introduced":"6.19","fixed":"6.19.11"},{"status":"affected","version":"5.15"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/4642ea35c03cf3d3558c009df4757cdb7af3f82d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f5300690c23c5ac860499bb37dbc09cf43fd62e6","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6fafc4c4238e538969f1375f9ecdc6587c53f1cc","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1d1888b4a7aec518b707f6eca0bf08992c0e8da3","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a897064a457056acb976e20e3007cdf553de340f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e0e5edc81b241c70355217de7e120c97c3429deb","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9bbb19d21ded7d78645506f20d8c44895e3d0fb9","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-31476","url":"https://www.cve.org/CVERecord?id=CVE-2026-31476","licence":"CVE Terms of Use","modified":"2026-08-05T12:22:55.000Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-31476","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31476","licence":"Public domain","modified":"2026-11-11T23:10:00.263Z"}],"updatedAt":"2026-11-25T22:59:19.281Z","epss":{"score":0.00519,"percentile":0.45572,"date":"2026-12-01T12:00:22.000Z"}}