Lucene search

K
cvelistLinuxCVELIST:CVE-2021-47137
HistoryMar 25, 2024 - 9:07 a.m.

CVE-2021-47137 net: lantiq: fix memory corruption in RX ring

2024-03-2509:07:36
Linux
www.cve.org
linux kernel
vulnerability
memory corruption
rx ring
lantiq
dma
skb
mapping
patch
cve-2021-47137

6.9 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

15.7%

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

net: lantiq: fix memory corruption in RX ring

In a situation where memory allocation or dma mapping fails, an
invalid address is programmed into the descriptor. This can lead
to memory corruption. If the memory allocation fails, DMA should
reuse the previous skb and mapping and drop the packet. This patch
also increments rx drop counter.

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/net/ethernet/lantiq_xrx200.c"
    ],
    "versions": [
      {
        "version": "fe1a56420cf2",
        "lessThan": "8bb1077448d4",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "fe1a56420cf2",
        "lessThan": "5ac72351655f",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "fe1a56420cf2",
        "lessThan": "46dd4abced3c",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "fe1a56420cf2",
        "lessThan": "c7718ee96dbc",
        "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/net/ethernet/lantiq_xrx200.c"
    ],
    "versions": [
      {
        "version": "4.20",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "4.20",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.4.124",
        "lessThanOrEqual": "5.4.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.10.42",
        "lessThanOrEqual": "5.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.12.9",
        "lessThanOrEqual": "5.12.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.13",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

6.9 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

15.7%

Related for CVELIST:CVE-2021-47137