---
id: CVE-2024-26594
title: |-
  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.
summary: |-
  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.
severity: critical
cvss: 9.1
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H'
cwe:
  - CWE-125
vendor: linux
product: linux_kernel
affected:
  - linux_kernel < 5.15.149
  - 'linux_kernel >= 5.16.0, < 6.1.75'
  - 'linux_kernel >= 6.2.0, < 6.6.14'
  - 'linux_kernel >= 6.7.0, < 6.7.2'
patched:
  - linux_kernel 6.7.2
published: '2024-02-23'
updated: '2026-08-04'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2024-26594'
references:
  - url: 'https://git.kernel.org/stable/c/5e6dfec95833edc54c48605a98365a7325e5541e'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/6eb8015492bcc84e40646390e50a862b2c0529c9'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/92e470163d96df8db6c4fa0f484e4a229edb903d'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/a2b21ef1ea4cf632d19b3a7cc4d4245b8e63202a'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/dd1de9268745f0eac83a430db7afc32cbd62e84b'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/5e6dfec95833edc54c48605a98365a7325e5541e'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/6eb8015492bcc84e40646390e50a862b2c0529c9'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/92e470163d96df8db6c4fa0f484e4a229edb903d'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/a2b21ef1ea4cf632d19b3a7cc4d4245b8e63202a'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/dd1de9268745f0eac83a430db7afc32cbd62e84b'
    label: af854a3a-2127-422b-91ae-364da2661108
tags:
  - nvd
epss: 0.50967
epssPercentile: 0.98892
ingestedAt: '2026-08-04T11:39:45.365Z'
---

## Overview

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.

## Affected

- `linux_kernel < 5.15.149`
- `linux_kernel >= 5.16.0, < 6.1.75`
- `linux_kernel >= 6.2.0, < 6.6.14`
- `linux_kernel >= 6.7.0, < 6.7.2`

## Remediation

Upgrade past the affected range:

- `linux_kernel 6.7.2`
