CVE-2024-22705 Memory corruption in n/a
A mishandled relationship between Name and CreateContexts data in the Linux kernel's ksmbd allows out-of-bounds access, potentially leading to crashes or code execution.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-22705?
CVE-2024-22705 is a high-severity memory corruption vulnerability in Linux kernel, published on 23 Jan 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
An issue was discovered in ksmbd in the Linux kernel before 6.6.10. smb2_get_data_area_len in fs/smb/server/smb2misc.c can cause an smb_strndup_from_utf16 out-of-bounds access because the relationship between Name data and CreateContexts data is mishandled.
Weakness: CWE-125
Which versions are affected by CVE-2024-22705?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-22705?
Upgrade to a fixed version.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2024-22705 being exploited?
There is no known exploitation of CVE-2024-22705 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as AZL-33961, DEBIAN-CVE-2024-22705, GHSA-2572-4xw7-mcfc, UBUNTU-CVE-2024-22705.