Lucene search

K
cvelistLinuxCVELIST:CVE-2024-26618
HistoryFeb 29, 2024 - 3:52 p.m.

CVE-2024-26618 arm64/sme: Always exit sme_alloc() early with existing storage

2024-02-2915:52:20
Linux
www.cve.org
1
linux kernel
vulnerability
arm64/sme
sme_alloc
existing storage
flushing
sve
sme_free

7.6 High

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

15.8%

In the Linux kernel, the following vulnerability has been resolved:

arm64/sme: Always exit sme_alloc() early with existing storage

When sme_alloc() is called with existing storage and we are not flushing we
will always allocate new storage, both leaking the existing storage and
corrupting the state. Fix this by separating the checks for flushing and
for existing storage as we do for SVE.

Callers that reallocate (eg, due to changing the vector length) should
call sme_free() themselves.

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "arch/arm64/kernel/fpsimd.c"
    ],
    "versions": [
      {
        "version": "5d0a8d2fba50",
        "lessThan": "569156e4fa34",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "5d0a8d2fba50",
        "lessThan": "814af6b4e600",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "5d0a8d2fba50",
        "lessThan": "dc7eb8755797",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "arch/arm64/kernel/fpsimd.c"
    ],
    "versions": [
      {
        "version": "6.5",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "6.5",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.6.15",
        "lessThanOrEqual": "6.6.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.7.3",
        "lessThanOrEqual": "6.7.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.8",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

7.6 High

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

15.8%