CVE-2024-26592 ksmbd: fix UAF issue in ksmbd_tcp_new_connection()
A race condition in the Linux kernel ksmbd module causes a use-after-free, potentially allowing local attackers to execute code or escalate privileges.
- 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-26592?
CVE-2024-26592 is a critical use after free vulnerability in Linux kernel, published on 22 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: fix UAF issue in ksmbd_tcp_new_connection()
The race is between the handling of a new TCP connection and its disconnection. It leads to UAF on `struct tcp_transport` in ksmbd_tcp_new_connection() function.
Weakness: CWE-416
Which versions are affected by CVE-2024-26592?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-26592?
Apply the vendor's patch.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2024-26592 being exploited?
There is no known exploitation of CVE-2024-26592 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2024-26592, DEBIAN-CVE-2024-26592, GHSA-qgq4-32vw-r3w5, UBUNTU-CVE-2024-26592.