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

Published Feb 23, 2024
·
Updated

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 Software

7 affected componentsFixes available
Linux Linux kernel<5.15.149
Linux Linux kernel>=5.16.0<6.1.75
Linux Linux kernel>=6.2.0<6.6.14
Linux Linux kernel>=6.7.0<6.7.2
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-1
Microsoft cbl2 hyperv-daemons 5.15.148.2-1
Microsoft cbl2 hyperv-daemons 5.15.153.1-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 5.10.223-1Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.25-1

Event History

Feb 23, 2024
CVE Published
via MITRE·01:26 PM
Data Sourced
via MITRE·01:26 PM
DescriptionSeverity
Data Sourced
via NVD·02:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Mar 4, 2024
Data Sourced
via Microsoft·08:00 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·08:00 AM
Affected Software
Updated
via Microsoft·08:00 AM
Affected Software
Updated
via Microsoft·08:00 AM
DescriptionSeverity
May 30, 2024
Data Sourced
via Launchpad·10:09 PM
Description
Apr 27, 2025
Data Sourced
via Ubuntu·11:44 PM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-26594?

CVE-2024-26594 has a moderate severity rating due to its potential to allow unauthorized access through invalid token handling.

2

How do I fix CVE-2024-26594?

To fix CVE-2024-26594, update the Linux kernel to a version that is not affected, such as versions greater than 5.15.149, or apply the relevant patches provided by your distribution.

3

Which versions of the Linux kernel are affected by CVE-2024-26594?

CVE-2024-26594 affects Linux kernel versions from 5.16.0 to 6.1.75 and specific versions between 6.2.0 and 6.6.14, and versions 6.7.0 to 6.7.2.

4

What is ksmbd in relation to CVE-2024-26594?

ksmbd is a server implementation used in the Linux kernel that processes SMB (Server Message Block) protocol requests, which is involved in the vulnerability described in CVE-2024-26594.

5

What are the potential impacts of CVE-2024-26594?

The potential impact of CVE-2024-26594 includes unauthorized access or denial of service if an attacker sends an invalid mech token during a session setup.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203