8.1high
afs: Increase buffer size in afs_update_volume_status()
- Severity
- 8.1high CVSS:3.1 by Linux
- Exploit likelihood
- 0.73% (higher than 55% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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()]
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| 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.* | CVE List |
| 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 | NVD |
| debian debian_linux | 10.0 | NVD |
All scores
| Linux | 8.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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()]
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: afs: aumenta el tamaño del búfer en afs_update_volume_status() La longitud máxima del volumen->valor vid es de 20 caracteres. Por lo tanto, aumente el tamaño de idbuf[] hasta 24 para evitar el desbordamiento. Encontrado por el Centro de verificación de Linux (linuxtesting.org) con SVACE. [DH: En realidad, es 20 + NUL, así que auméntalo a 24 y usa snprintf()]
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-26736 changed 2026-08-05 | CVE Terms of Use |
| NVD | CVE-2024-26736 changed 2026-08-04 | Public domain |