Lucene search

K
vulnrichmentLinuxVULNRICHMENT:CVE-2021-47601
HistoryJun 19, 2024 - 2:54 p.m.

CVE-2021-47601 tee: amdtee: fix an IS_ERR() vs NULL bug

2024-06-1914:54:01
Linux
github.com
6
vulnerability
resolved
linux kernel
null dereference

AI Score

7.1

Confidence

Low

EPSS

0

Percentile

5.0%

SSVC

Exploitation

none

Automatable

no

Technical Impact

partial

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

tee: amdtee: fix an IS_ERR() vs NULL bug

The __get_free_pages() function does not return error pointers it returns
NULL so fix this condition to avoid a NULL dereference.

CNA Affected

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "757cc3e9ff1d",
        "lessThan": "640e28d618e8",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "757cc3e9ff1d",
        "lessThan": "832f3655c613",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "757cc3e9ff1d",
        "lessThan": "9d7482771fac",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "drivers/tee/amdtee/core.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "5.6"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "5.6",
        "versionType": "custom"
      },
      {
        "status": "unaffected",
        "version": "5.10.88",
        "versionType": "custom",
        "lessThanOrEqual": "5.10.*"
      },
      {
        "status": "unaffected",
        "version": "5.15.11",
        "versionType": "custom",
        "lessThanOrEqual": "5.15.*"
      },
      {
        "status": "unaffected",
        "version": "5.16",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "drivers/tee/amdtee/core.c"
    ],
    "defaultStatus": "affected"
  }
]

AI Score

7.1

Confidence

Low

EPSS

0

Percentile

5.0%

SSVC

Exploitation

none

Automatable

no

Technical Impact

partial