# CVE-2024-26736: afs: Increase buffer size in afs\_update\_volume\_status()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.1
- **CVSS:** 8.1 (v3.1, CNA) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.98% (percentile 61, 2026-11-26)
- **CWE:** CWE-787
- **Published:** 2024-04-03T17:00:22.693Z
- **Modified:** 2026-08-05T11:26:55.027Z

## Who should check

- Anyone running Linux \>= d2ddc776a4581d900fc3bdc7803b403daae64d88, \< 5c27d85a69fa16a08813ba37ddfb4bbc9a1ed6b5; \>= d2ddc776a4581d900fc3bdc7803b403daae64d88, \< d9b5e2b7a8196850383c70d099bfd39e81ab6637; \>= d2ddc776a4581d900fc3bdc7803b403daae64d88, \< e56662160fc24d28cb75ac095cc6415ae1bda43e; \>= d2ddc776a4581d900fc3bdc7803b403daae64d88, \< e8530b170e464017203e3b8c6c49af6e916aece1; \>= d2ddc776a4581d900fc3bdc7803b403daae64d88, \< 6e6065dd25b661420fac19c34282b6c626fcd35e; \>= d2ddc776a4581d900fc3bdc7803b403daae64d88, \< d34a5e57632bb5ff825196ddd9a48ca403626dfa; \>= d2ddc776a4581d900fc3bdc7803b403daae64d88, \< 6ea38e2aeb72349cad50e38899b0ba6fbcb2af3d
- Anyone running Linux 4.15

## 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()\]

## Affected and fixed versions

- Linux: \>= d2ddc776a4581d900fc3bdc7803b403daae64d88, \< 5c27d85a69fa16a08813ba37ddfb4bbc9a1ed6b5; \>= d2ddc776a4581d900fc3bdc7803b403daae64d88, \< d9b5e2b7a8196850383c70d099bfd39e81ab6637; \>= d2ddc776a4581d900fc3bdc7803b403daae64d88, \< e56662160fc24d28cb75ac095cc6415ae1bda43e; \>= d2ddc776a4581d900fc3bdc7803b403daae64d88, \< e8530b170e464017203e3b8c6c49af6e916aece1; \>= d2ddc776a4581d900fc3bdc7803b403daae64d88, \< 6e6065dd25b661420fac19c34282b6c626fcd35e; \>= d2ddc776a4581d900fc3bdc7803b403daae64d88, \< d34a5e57632bb5ff825196ddd9a48ca403626dfa; \>= d2ddc776a4581d900fc3bdc7803b403daae64d88, \< 6ea38e2aeb72349cad50e38899b0ba6fbcb2af3d (cvelist)
- Linux: 4.15 (cvelist)

## Mitigation

- Upgrade Linux to 6ea38e2aeb72349cad50e38899b0ba6fbcb2af3d or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-26736. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-26736.md
Affected: Linux >= d2ddc776a4581d900fc3bdc7803b403daae64d88, < 5c27d85a69fa16a08813ba37ddfb4bbc9a1ed6b5; >= d2ddc776a4581d900fc3bdc7803b403daae64d88, < d9b5e2b7a8196850383c70d099bfd39e81ab6637; >= d2ddc776a4581d900fc3bdc7803b403daae64d88, < e56662160fc24d28cb75ac095cc6415ae1bda43e; >= d2ddc776a4581d900fc3bdc…
Fixed in: Linux 5c27d85a69fa16a08813ba37ddfb4bbc9a1ed6b5, Linux 6e6065dd25b661420fac19c34282b6c626fcd35e, Linux 6ea38e2aeb72349cad50e38899b0ba6fbcb2af3d

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-26736 being exploited?

There is no confirmed exploitation: CVE-2024-26736 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.98% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-26736?

High: CVSS 8.1 (v3.1, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2024-26736?

Linux \>= d2ddc776a4581d900fc3bdc7803b403daae64d88, \< 5c27d85a69fa16a08813ba37ddfb4bbc9a1ed6b5; \>= d2ddc776a4581d900fc3bdc7803b403daae64d88, \< d9b5e2b7a8196850383c70d099bfd39e81ab6637; \>= d2ddc776a4581d900fc3bdc7803b403daae64d88, \< e56662160fc24d28cb75ac095cc6415ae1bda43e; \>= d2ddc776a4581d900fc3bdc7803b403daae64d88, \< e8530b170e464017203e3b8c6c49af6e916aece1; \>= d2ddc776a4581d900fc3bdc7803b403daae64d88, \< 6e6065dd25b661420fac19c34282b6c626fcd35e; \>= d2ddc776a4581d900fc3bdc7803b403daae64d88, \< d34a5e57632bb5ff825196ddd9a48ca403626dfa; \>= d2ddc776a4581d900fc3bdc7803b403daae64d88, \< 6ea38e2aeb72349cad50e38899b0ba6fbcb2af3d; Linux 4.15.

### Is there a fix for CVE-2024-26736?

Yes. Fixed in Linux 5c27d85a69fa16a08813ba37ddfb4bbc9a1ed6b5, Linux 6e6065dd25b661420fac19c34282b6c626fcd35e, Linux 6ea38e2aeb72349cad50e38899b0ba6fbcb2af3d. Upgrade Linux to 6ea38e2aeb72349cad50e38899b0ba6fbcb2af3d or later.

### How do I check if I'm affected by CVE-2024-26736?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/5c27d85a69fa16a08813ba37ddfb4bbc9a1ed6b5>
- patch: <https://git.kernel.org/stable/c/d9b5e2b7a8196850383c70d099bfd39e81ab6637>
- patch: <https://git.kernel.org/stable/c/e56662160fc24d28cb75ac095cc6415ae1bda43e>
- patch: <https://git.kernel.org/stable/c/e8530b170e464017203e3b8c6c49af6e916aece1>
- patch: <https://git.kernel.org/stable/c/6e6065dd25b661420fac19c34282b6c626fcd35e>
- patch: <https://git.kernel.org/stable/c/d34a5e57632bb5ff825196ddd9a48ca403626dfa>
- patch: <https://git.kernel.org/stable/c/6ea38e2aeb72349cad50e38899b0ba6fbcb2af3d>
- other: <https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-26736>

HTML: <https://flawdb.com/CVE-2024-26736> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-26736>
