« Volver al listado

CVE-2021-47669

Estado: AnalizadaAlta (7.8)—

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

can: vxcan: vxcan_xmit: fix use after free bug

After calling netif_rx_ni(skb), dereferencing skb is unsafe. Especially, the canfd_frame cfd which aliases skb memory is accessed after the netif_rx_ni().

CVSS

Probabilidad de explotación (EPSS)

EPSS (Exploit Prediction Scoring System, de FIRST) estima la probabilidad de que una vulnerabilidad sea explotada en 30 días. Complementa a CVSS (impacto) y a CISA KEV (explotación confirmada).

🎯 Técnicas ATT&CK

Cómo se explota esta vulnerabilidad y qué consigue el atacante, en el lenguaje de MITRE ATT&CK.

Vulnerabilidad local (AV:L, PR:L) de use-after-free (CWE-416) en controlador vxcan del kernel. Permite escalada de privilegios y ejecución de código con acceso local.

Inferido por nuestro agente de análisis a partir de la descripción oficial, el vector CVSS y la CWE, y comprobado por un supervisor. Puede contener errores.

🛡️ Mitigaciones ATT&CK que cubren estas técnicas

Tecnologías afectadas (1)

CWE

Referencias

JSON original (NVD)

Mostrar
{
  "id": "CVE-2021-47669",
  "cveTags": [],
  "metrics": {
    "ssvcV203": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "ssvcData": {
          "id": "CVE-2021-47669",
          "role": "CISA Coordinator",
          "options": [
            {
              "exploitation": "none"
            },
            {
              "automatable": "no"
            },
            {
              "technicalImpact": "total"
            }
          ],
          "version": "2.0.3",
          "timestamp": "2025-04-17T18:17:52.149604Z"
        }
      }
    ],
    "cvssMetricV31": [
      {
        "type": "Secondary",
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "cvssData": {
          "scope": "UNCHANGED",
          "version": "3.1",
          "baseScore": 7.8,
          "attackVector": "LOCAL",
          "baseSeverity": "HIGH",
          "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
          "integrityImpact": "HIGH",
          "userInteraction": "NONE",
          "attackComplexity": "LOW",
          "availabilityImpact": "HIGH",
          "privilegesRequired": "LOW",
          "confidentialityImpact": "HIGH"
        },
        "impactScore": 5.9,
        "exploitabilityScore": 1.8
      }
    ]
  },
  "affected": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "affectedData": [
        {
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "product": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "a8f820a380a2a06fc4fe1a54159067958f800929",
              "lessThan": "6d6dcf2399cdd26f7f5426ca8dd8366b7f2ca105",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "a8f820a380a2a06fc4fe1a54159067958f800929",
              "lessThan": "9b820875a32a3443d67bfd368e93038354e98052",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "a8f820a380a2a06fc4fe1a54159067958f800929",
              "lessThan": "a24476b37167816e6352ca1a2cf3769847774f70",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "a8f820a380a2a06fc4fe1a54159067958f800929",
              "lessThan": "e771a874076115df8bff27d325edfd2340e4ec69",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "a8f820a380a2a06fc4fe1a54159067958f800929",
              "lessThan": "75854cad5d80976f6ea0f0431f8cedd3bcc475cb",
              "versionType": "git"
            }
          ],
          "programFiles": [
            "drivers/net/can/vxcan.c"
          ],
          "defaultStatus": "unaffected"
        },
        {
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "product": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4.12"
            },
            {
              "status": "unaffected",
              "version": "0",
              "lessThan": "4.12",
              "versionType": "semver"
            },
            {
              "status": "unaffected",
              "version": "4.14.218",
              "versionType": "semver",
              "lessThanOrEqual": "4.14.*"
            },
            {
              "status": "unaffected",
              "version": "4.19.171",
              "versionType": "semver",
              "lessThanOrEqual": "4.19.*"
            },
            {
              "status": "unaffected",
              "version": "5.4.93",
              "versionType": "semver",
              "lessThanOrEqual": "5.4.*"
            },
            {
              "status": "unaffected",
              "version": "5.10.11",
              "versionType": "semver",
              "lessThanOrEqual": "5.10.*"
            },
            {
              "status": "unaffected",
              "version": "5.11",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ],
          "programFiles": [
            "drivers/net/can/vxcan.c"
          ],
          "defaultStatus": "affected"
        }
      ]
    }
  ],
  "published": "2025-04-17T18:15:43.730",
  "references": [
    {
      "url": "https://git.kernel.org/stable/c/6d6dcf2399cdd26f7f5426ca8dd8366b7f2ca105",
      "tags": [
        "Patch"
      ],
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/75854cad5d80976f6ea0f0431f8cedd3bcc475cb",
      "tags": [
        "Patch"
      ],
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/9b820875a32a3443d67bfd368e93038354e98052",
      "tags": [
        "Patch"
      ],
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/a24476b37167816e6352ca1a2cf3769847774f70",
      "tags": [
        "Patch"
      ],
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/e771a874076115df8bff27d325edfd2340e4ec69",
      "tags": [
        "Patch"
      ],
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    }
  ],
  "vulnStatus": "Analyzed",
  "weaknesses": [
    {
      "type": "Secondary",
      "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
      "description": [
        {
          "lang": "en",
          "value": "CWE-416"
        }
      ]
    }
  ],
  "descriptions": [
    {
      "lang": "en",
      "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ncan: vxcan: vxcan_xmit: fix use after free bug\n\nAfter calling netif_rx_ni(skb), dereferencing skb is unsafe.\nEspecially, the canfd_frame cfd which aliases skb memory is accessed\nafter the netif_rx_ni()."
    },
    {
      "lang": "es",
      "value": "En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: can: vxcan: vxcan_xmit: corrección del error \"use after free\". Tras llamar a netif_rx_ni(skb), desreferenciar skb no es seguro. En particular, se accede al cfd canfd_frame, que crea un alias de memoria skb, después de netif_rx_ni()."
    }
  ],
  "lastModified": "2026-06-17T04:18:17.140",
  "configurations": [
    {
      "nodes": [
        {
          "negate": false,
          "cpeMatch": [
            {
              "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "D55AC4D7-E3A8-42B4-AD78-C7E85336E00A",
              "versionEndExcluding": "4.14.218",
              "versionStartIncluding": "4.12"
            },
            {
              "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "E048F4A6-F5E6-41BF-BCD6-49274CA46915",
              "versionEndExcluding": "4.19.171",
              "versionStartIncluding": "4.15"
            },
            {
              "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "3F19E9ED-75CE-4576-98F5-2746C9189696",
              "versionEndExcluding": "5.4.93",
              "versionStartIncluding": "4.20"
            },
            {
              "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "B62A8CB5-77B4-40A9-8B60-AF691EC1FB99",
              "versionEndExcluding": "5.10.11",
              "versionStartIncluding": "5.5"
            },
            {
              "criteria": "cpe:2.3:o:linux:linux_kernel:5.11:rc1:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "18B1C9CE-F7E4-426B-A770-79F86AB5CC38"
            },
            {
              "criteria": "cpe:2.3:o:linux:linux_kernel:5.11:rc2:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "7A70E596-2EF7-4651-B2EF-2CEE31DB6893"
            },
            {
              "criteria": "cpe:2.3:o:linux:linux_kernel:5.11:rc3:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "18C82C96-2853-4DFE-93AD-F6E59B4129CA"
            },
            {
              "criteria": "cpe:2.3:o:linux:linux_kernel:5.11:rc4:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "A330B043-47EA-4D06-82BF-153A1735FC11"
            }
          ],
          "operator": "OR"
        }
      ]
    }
  ],
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}