CVE-2024-26736
JSON

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 packageVersionsReported by
Linux Linuxfrom 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_kernelfrom 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.8NVD
debian debian_linux10.0NVD

All scores

Linux8.1high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-787

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

SourceRecordLicence
CVE ListCVE-2024-26736 changed 2026-08-05CVE Terms of Use
NVDCVE-2024-26736 changed 2026-08-04Public domain