Lucene search

K
cvelistLinuxCVELIST:CVE-2021-47018
HistoryFeb 28, 2024 - 8:13 a.m.

CVE-2021-47018 powerpc/64: Fix the definition of the fixmap area

2024-02-2808:13:33
Linux
www.cve.org
5
linux kernel
vulnerability
powerpc/64
fixmap area
ppc64
circular dependencies
i/o space.

AI Score

6.7

Confidence

Low

EPSS

0

Percentile

15.5%

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

powerpc/64: Fix the definition of the fixmap area

At the time being, the fixmap area is defined at the top of
the address space or just below KASAN.

This definition is not valid for PPC64.

For PPC64, use the top of the I/O space.

Because of circular dependencies, it is not possible to include
asm/fixmap.h in asm/book3s/64/pgtable.h , so define a fixed size
AREA at the top of the I/O space for fixmap and ensure during
build that the size is big enough.

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "arch/powerpc/include/asm/book3s/64/pgtable.h",
      "arch/powerpc/include/asm/fixmap.h",
      "arch/powerpc/include/asm/nohash/64/pgtable.h"
    ],
    "versions": [
      {
        "version": "265c3491c4bc",
        "lessThan": "4b9fb2c9039a",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "265c3491c4bc",
        "lessThan": "abb07dc5e8b6",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "265c3491c4bc",
        "lessThan": "a84df7c80bda",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "265c3491c4bc",
        "lessThan": "9ccba66d4d2a",
        "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/powerpc/include/asm/book3s/64/pgtable.h",
      "arch/powerpc/include/asm/fixmap.h",
      "arch/powerpc/include/asm/nohash/64/pgtable.h"
    ],
    "versions": [
      {
        "version": "5.5",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "5.5",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.10.37",
        "lessThanOrEqual": "5.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.11.21",
        "lessThanOrEqual": "5.11.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.12.4",
        "lessThanOrEqual": "5.12.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.13",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

AI Score

6.7

Confidence

Low

EPSS

0

Percentile

15.5%