Lucene search

K
cvelistLinuxCVELIST:CVE-2024-26736
HistoryApr 03, 2024 - 5:00 p.m.

CVE-2024-26736 afs: Increase buffer size in afs_update_volume_status()

2024-04-0317:00:22
Linux
www.cve.org
linux kernel
vulnerability
buffer size
afs_update_volume_status
overflow
linux verification center
linuxtesting.org
svace
cve
snprintf

7.8 High

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

13.1%

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

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "fs/afs/volume.c"
    ],
    "versions": [
      {
        "version": "d2ddc776a458",
        "lessThan": "5c27d85a69fa",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "d2ddc776a458",
        "lessThan": "d9b5e2b7a819",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "d2ddc776a458",
        "lessThan": "e56662160fc2",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "d2ddc776a458",
        "lessThan": "e8530b170e46",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "d2ddc776a458",
        "lessThan": "6e6065dd25b6",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "d2ddc776a458",
        "lessThan": "d34a5e57632b",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "d2ddc776a458",
        "lessThan": "6ea38e2aeb72",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "fs/afs/volume.c"
    ],
    "versions": [
      {
        "version": "4.15",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "4.15",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.4.270",
        "lessThanOrEqual": "5.4.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.10.211",
        "lessThanOrEqual": "5.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.15.150",
        "lessThanOrEqual": "5.15.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.1.80",
        "lessThanOrEqual": "6.1.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.6.19",
        "lessThanOrEqual": "6.6.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.7.7",
        "lessThanOrEqual": "6.7.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.8",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

7.8 High

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

13.1%