← Vulnerability feed

Vulnerability record · CVE-2024-26594 · published 23 February 2024

CVE-2024-26594: Linux kernel ksmbd out-of-bounds read in session setup mech token

Linux · Linux Kernel

The Linux kernel ksmbd SMB server fails to validate the mechanism token in a session setup request, leading to an out-of-bounds read (CWE-125). The flaw is fixed by adding validation that rejects invalid mech tokens. It matters because ksmbd is reachable over the network and a malformed token can crash or expose kernel memory.

7.1 CVSS 3.1 High EPSS 51% · top 1.1% CWE-125 · Out-of-bounds read
7.1CVSS 3.1 base score
51%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
10References
4 Aug 2026Last modified by NVD

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.

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 20 September 2026. Confidence: medium.

high priorityHigh CVSS (7.1) with high confidentiality and availability impact, a network-reachable SMB service, and very high EPSS percentile, though no confirmed in-the-wild exploitation.

What it is

The Linux kernel ksmbd SMB server fails to validate the mechanism token in a session setup request, leading to an out-of-bounds read (CWE-125). The flaw is fixed by adding validation that rejects invalid mech tokens. It matters because ksmbd is reachable over the network and a malformed token can crash or expose kernel memory.

Impact

An attacker can trigger an out-of-bounds read, causing a kernel crash (denial of service) and potentially leaking kernel memory contents. The CVSS vector rates confidentiality and availability impact as high.

Attack surface

Reached through the ksmbd SMB service via a crafted session setup request containing an invalid mech token. The CVSS vector is local (AV:L) with low privileges (PR:L) and no user interaction, though the underlying service is network-facing.

Exploitation

Not listed in CISA KEV and no public exploit references are provided; EPSS 30-day probability is 0.50967 (98.9th percentile), indicating elevated predicted exploitation likelihood. All references are patch links only.

What to do

  • Apply the upstream kernel patches referenced in the advisory (git.kernel.org stable commits) or update to a kernel release containing the fix.
  • If ksmbd is not required, disable or unload the ksmbd module to remove the attack surface.
  • Restrict network access to SMB/ksmbd ports to trusted hosts and segments.
  • Monitor for and block malformed SMB session setup requests at the network boundary where feasible.

Detection

  • Monitor kernel logs for ksmbd errors or crashes tied to session setup and mech token handling.
  • Alert on unexpected ksmbd process or kernel panics on hosts running the SMB server.
  • Inspect SMB traffic for session setup requests with malformed or oversized mech tokens.
  • Track patch status of ksmbd-enabled hosts against the fixed kernel versions.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2024-26594 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2025-39682Linux kernel TLS zero-length record handling flaw on rx_listThe Linux kernel TLS receive path mishandles zero-length records that arrive from the rx_list, breaking the assumption that a record type change cann…KEVEPSS 2.9%analysed8.8CVE-2026-53266Linux kernel ebtables SNAT out-of-bounds write in ARP rewriteThe ebtables SNAT target rewrites the ARP sender hardware address via skb_store_bits() without first making that range writable. When the ARP SHA byt…KEVEPSS 0.65%analysed8.8CVE-2023-3079Google Chrome V8 type confusion enables heap corruptionCVE-2023-3079 is a type confusion flaw in the V8 JavaScript engine in Google Chrome before 114.0.5735.110. A crafted HTML page can trigger the confus…KEVEPSS 32%analysed8.8CVE-2013-6282Linux kernel ARM get_user/put_user missing address validationThe get_user and put_user API functions in the Linux kernel before 3.5.5 on v6k and v7 ARM platforms fail to validate certain addresses, allowing cra…KEVEPSS 40%analysed8.4CVE-2022-0185Linux Kernel Filesystem Context Heap Buffer OverflowThe legacy_parse_param function in the Linux kernel's Filesystem Context functionality fails to properly verify supplied parameter lengths, causing a…KEVEPSS 25%analysed8.4CVE-2013-2094Linux Kernel perf_swevent_init Integer Type Flaw Enables Local Privilege EscalationThe perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9 uses an incorrect integer data type, allowing a local user to…KEVEPSS 48%analysed7.8CVE-2026-53362Linux kernel IPv6 UDP paged allocation out-of-bounds write__ip6_append_data() in the Linux kernel mis-accounts fraggap on the paged-allocation path, leaving the linear skb area undersized while pagedlen is o…KEVEPSS 0.71%analysed7.8CVE-2026-31431Linux kernel algif_aead in-place crypto operation flawThe Linux kernel's algif_aead AF_ALG AEAD interface operated in-place on buffers that come from different mappings, a flaw the fix resolves by revert…KEVEPSS 3.4%analysed

Source: NIST National Vulnerability Database (record CVE-2024-26594), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.