Lucene search

K
vulnrichmentLinuxVULNRICHMENT:CVE-2021-47064
HistoryFeb 29, 2024 - 10:37 p.m.

CVE-2021-47064 mt76: fix potential DMA mapping leak

2024-02-2922:37:38
Linux
github.com
10
linux kernel
vulnerability resolved
mt76
dma mapping
fix
potential
cve

AI Score

6.8

Confidence

Low

EPSS

0

Percentile

15.5%

SSVC

Exploitation

none

Automatable

no

Technical Impact

partial

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

mt76: fix potential DMA mapping leak

With buf uninitialized in mt76_dma_tx_queue_skb_raw, its field skip_unmap
could potentially inherit a non-zero value from stack garbage.
If this happens, it will cause DMA mappings for MCU command frames to not be
unmapped after completion

CNA Affected

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "27d5c528a7ca",
        "lessThan": "9fa26701cd1f",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "27d5c528a7ca",
        "lessThan": "9b68ce2856da",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "27d5c528a7ca",
        "lessThan": "91b9548d413f",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "27d5c528a7ca",
        "lessThan": "b4403cee6400",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "drivers/net/wireless/mediatek/mt76/dma.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.10"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "5.10",
        "versionType": "custom"
      },
      {
        "status": "unaffected",
        "version": "5.10.37",
        "versionType": "custom",
        "lessThanOrEqual": "5.10.*"
      },
      {
        "status": "unaffected",
        "version": "5.11.21",
        "versionType": "custom",
        "lessThanOrEqual": "5.11.*"
      },
      {
        "status": "unaffected",
        "version": "5.12.4",
        "versionType": "custom",
        "lessThanOrEqual": "5.12.*"
      },
      {
        "status": "unaffected",
        "version": "5.13",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "drivers/net/wireless/mediatek/mt76/dma.c"
    ],
    "defaultStatus": "affected"
  }
]

AI Score

6.8

Confidence

Low

EPSS

0

Percentile

15.5%

SSVC

Exploitation

none

Automatable

no

Technical Impact

partial

Related for VULNRICHMENT:CVE-2021-47064