---
id: CVE-2024-26736
title: |-
  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.

  Fou…
summary: |-
  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.

  Fou…
severity: high
cvss: 8.1
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-787
vendor: linux
product: linux_kernel
affected:
  - 'linux_kernel >= 4.15, < 5.4.270'
  - 'linux_kernel >= 5.5, < 5.10.211'
  - 'linux_kernel >= 5.11, < 5.15.150'
  - 'linux_kernel >= 5.16, < 6.1.80'
  - 'linux_kernel >= 6.2, < 6.6.19'
  - 'linux_kernel >= 6.7, < 6.7.7'
  - linux_kernel = 6.8
  - debian_linux = 10.0
patched:
  - linux_kernel 6.7.7
published: '2024-04-03'
updated: '2026-08-04'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2024-26736'
references:
  - url: 'https://git.kernel.org/stable/c/5c27d85a69fa16a08813ba37ddfb4bbc9a1ed6b5'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/6e6065dd25b661420fac19c34282b6c626fcd35e'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/6ea38e2aeb72349cad50e38899b0ba6fbcb2af3d'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/d34a5e57632bb5ff825196ddd9a48ca403626dfa'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/d9b5e2b7a8196850383c70d099bfd39e81ab6637'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/e56662160fc24d28cb75ac095cc6415ae1bda43e'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/e8530b170e464017203e3b8c6c49af6e916aece1'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/5c27d85a69fa16a08813ba37ddfb4bbc9a1ed6b5'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/6e6065dd25b661420fac19c34282b6c626fcd35e'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/6ea38e2aeb72349cad50e38899b0ba6fbcb2af3d'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/d34a5e57632bb5ff825196ddd9a48ca403626dfa'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/d9b5e2b7a8196850383c70d099bfd39e81ab6637'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/e56662160fc24d28cb75ac095cc6415ae1bda43e'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/e8530b170e464017203e3b8c6c49af6e916aece1'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html'
    label: af854a3a-2127-422b-91ae-364da2661108
tags:
  - nvd
epss: 0.00723
epssPercentile: 0.51953
ingestedAt: '2026-08-05T10:46:48.330Z'
---

## Overview

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

- `linux_kernel >= 4.15, < 5.4.270`
- `linux_kernel >= 5.5, < 5.10.211`
- `linux_kernel >= 5.11, < 5.15.150`
- `linux_kernel >= 5.16, < 6.1.80`
- `linux_kernel >= 6.2, < 6.6.19`
- `linux_kernel >= 6.7, < 6.7.7`
- `linux_kernel = 6.8`
- `debian_linux = 10.0`

## Remediation

Upgrade past the affected range:

- `linux_kernel 6.7.7`
