CVE-2021-47671
LowIn 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.
CVSS 3.1 score
3.3
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
Weakness type
CWE-401CVE-2021-47671 is a Memory Leak vulnerability
What is Memory Leak?
The product does not release memory after use, causing gradual resource exhaustion. Learn more on MITRE CWE
Affected versions
Linux kernel versions
5.13
and later are affected. Fixed in
5.14.19,
5.15.3,
5.16
and their respective stable series.
References
The following references provide additional information about CVE-2021-47671 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
PatchKernel patch commithttps://git.kernel.org/stable/c/4f389e1276a5389c92cef860c9fde8e1c802a871
-
PatchKernel patch commithttps://git.kernel.org/stable/c/7eb0881aec26099089f12ae850aebd93190b1dfe
-
PatchKernel patch commithttps://git.kernel.org/stable/c/d9447f768bc8c60623e4bb3ce65b8f4654d33a50
Frequently asked questions
-
What is CVE-2021-47671?
CVE-2021-47671 is a Low severity Linux kernel vulnerability with a CVSS score of 3.3 out of 10 , classified as a Memory Leak flaw (CWE-401) . It affects Linux kernel versions from 5.13 onward and has been patched in 5.14.19, 5.15.3 and 5.16. CVE-2021-47671 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2021-47671?
CVE-2021-47671 has a CVSS score of 3.3 out of 10, rated Low severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L. -
Is there a patch available for CVE-2021-47671?
Yes — CVE-2021-47671 has been patched. Fixed versions include 5.14.19, 5.15.3 and 5.16. If you are running Linux kernel 5.13 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2021-47671 actively exploited?
No — CVE-2021-47671 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.
-
What is Memory Leak (CWE-401)?
The product does not release memory after use, causing gradual resource exhaustion. View CWE-401 on MITRE CWE →