CVE-2024-26594 ksmbd: validate mech token in session setup
A missing validation of mechanism tokens in the Linux kernel's ksmbd SMB server can lead to out-of-bounds reads, potentially causing crashes or code execution.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-26594?
CVE-2024-26594 is a critical memory corruption vulnerability in Linux kernel, published on 23 Feb 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-125
Which versions are affected by CVE-2024-26594?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-26594?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2024-26594 being exploited?
There is no known exploitation of CVE-2024-26594 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as AZL-35452, BELL-CVE-2024-26594, DEBIAN-CVE-2024-26594, GHSA-pwm2-gm2p-7637, UBUNTU-CVE-2024-26594.