{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-31476","id":"CVE-2026-31476","title":"ksmbd: do not expire session on binding failure","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->state = SMB2_SESSION_EXPIRED.\nHowever, during binding, sess points to the target session looked up via\nksmbd_session_lookup_slowpath() -- which belongs to another conn","descriptionLong":"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().","published":"2026-04-22T13:54:04.779Z","updated":"2026-11-13T02:30:30.868628399Z","reserved":"2026-03-09T15:48:24.098Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H","rating":"high","source":"Linux"},{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H","rating":"high","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"f5a544e3bab78142207e0242d22442db85ba1eff","lessThan":"4642ea35c03cf3d3558c009df4757cdb7af3f82d","status":"affected","versionType":"git"},{"version":"f5a544e3bab78142207e0242d22442db85ba1eff","lessThan":"f5300690c23c5ac860499bb37dbc09cf43fd62e6","status":"affected","versionType":"git"},{"version":"f5a544e3bab78142207e0242d22442db85ba1eff","lessThan":"6fafc4c4238e538969f1375f9ecdc6587c53f1cc","status":"affected","versionType":"git"},{"version":"f5a544e3bab78142207e0242d22442db85ba1eff","lessThan":"1d1888b4a7aec518b707f6eca0bf08992c0e8da3","status":"affected","versionType":"git"},{"version":"f5a544e3bab78142207e0242d22442db85ba1eff","lessThan":"a897064a457056acb976e20e3007cdf553de340f","status":"affected","versionType":"git"},{"version":"f5a544e3bab78142207e0242d22442db85ba1eff","lessThan":"e0e5edc81b241c70355217de7e120c97c3429deb","status":"affected","versionType":"git"},{"version":"f5a544e3bab78142207e0242d22442db85ba1eff","lessThan":"9bbb19d21ded7d78645506f20d8c44895e3d0fb9","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.15","status":"affected"},{"version":"0","lessThan":"5.15","status":"unaffected","versionType":"semver"},{"version":"5.15.209","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.168","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.131","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.80","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.21","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"6.19.11","lessThanOrEqual":"6.19.*","status":"unaffected","versionType":"semver"},{"version":"7.0","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/4642ea35c03cf3d3558c009df4757cdb7af3f82d","tags":["web"]},{"url":"https://git.kernel.org/stable/c/f5300690c23c5ac860499bb37dbc09cf43fd62e6","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/6fafc4c4238e538969f1375f9ecdc6587c53f1cc","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/1d1888b4a7aec518b707f6eca0bf08992c0e8da3","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/a897064a457056acb976e20e3007cdf553de340f","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/e0e5edc81b241c70355217de7e120c97c3429deb","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/9bbb19d21ded7d78645506f20d8c44895e3d0fb9","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31476.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31476","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00519,"epssPercentile":0.4485,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-31476","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31476","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-31476","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-31476","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}