# CVE-2024-26736: afs: Increase buffer size in afs_update_volume_status()

- Severity: High 8.1 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.73%, higher than 55% of CVEs (2026-12-01)
- Published: 2024-04-03T17:00:22.693Z
- Modified: 2026-08-05T11:26:55.027Z
- Weaknesses: CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from d2ddc776a4581d900fc3bdc7803b403daae64d88 before 5c27d85a69fa16a08813ba37ddfb4bbc9a1ed6b5; from d2ddc776a4581d900fc3bdc7803b403daae64d88 before d9b5e2b7a8196850383c70d099bfd39e81ab6637; from d2ddc776a4581d900fc3bdc7803b403daae64d88 before e56662160fc24d28cb75ac095cc6415ae1bda43e; from d2ddc776a4581d900fc3bdc7803b403daae64d88 before e8530b170e464017203e3b8c6c49af6e916aece1; from d2ddc776a4581d900fc3bdc7803b403daae64d88 before 6e6065dd25b661420fac19c34282b6c626fcd35e; from d2ddc776a4581d900fc3bdc7803b403daae64d88 before d34a5e57632bb5ff825196ddd9a48ca403626dfa; from d2ddc776a4581d900fc3bdc7803b403daae64d88 before 6ea38e2aeb72349cad50e38899b0ba6fbcb2af3d; 4.15 (not affected: before 4.15; from 5.4.270 up to 5.4.*; from 5.10.211 up to 5.10.*; from 5.15.150 up to 5.15.*; from 6.1.80 up to 6.1.*; from 6.6.19 up to 6.6.*; from 6.7.7 up to 6.7.*; from 6.8 up to *)
- linux linux_kernel: from 4.15 before 5.4.270; from 5.5 before 5.10.211; from 5.11 before 5.15.150; from 5.16 before 6.1.80; from 6.2 before 6.6.19; from 6.7 before 6.7.7; 6.8
- debian debian_linux: 10.0

## Every score

- Linux: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <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> (patch)
- <https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html> (mailing-list)

## Sources

- CVE List: [CVE-2024-26736](https://www.cve.org/CVERecord?id=CVE-2024-26736), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2024-26736](https://nvd.nist.gov/vuln/detail/CVE-2024-26736), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2024-26736 · Whole record: https://cve.day/CVE-2024-26736.json · Rebuilt by cve.day 2026-11-25T22:58:38.675Z
