CVE-2024-26736

afs: Increase buffer size in afs_update_volume_status()

State
Published
Severity
8.1 High
Published
Apr 3, 2024
Updated
Aug 5, 2026
Reserved
Feb 19, 2024

Read the record on cve.org

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

Scores

CVSSScoreVectorSource
3.18.1 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • d2ddc776a4581d900fc3bdc7803b403daae64d88 to before 5c27d85a69fa16a08813ba37ddfb4bbc9a1ed6b5Affected
  • d2ddc776a4581d900fc3bdc7803b403daae64d88 to before d9b5e2b7a8196850383c70d099bfd39e81ab6637Affected
  • d2ddc776a4581d900fc3bdc7803b403daae64d88 to before e56662160fc24d28cb75ac095cc6415ae1bda43eAffected
  • d2ddc776a4581d900fc3bdc7803b403daae64d88 to before e8530b170e464017203e3b8c6c49af6e916aece1Affected
  • d2ddc776a4581d900fc3bdc7803b403daae64d88 to before 6e6065dd25b661420fac19c34282b6c626fcd35eAffected
  • d2ddc776a4581d900fc3bdc7803b403daae64d88 to before d34a5e57632bb5ff825196ddd9a48ca403626dfaAffected
  • d2ddc776a4581d900fc3bdc7803b403daae64d88 to before 6ea38e2aeb72349cad50e38899b0ba6fbcb2af3dAffected
LinuxLinux
  • 4.15Affected
  • before 4.15Not affected
  • 5.4.270 through 5.4.*Not affected
  • 5.10.211 through 5.10.*Not affected
  • 5.15.150 through 5.15.*Not affected
  • 6.1.80 through 6.1.*Not affected
  • 6.6.19 through 6.6.*Not affected
  • 6.7.7 through 6.7.*Not affected
  • 6.8 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.