CVE-2024-26736

afs: Increase buffer size in afs_update_volume_status()

HIGH
7.8
CVSS Score
Published: April 3, 2024 at 05:00 PM UTC
Updated: August 5, 2026 at 12:04 PM UTC
2 products affected across 2 vendorsLinux KernelDebian Linux

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.7%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.15 ≤ v < 5.10.2114.15 ≤ v < 5.15.1504.15 ≤ v < 5.4.2704.15 ≤ v < 6.1.804.15 ≤ v < 6.6.194.15 ≤ v < 6.7.74.15 ≤ v < 6.85.11 ≤ v < 5.15.1505.16 ≤ v < 6.1.805.5 ≤ v < 5.10.2116.2 ≤ v < 6.6.196.7 ≤ v < 6.7.76.8 rc16.8 rc26.8 rc36.8 rc46.8 rc5d2ddc776a4581d900fc3bdc7803b403daae64d88
Vendor states this is fixed in 5c27d85a69fa16a08813ba37ddfb4bbc9a1ed6b5 (fixed)
Vendor states this is fixed in 6e6065dd25b661420fac19c34282b6c626fcd35e (fixed)
Vendor states this is fixed in 6ea38e2aeb72349cad50e38899b0ba6fbcb2af3d (fixed)
Vendor states this is fixed in d34a5e57632bb5ff825196ddd9a48ca403626dfa (fixed)
Vendor states this is fixed in d9b5e2b7a8196850383c70d099bfd39e81ab6637 (fixed)
Vendor states this is fixed in e56662160fc24d28cb75ac095cc6415ae1bda43e (fixed)
Vendor states this is fixed in e8530b170e464017203e3b8c6c49af6e916aece1 (fixed)
Vendor states this is fixed in 4.15 (unaffected)
Vendor states this is fixed in 5.10.211 (unaffected)
Vendor states this is fixed in 5.15.150 (unaffected)
Vendor states this is fixed in 5.4.270 (unaffected)
Vendor states this is fixed in 6.1.80 (unaffected)
Vendor states this is fixed in 6.6.19 (unaffected)
Vendor states this is fixed in 6.7.7 (unaffected)
Vendor states this is fixed in 6.8 (unaffected)

References (8)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/5c27d85a69fa16a08813ba37ddfb4bbc9a1ed6b5
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/6e6065dd25b661420fac19c34282b6c626fcd35e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/6ea38e2aeb72349cad50e38899b0ba6fbcb2af3d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d34a5e57632bb5ff825196ddd9a48ca403626dfa
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d9b5e2b7a8196850383c70d099bfd39e81ab6637
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/e56662160fc24d28cb75ac095cc6415ae1bda43e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/e8530b170e464017203e3b8c6c49af6e916aece1
Mailing List
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-787

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card