CVE-2024-26736·Kernel vulnerability
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()]
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.7.7
- Published
- 2024-04-03
Affected versions
From: 6.7
Until: 6.7.7
Fixed in: 6.7.7
How to fix this CVE
Update the Linux kernel to version 6.7.7 or later to patch a buffer overflow vulnerability in the AFS (Andrew File System) volume status update function. The vulnerability stems from insufficient buffer allocation for volume identifiers, which could allow a local privileged user to trigger a stack overflow. Ensure all systems running affected kernel versions 6.7 through 6.7.6 are patched immediately.
sudo dnf update kernel kernel-headers kernel-develDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check your installed kernel version with `uname -r` and verify if it falls in the 6.7.0–6.7.6 range
- Step 2: Confirm AFS module is loaded by running `lsmod | grep afs` to determine if the vulnerable code path is active
- Step 3: Review kernel logs for stack overflow warnings related to AFS operations using `sudo journalctl -k | grep -i 'afs\|stack\|overflow'`
- Step 4: After updating to 6.7.7+, reboot and verify the new kernel version with `uname -r`, then confirm AFS functionality with `fs listcell` (if AFS client is installed)
FAQ
What is CVE-2024-26736?
CVE-2024-26736 is a local buffer overflow vulnerability in the Linux kernel's AFS (Andrew File System) implementation. When handling volume status updates, the kernel failed to allocate sufficient buffer space for volume identifiers, allowing a local user with privileges to trigger memory corruption.
Is CVE-2024-26736 being actively exploited?
No, CVE-2024-26736 is not currently listed on the CISA Known Exploited Vulnerabilities (KEV) catalog, and no public exploits are available. However, the vulnerability should still be patched promptly due to its high CVSS score.
What versions of Kernel are affected by CVE-2024-26736?
Linux kernel versions 6.7 through 6.7.6 are vulnerable. Version 6.7.7 and later contain the fix.
How do I check if my server is vulnerable to CVE-2024-26736?
Run `uname -r` to display your kernel version. If it shows 6.7.0 through 6.7.6, your system is vulnerable. Additionally, check if AFS is in use with `lsmod | grep afs`.
Does Defensia detect CVE-2024-26736?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server, CVE-2024-26736 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/5c27d85a69fa16a08813ba37ddfb4bbc9a1ed6b5
- https://git.kernel.org/stable/c/6e6065dd25b661420fac19c34282b6c626fcd35e
- https://git.kernel.org/stable/c/6ea38e2aeb72349cad50e38899b0ba6fbcb2af3d
- https://git.kernel.org/stable/c/d34a5e57632bb5ff825196ddd9a48ca403626dfa
- https://git.kernel.org/stable/c/d9b5e2b7a8196850383c70d099bfd39e81ab6637
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2024-26736. Free for 1 server.
Get started free