CVE-2021-47669 (GCVE-0-2021-47669)
Vulnerability from cvelistv5 – Published: 2025-04-17 18:01 – Updated: 2025-05-04 07:15
VLAI?
Title
can: vxcan: vxcan_xmit: fix use after free bug
Summary
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().
Severity ?
7.8 (High)
CWE
- CWE-416 - Use After Free
Assigner
References
Impacted products
| Vendor | Product | Version | ||
|---|---|---|---|---|
| Linux | Linux |
Affected:
a8f820a380a2a06fc4fe1a54159067958f800929 , < 6d6dcf2399cdd26f7f5426ca8dd8366b7f2ca105
(git)
Affected: a8f820a380a2a06fc4fe1a54159067958f800929 , < 9b820875a32a3443d67bfd368e93038354e98052 (git) Affected: a8f820a380a2a06fc4fe1a54159067958f800929 , < a24476b37167816e6352ca1a2cf3769847774f70 (git) Affected: a8f820a380a2a06fc4fe1a54159067958f800929 , < e771a874076115df8bff27d325edfd2340e4ec69 (git) Affected: a8f820a380a2a06fc4fe1a54159067958f800929 , < 75854cad5d80976f6ea0f0431f8cedd3bcc475cb (git) |
||
{
"containers": {
"adp": [
{
"metrics": [
{
"cvssV3_1": {
"attackComplexity": "LOW",
"attackVector": "LOCAL",
"availabilityImpact": "HIGH",
"baseScore": 7.8,
"baseSeverity": "HIGH",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "LOW",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"version": "3.1"
}
},
{
"other": {
"content": {
"id": "CVE-2021-47669",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "total"
}
],
"role": "CISA Coordinator",
"timestamp": "2025-04-17T18:17:52.149604Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-416",
"description": "CWE-416 Use After Free",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2025-04-17T18:25:25.277Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"drivers/net/can/vxcan.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "6d6dcf2399cdd26f7f5426ca8dd8366b7f2ca105",
"status": "affected",
"version": "a8f820a380a2a06fc4fe1a54159067958f800929",
"versionType": "git"
},
{
"lessThan": "9b820875a32a3443d67bfd368e93038354e98052",
"status": "affected",
"version": "a8f820a380a2a06fc4fe1a54159067958f800929",
"versionType": "git"
},
{
"lessThan": "a24476b37167816e6352ca1a2cf3769847774f70",
"status": "affected",
"version": "a8f820a380a2a06fc4fe1a54159067958f800929",
"versionType": "git"
},
{
"lessThan": "e771a874076115df8bff27d325edfd2340e4ec69",
"status": "affected",
"version": "a8f820a380a2a06fc4fe1a54159067958f800929",
"versionType": "git"
},
{
"lessThan": "75854cad5d80976f6ea0f0431f8cedd3bcc475cb",
"status": "affected",
"version": "a8f820a380a2a06fc4fe1a54159067958f800929",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"drivers/net/can/vxcan.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "4.12"
},
{
"lessThan": "4.12",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "4.14.*",
"status": "unaffected",
"version": "4.14.218",
"versionType": "semver"
},
{
"lessThanOrEqual": "4.19.*",
"status": "unaffected",
"version": "4.19.171",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.4.*",
"status": "unaffected",
"version": "5.4.93",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.10.*",
"status": "unaffected",
"version": "5.10.11",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "5.11",
"versionType": "original_commit_for_fix"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "4.14.218",
"versionStartIncluding": "4.12",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "4.19.171",
"versionStartIncluding": "4.12",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.4.93",
"versionStartIncluding": "4.12",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.10.11",
"versionStartIncluding": "4.12",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.11",
"versionStartIncluding": "4.12",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"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()."
}
],
"providerMetadata": {
"dateUpdated": "2025-05-04T07:15:49.993Z",
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux"
},
"references": [
{
"url": "https://git.kernel.org/stable/c/6d6dcf2399cdd26f7f5426ca8dd8366b7f2ca105"
},
{
"url": "https://git.kernel.org/stable/c/9b820875a32a3443d67bfd368e93038354e98052"
},
{
"url": "https://git.kernel.org/stable/c/a24476b37167816e6352ca1a2cf3769847774f70"
},
{
"url": "https://git.kernel.org/stable/c/e771a874076115df8bff27d325edfd2340e4ec69"
},
{
"url": "https://git.kernel.org/stable/c/75854cad5d80976f6ea0f0431f8cedd3bcc475cb"
}
],
"title": "can: vxcan: vxcan_xmit: fix use after free bug",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"assignerShortName": "Linux",
"cveId": "CVE-2021-47669",
"datePublished": "2025-04-17T18:01:29.979Z",
"dateReserved": "2025-04-16T07:16:05.752Z",
"dateUpdated": "2025-05-04T07:15:49.993Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.1",
"vulnerability-lookup:meta": {
"vulnrichment": {
"containers": "{\"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"cvssV3_1\": {\"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\"}}, {\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2021-47669\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"total\"}], \"version\": \"2.0.3\", \"timestamp\": \"2025-04-17T18:17:52.149604Z\"}}}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-416\", \"description\": \"CWE-416 Use After Free\"}]}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2025-04-17T18:17:53.914Z\"}}], \"cna\": {\"title\": \"can: vxcan: vxcan_xmit: fix use after free bug\", \"affected\": [{\"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\"}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/6d6dcf2399cdd26f7f5426ca8dd8366b7f2ca105\"}, {\"url\": \"https://git.kernel.org/stable/c/9b820875a32a3443d67bfd368e93038354e98052\"}, {\"url\": \"https://git.kernel.org/stable/c/a24476b37167816e6352ca1a2cf3769847774f70\"}, {\"url\": \"https://git.kernel.org/stable/c/e771a874076115df8bff27d325edfd2340e4ec69\"}, {\"url\": \"https://git.kernel.org/stable/c/75854cad5d80976f6ea0f0431f8cedd3bcc475cb\"}], \"x_generator\": {\"engine\": \"bippy-1.0.0\"}, \"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().\"}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2025-04-17T18:01:29.979Z\"}}}",
"cveMetadata": "{\"cveId\": \"CVE-2021-47669\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2025-04-17T18:25:25.277Z\", \"dateReserved\": \"2025-04-16T07:16:05.752Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2025-04-17T18:01:29.979Z\", \"assignerShortName\": \"Linux\"}",
"dataType": "CVE_RECORD",
"dataVersion": "5.1"
}
}
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…