# can: dev: can_restart: fix use after free bug

CVE record · `CVE-2021-47668`

- **Identifiers:** `CVE-2021-47668`
- **State:** Confirmed
- **Severity:** CVSS 8.8 High
- **Critical:** No
- **CNA:** Linux
- **Weakness (CWE):** [CWE-416](https://cwe.mitre.org/data/definitions/416.html)
- **Tags:** [Memory corruption](https://agentprime.io/advisories/tag/memory-corruption.md)
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 17 Apr 2025
- **Updated:** 5 Aug 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 17 Apr 2025, 18:01 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `39549eef3587f1c1e8c65c88a2400d10fd30ea17 to before 260925a0b7d2da5449f8ecfd02c1405e0c8a45b8` (git)
  - affected: `39549eef3587f1c1e8c65c88a2400d10fd30ea17 to before bbc6847b9b8978b520f62fbc7c68c54ef0f8d282` (git)
  - affected: `39549eef3587f1c1e8c65c88a2400d10fd30ea17 to before 92668d28c7e6a7a2ba07df287669ffcdf650c421` (git)
  - affected: `39549eef3587f1c1e8c65c88a2400d10fd30ea17 to before 08ab951787098ae0b6c0364aeea7a8138226f234` (git)
  - affected: `39549eef3587f1c1e8c65c88a2400d10fd30ea17 to before ac48ef15826e83f4206c47add61072e8fc76d328` (git)
  - affected: `39549eef3587f1c1e8c65c88a2400d10fd30ea17 to before 593c072b7b3c4d7044416eb039d9ad706bedd67a` (git)
  - affected: `39549eef3587f1c1e8c65c88a2400d10fd30ea17 to before 03f16c5075b22c8902d2af739969e878b0879c94` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `2.6.31`
  - unaffected: `before 2.6.31` (semver)
  - unaffected: `4.4.254 to 4.4.*, inclusive` (semver)
  - unaffected: `4.9.254 to 4.9.*, inclusive` (semver)
  - unaffected: `4.14.218 to 4.14.*, inclusive` (semver)
  - unaffected: `4.19.171 to 4.19.*, inclusive` (semver)
  - unaffected: `5.4.93 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.11 to 5.10.*, inclusive` (semver)
  - unaffected: `5.11 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

- 8.8 High, CVSS 3.1: `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`, from CNA (Linux) (used for this record)
- 7.8 High, CVSS 3.1: `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`, from ADP (CISA-ADP)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0024, the 15th percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the CVE Program, published 17 Apr 2025. New records show when each source confirmed them.

## Sources

- [CVE List: CVE-2021-47668](https://www.cve.org/CVERecord?id=CVE-2021-47668)
- [NVD: CVE-2021-47668](https://nvd.nist.gov/vuln/detail/CVE-2021-47668)

### References from the CNA

- <https://git.kernel.org/stable/c/260925a0b7d2da5449f8ecfd02c1405e0c8a45b8>
- <https://git.kernel.org/stable/c/bbc6847b9b8978b520f62fbc7c68c54ef0f8d282>
- <https://git.kernel.org/stable/c/92668d28c7e6a7a2ba07df287669ffcdf650c421>
- <https://git.kernel.org/stable/c/08ab951787098ae0b6c0364aeea7a8138226f234>
- <https://git.kernel.org/stable/c/ac48ef15826e83f4206c47add61072e8fc76d328>
- <https://git.kernel.org/stable/c/593c072b7b3c4d7044416eb039d9ad706bedd67a>
- <https://git.kernel.org/stable/c/03f16c5075b22c8902d2af739969e878b0879c94>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2021-47668>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2021-47668/>. Everything for agents: <https://agentprime.io/llms.txt>.
