Lucene search

K
cve416baaa9-dc9f-4396-8d5f-8c081fb06d67CVE-2024-36967
HistoryJun 08, 2024 - 1:15 p.m.

CVE-2024-36967

2024-06-0813:15:58
416baaa9-dc9f-4396-8d5f-8c081fb06d67
web.nvd.nist.gov
26
linux
kernel
vulnerability
fix
memory leak
tpm2_key_encode()

6.5 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

10.4%

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

KEYS: trusted: Fix memory leak in tpm2_key_encode()

‘scratch’ is never freed. Fix this by calling kfree() in the success, and
in the error case.

Affected configurations

Vulners
Node
linuxlinux_kernelRange5.135.15.160
OR
linuxlinux_kernelRange5.16.06.1.92
OR
linuxlinux_kernelRange6.2.06.6.32
OR
linuxlinux_kernelRange6.7.06.8.11
OR
linuxlinux_kernelRange6.9.06.9.2
OR
linuxlinux_kernelRange6.10.06.10-rc1

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "security/keys/trusted-keys/trusted_tpm2.c"
    ],
    "versions": [
      {
        "version": "f2219745250f",
        "lessThan": "1e6914fa8e77",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "f2219745250f",
        "lessThan": "5d91238b590b",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "f2219745250f",
        "lessThan": "e62835264d03",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "f2219745250f",
        "lessThan": "189c768932d4",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "f2219745250f",
        "lessThan": "cf26a92f560e",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "f2219745250f",
        "lessThan": "ffcaa2172cc1",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "security/keys/trusted-keys/trusted_tpm2.c"
    ],
    "versions": [
      {
        "version": "5.13",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "5.13",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.15.160",
        "lessThanOrEqual": "5.15.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.1.92",
        "lessThanOrEqual": "6.1.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.6.32",
        "lessThanOrEqual": "6.6.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.8.11",
        "lessThanOrEqual": "6.8.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.9.2",
        "lessThanOrEqual": "6.9.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.10-rc1",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

6.5 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

10.4%