net: lantiq: fix memory corruption in RX ring (Linux Linux)

CVE-2021-47137
CRITICAL 9.8

At a glance

Source
NVD
EPSS
EPSS 0.60 % · percentile 49 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

Description

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.

Weaknesses (CWE)

  • CWE-770 — Allocation of Resources Without Limits or Throttling

References

Scores

VersionScoreVectorScored by
CVSS 3.1CRITICAL 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HCISA-ADP
CVSS 3.1CRITICAL 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected fe1a56420cf2ec28c8eceef672b87de0bbe1a260 < 8bb1077448d43a871ed667520763e3b9f9b7975d ; affected fe1a56420cf2ec28c8eceef672b87de0bbe1a260 < 5ac72351655f8b033a2935646f53b7465c903418 ; affected fe1a56420cf2ec28c8eceef672b87de0bbe1a260 < 46dd4abced3cb2c912916f4a5353e0927db0c4a2 ; affected fe1a56420cf2ec28c8eceef672b87de0bbe1a260 < c7718ee96dbc2f9c5fc3b578abdf296dd44b9c20
Linux · Linuxaffected 4.20 ; unaffected 0 < 4.20 ; unaffected 5.4.124 ≤ 5.4.* ; unaffected 5.10.42 ≤ 5.10.* ; unaffected 5.12.9 ≤ 5.12.* ; unaffected 5.13 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD