# CVE-2024-26594: ksmbd: validate mech token in session setup

- Severity: Critical 9.1 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 51.2%, higher than 98% of CVEs (2026-12-01)
- Published: 2024-02-23T13:26:46.577Z
- Modified: 2026-08-05T11:26:08.636Z
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

ksmbd: validate mech token in session setup

If client send invalid mech token in session setup request, ksmbd
validate and make the error if it is invalid.

(As written by CVE List.)

## Affected

- Linux Linux: from 0626e6641f6b467447c81dd7678a69c66f7746cf before dd1de9268745f0eac83a430db7afc32cbd62e84b; from 0626e6641f6b467447c81dd7678a69c66f7746cf before 6eb8015492bcc84e40646390e50a862b2c0529c9; from 0626e6641f6b467447c81dd7678a69c66f7746cf before a2b21ef1ea4cf632d19b3a7cc4d4245b8e63202a; from 0626e6641f6b467447c81dd7678a69c66f7746cf before 5e6dfec95833edc54c48605a98365a7325e5541e; from 0626e6641f6b467447c81dd7678a69c66f7746cf before 92e470163d96df8db6c4fa0f484e4a229edb903d; 5.15 (not affected: before 5.15; from 5.15.149 up to 5.15.*; from 6.1.75 up to 6.1.*; from 6.6.14 up to 6.6.*; from 6.7.2 up to 6.7.*; from 6.8 up to *)
- linux linux_kernel: before 5.15.149; from 5.16.0 before 6.1.75; from 6.2.0 before 6.6.14; from 6.7.0 before 6.7.2

## Every score

- Linux: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H`
- NVD: CVSS:3.1 7.1 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/dd1de9268745f0eac83a430db7afc32cbd62e84b> (patch)
- <https://git.kernel.org/stable/c/6eb8015492bcc84e40646390e50a862b2c0529c9> (patch)
- <https://git.kernel.org/stable/c/a2b21ef1ea4cf632d19b3a7cc4d4245b8e63202a> (patch)
- <https://git.kernel.org/stable/c/5e6dfec95833edc54c48605a98365a7325e5541e> (patch)
- <https://git.kernel.org/stable/c/92e470163d96df8db6c4fa0f484e4a229edb903d> (patch)

## Sources

- CVE List: [CVE-2024-26594](https://www.cve.org/CVERecord?id=CVE-2024-26594), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2024-26594](https://nvd.nist.gov/vuln/detail/CVE-2024-26594), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2024-26594 · Whole record: https://cve.day/CVE-2024-26594.json · Rebuilt by cve.day 2026-11-25T22:58:37.022Z
