Lucene search

K
cvelistLinuxCVELIST:CVE-2021-47087
HistoryMar 04, 2024 - 6:10 p.m.

CVE-2021-47087 tee: optee: Fix incorrect page free bug

2024-03-0418:10:17
Linux
www.cve.org
linux kernel
vulnerability resolved
incorrect page free.

7.6 High

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

15.7%

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

tee: optee: Fix incorrect page free bug

Pointer to the allocated pages (struct page *page) has already
progressed towards the end of allocation. It is incorrect to perform
__free_pages(page, order) using this pointer as we would free any
arbitrary pages. Fix this by stop modifying the page pointer.

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/tee/optee/core.c"
    ],
    "versions": [
      {
        "version": "3c712f14d8a9",
        "lessThan": "806142c805ca",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "1340dc3fb75e",
        "lessThan": "ad338d825e3f",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "ec185dd3ab25",
        "lessThan": "91e94e42f6fc",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "ec185dd3ab25",
        "lessThan": "18549bf4b21c",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/tee/optee/core.c"
    ],
    "versions": [
      {
        "version": "5.14",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "5.14",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.4.169",
        "lessThanOrEqual": "5.4.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.10.89",
        "lessThanOrEqual": "5.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.15.12",
        "lessThanOrEqual": "5.15.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.16",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

7.6 High

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

15.7%