Lucene search

K
cvelistLinuxCVELIST:CVE-2021-46920
HistoryFeb 27, 2024 - 6:53 a.m.

CVE-2021-46920 dmaengine: idxd: Fix clobbering of SWERR overflow bit on writeback

2024-02-2706:53:57
Linux
www.cve.org
7
linux kernel
vulnerability
dmaengine

AI Score

5.9

Confidence

High

EPSS

0

Percentile

15.5%

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

dmaengine: idxd: Fix clobbering of SWERR overflow bit on writeback

Current code blindly writes over the SWERR and the OVERFLOW bits. Write
back the bits actually read instead so the driver avoids clobbering the
OVERFLOW bit that comes after the register is read.

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/dma/idxd/irq.c"
    ],
    "versions": [
      {
        "version": "bfe1d56091c1",
        "lessThan": "a5ad12d5d69c",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "bfe1d56091c1",
        "lessThan": "02981a44a0e4",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "bfe1d56091c1",
        "lessThan": "ea941ac294d7",
        "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/dma/idxd/irq.c"
    ],
    "versions": [
      {
        "version": "5.6",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "5.6",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.10.32",
        "lessThanOrEqual": "5.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.11.16",
        "lessThanOrEqual": "5.11.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.12",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

AI Score

5.9

Confidence

High

EPSS

0

Percentile

15.5%