{
  "cveId": "CVE-2021-47586",
  "url": "https://patchblox.com/security/cve/CVE-2021-47586",
  "summary": "CVE-2021-47586 is fixed in linux on 1 platform, first by DEBIAN-CVE-2021-47586, released June 19, 2024. It is not reported as exploited. Patch Radar priority: Routine.",
  "title": "linux: In the Linux kernel, the following vulnerability has been resolved:  net: stmmac: dwmac-rk: fix oob read in rk_gmac_s...",
  "description": "In the Linux kernel, the following vulnerability has been resolved:  net: stmmac: dwmac-rk: fix oob read in rk_gmac_setup  KASAN reports an out-of-bounds read in rk_gmac_setup on the line:  \twhile (ops-\u003Eregs[i]) {  This happens for most platforms since the regs flexible array member is empty, so the memory after the ops structure is being read here.  It seems that mostly this happens to contain zero anyway, so we get lucky and everything still works.  To avoid adding redundant data to nearly all the ops structures, add a new flag to indicate whether the regs field is valid and avoid this loop when it is not.",
  "published": "2024-06-19T15:15:53Z",
  "severity": "medium",
  "cvss": 5.5,
  "cvssVector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
  "epss": 0.00208,
  "epssPercentile": 0.10997,
  "priority": "Routine",
  "priorityTier": 4,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "fixes": [
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 12.15 (bookworm)",
      "fixedVersion": "5.15.15-1",
      "fix": "DEBIAN-CVE-2021-47586",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2021-47586",
      "released": "2024-06-19T15:15:53Z"
    },
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 13.5 (trixie)",
      "fixedVersion": "5.15.15-1",
      "fix": "DEBIAN-CVE-2021-47586",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2021-47586",
      "released": "2024-06-19T15:15:53Z"
    },
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 14",
      "fixedVersion": "5.15.15-1",
      "fix": "DEBIAN-CVE-2021-47586",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2021-47586",
      "released": "2024-06-19T15:15:53Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-08T13:06:02Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}