Lucene search

K
cvelistLinuxCVELIST:CVE-2024-26824
HistoryApr 17, 2024 - 9:43 a.m.

CVE-2024-26824 crypto: algif_hash - Remove bogus SGL free on zero-length error path

2024-04-1709:43:50
Linux
www.cve.org
2
linux kernel
crypto
vulnerability
fix
algif_hash
zero-length error

AI Score

6.7

Confidence

Low

EPSS

0

Percentile

15.5%

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

crypto: algif_hash - Remove bogus SGL free on zero-length error path

When a zero-length message is hashed by algif_hash, and an error
is triggered, it tries to free an SG list that was never allocated
in the first place. Fix this by not freeing the SG list on the
zero-length error path.

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "crypto/algif_hash.c"
    ],
    "versions": [
      {
        "version": "b6d972f68983",
        "lessThan": "9c82920359b7",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "b6d972f68983",
        "lessThan": "775f3c1882a4",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "b6d972f68983",
        "lessThan": "24c890dd712f",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "crypto/algif_hash.c"
    ],
    "versions": [
      {
        "version": "6.5",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "6.5",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.6.18",
        "lessThanOrEqual": "6.6.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.7.6",
        "lessThanOrEqual": "6.7.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.8",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

AI Score

6.7

Confidence

Low

EPSS

0

Percentile

15.5%