Lucene search

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

CVE-2021-47035 iommu/vt-d: Remove WO permissions on second-level paging entries

2024-02-2808:13:43
Linux
www.cve.org
8
linux kernel
iommu vulnerability
vt-d
paging entries.

AI Score

8.6

Confidence

High

EPSS

0

Percentile

15.5%

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

iommu/vt-d: Remove WO permissions on second-level paging entries

When the first level page table is used for IOVA translation, it only
supports Read-Only and Read-Write permissions. The Write-Only permission
is not supported as the PRESENT bit (implying Read permission) should
always set. When using second level, we still give separate permissions
that allows WriteOnly which seems inconsistent and awkward. We want to
have consistent behavior. After moving to 1st level, we don’t want things
to work sometimes, and break if we use 2nd level for the same mappings.
Hence remove this configuration.

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/iommu/intel/iommu.c"
    ],
    "versions": [
      {
        "version": "b802d070a52a",
        "lessThan": "c848416cc05a",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "b802d070a52a",
        "lessThan": "89bd62079870",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "b802d070a52a",
        "lessThan": "25faff781389",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "b802d070a52a",
        "lessThan": "66c24699f266",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "b802d070a52a",
        "lessThan": "eea53c581688",
        "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/iommu/intel/iommu.c"
    ],
    "versions": [
      {
        "version": "5.6",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "5.6",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.10.37",
        "lessThanOrEqual": "5.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.10.38",
        "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

8.6

Confidence

High

EPSS

0

Percentile

15.5%