afs: Increase buffer size in afs_update_volume_status() (Linux Linux)

CVE-2024-26736
HIGH 8.1

At a glance

Source
NVD
EPSS
EPSS 0.73 % · percentile 54 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

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

Weaknesses (CWE)

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 8.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 8.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected d2ddc776a4581d900fc3bdc7803b403daae64d88 < 5c27d85a69fa16a08813ba37ddfb4bbc9a1ed6b5 ; affected d2ddc776a4581d900fc3bdc7803b403daae64d88 < d9b5e2b7a8196850383c70d099bfd39e81ab6637 ; affected d2ddc776a4581d900fc3bdc7803b403daae64d88 < e56662160fc24d28cb75ac095cc6415ae1bda43e ; affected d2ddc776a4581d900fc3bdc7803b403daae64d88 < e8530b170e464017203e3b8c6c49af6e916aece1 ; affected d2ddc776a4581d900fc3bdc7803b403daae64d88 < 6e6065dd25b661420fac19c34282b6c626fcd35e ; affected d2ddc776a4581d900fc3bdc7803b403daae64d88 < d34a5e57632bb5ff825196ddd9a48ca403626dfa
Linux · Linuxaffected 4.15 ; unaffected 0 < 4.15 ; unaffected 5.4.270 ≤ 5.4.* ; unaffected 5.10.211 ≤ 5.10.* ; unaffected 5.15.150 ≤ 5.15.* ; unaffected 6.1.80 ≤ 6.1.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD