Skip to content
Heist/ feed
Back to feed
HighFix available

afs: Increase buffer size in afs_update_volume_status()

Type: advisorySources: OSV

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

Products
Kernel
Affected versions
Not specified
Fixed versions
5.10.211, 5.15.150, 5.4.270, 6.1.80, 6.6.19, 6.7.7
CVEs
CVE-2024-26736
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 13:31 UTC · Revision 1

Source evidence

afs: Increase buffer size in afs_update_volume_status()

core-osv · Original source

Published 3 Apr 2024, 17:00 UTC

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

osv:CVE-2024-26736

Kernel

Fixed versions: 5.4.270, 5.10.211, 5.15.150, 6.1.80, 6.6.19, 6.7.7

Complete source record
{
  "id": "e86c7ccf71d8c6a68fdca675ef9baf512d5609cff21d332a1dd8f9c3113d488b",
  "url": "https://osv.dev/vulnerability/CVE-2024-26736",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "afs: Increase buffer size in afs_update_volume_status()",
    "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. Found by Linux Verification Center (linuxtesting.org) with SVACE. [DH: Actually, it's 20 + NUL, so increase it to 24 and use snprintf()]",
    "evidence": "osv:CVE-2024-26736",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.4.270",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.10.211",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.150",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.80",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.19",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.7.7",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "CVE-2024-26736",
      "aliases": [
        "CVE-2024-26736"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "d2ddc776a4581d900fc3bdc7803b403daae64d88"
                },
                {
                  "fixed": "5c27d85a69fa16a08813ba37ddfb4bbc9a1ed6b5"
                },
                {
                  "fixed": "d9b5e2b7a8196850383c70d099bfd39e81ab6637"
                },
                {
                  "fixed": "e56662160fc24d28cb75ac095cc6415ae1bda43e"
                },
                {
                  "fixed": "e8530b170e464017203e3b8c6c49af6e916aece1"
                },
                {
                  "fixed": "6e6065dd25b661420fac19c34282b6c626fcd35e"
                },
                {
                  "fixed": "d34a5e57632bb5ff825196ddd9a48ca403626dfa"
                },
                {
                  "fixed": "6ea38e2aeb72349cad50e38899b0ba6fbcb2af3d"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-26736.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "4.15.0"
                },
                {
                  "fixed": "5.4.270"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.5.0"
                },
                {
                  "fixed": "5.10.211"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.11.0"
                },
                {
                  "fixed": "5.15.150"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.1.80"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.19"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.7.7"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-26736.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:36.306673940Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/5c27d85a69fa16a08813ba37ddfb4bbc9a1ed6b5",
        "https://git.kernel.org/stable/c/6e6065dd25b661420fac19c34282b6c626fcd35e",
        "https://git.kernel.org/stable/c/6ea38e2aeb72349cad50e38899b0ba6fbcb2af3d",
        "https://git.kernel.org/stable/c/d34a5e57632bb5ff825196ddd9a48ca403626dfa",
        "https://git.kernel.org/stable/c/d9b5e2b7a8196850383c70d099bfd39e81ab6637",
        "https://git.kernel.org/stable/c/e56662160fc24d28cb75ac095cc6415ae1bda43e",
        "https://git.kernel.org/stable/c/e8530b170e464017203e3b8c6c49af6e916aece1",
        "https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/26xxx/CVE-2024-26736.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-26736",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/26xxx/CVE-2024-26736.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-26736",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 503138,
  "published_at": "2024-04-03T17:00:22.693+00:00"
}