{"cve":"CVE-2021-47668","nvd":{"published":"2025-04-17T18:15:43.623","modified":"2026-08-04T10:17:12.543","status":"Modified","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ncan: dev: can_restart: fix use after free bug\n\nAfter calling netif_rx_ni(skb), dereferencing skb is unsafe.\nEspecially, the can_frame cf which aliases skb memory is accessed\nafter the netif_rx_ni() in:\n      stats->rx_bytes += cf->len;\n\nReordering the lines solves the issue.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.8},"cwes":["CWE-416"],"references":["https://git.kernel.org/stable/c/03f16c5075b22c8902d2af739969e878b0879c94","https://git.kernel.org/stable/c/08ab951787098ae0b6c0364aeea7a8138226f234","https://git.kernel.org/stable/c/260925a0b7d2da5449f8ecfd02c1405e0c8a45b8","https://git.kernel.org/stable/c/593c072b7b3c4d7044416eb039d9ad706bedd67a","https://git.kernel.org/stable/c/92668d28c7e6a7a2ba07df287669ffcdf650c421"],"products":["linux:linux_kernel"],"source":"nvd","synced_at":"2026-10-19T22:01:11.054312287+00:00"},"epss":{"cve":"CVE-2021-47668","score":0.00235,"percentile":0.14508,"date":"2026-10-31"},"kev":null,"osv":[],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}