CVE-2021-47671
can: etas_es58x: es58x_rx_err_msg(): fix memory leak in error path
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 8537257874e949a59c834cecfd5a063e11b64b0b, < 4f389e1276a5389c92cef860c9fde8e1c802a871; >= 8537257874e949a59c834cecfd5a063e11b64b0b, < 7eb0881aec26099089f12ae850aebd93190b1dfe; >= 8537257874e949a59c834cecfd5a063e11b64b0b, < d9447f768bc8c60623e4bb3ce65b8f4654d33a50
- Anyone running Linux 5.13
Vulnerability facts
- Affected
- Linux >= 8537257874e949a59c834cecfd5a063e11b64b0b, < 4f389e1276a5389c92cef860c9fde8e1c802a871; >= 8537257874e949a59c834cecfd5a063e11b64b0b, < 7eb0881aec26099089f12ae850aebd93190b1dfe; >= 8537257874e949a59c834cecfd5a063e11b64b0b, < d9447f768bc8c60623e4bb3ce65b8f4654d33a50; Linux 5.13
- Fixed in
- Linux 4f389e1276a5389c92cef860c9fde8e1c802a871, Linux 7eb0881aec26099089f12ae850aebd93190b1dfe
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 3.3 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:LOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: Low
- EPSS
- 0.27% chance of exploitation in 30 days (percentile 12, 2026-11-26)
- CWE
- CWE-401
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: can: etas_es58x: es58x_rx_err_msg(): fix memory leak in error path In es58x_rx_err_msg(), if can->do_set_mode() fails, the function directly returns without calling netif_rx(skb). This means that the skb previously allocated by alloc_can_err_skb() is not freed. In other terms, this is a memory leak. This patch simply removes the return statement in the error branch and let the function continue. Issue was found with GCC -fanalyzer, please follow the link below for details.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 8537257874e949a59c834cecfd5a063e11b64b0b, < 4f389e1276a5389c92cef860c9fde8e1c802a871; >= 8537257874e949a59c834cecfd5a063e11b64b0b, < 7eb0881aec26099089f12ae850aebd93190b1dfe; >= 8537257874e949a59c834cecfd5a063e11b64b0b, < d9447f768bc8c60623e4bb3ce65b8f4654d33a50 | — | cvelist |
| Linux | 5.13 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2021-47671. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2021-47671.md Affected: Linux >= 8537257874e949a59c834cecfd5a063e11b64b0b, < 4f389e1276a5389c92cef860c9fde8e1c802a871; >= 8537257874e949a59c834cecfd5a063e11b64b0b, < 7eb0881aec26099089f12ae850aebd93190b1dfe; >= 8537257874e949a59c834cecfd5a063e11b64b0b, < d9447f768bc8c60623e4bb3ce65b8f4654d33a50; Linux 5.13 Fixed in: Linux 4f389e1276a5389c92cef860c9fde8e1c802a871, Linux 7eb0881aec26099089f12ae850aebd93190b1dfe Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2021-47671 being exploited?
There is no confirmed exploitation: CVE-2021-47671 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.27% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2021-47671?
Low: CVSS 3.3 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2021-47671?
Linux >= 8537257874e949a59c834cecfd5a063e11b64b0b, < 4f389e1276a5389c92cef860c9fde8e1c802a871; >= 8537257874e949a59c834cecfd5a063e11b64b0b, < 7eb0881aec26099089f12ae850aebd93190b1dfe; >= 8537257874e949a59c834cecfd5a063e11b64b0b, < d9447f768bc8c60623e4bb3ce65b8f4654d33a50; Linux 5.13.
Is there a fix for CVE-2021-47671?
Yes. Fixed in Linux 4f389e1276a5389c92cef860c9fde8e1c802a871, Linux 7eb0881aec26099089f12ae850aebd93190b1dfe. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2021-47671?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.