CVE-2024-26736 afs: Increase buffer size in afs_update_volume_status()
A buffer overflow in the Linux kernel's AFS module allows attackers to potentially execute code or cause a denial of service.
- 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-26736?
CVE-2024-26736 is a high-severity memory corruption vulnerability in Debian Debian Linux, published on 3 Apr 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:
afs: Increase buffer size in afs_update_volume_status()
The max length of volume->vid value is 20 characters. So increase idbuf[] size up to 24 to avoid overflow.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
[DH: Actually, it's 20 + NUL, so increase it to 24 and use snprintf()]
Weakness: CWE-787
Which versions are affected by CVE-2024-26736?
It affects 2 products.
Products include Debian Debian Linux, Linux kernel.
How do I fix CVE-2024-26736?
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-26736 being exploited?
There is no known exploitation of CVE-2024-26736 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as BELL-CVE-2024-26736, DEBIAN-CVE-2024-26736, GHSA-vrrq-3f8j-8672, UBUNTU-CVE-2024-26736.