
17/4/2025

21/4/2025
CVE-2021-47671: can: etas_es58x: es58x_rx_err_msg(): fix memory leak in error path
First published: Thu Apr 17 2025(Updated: )
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.
Credit: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Software | Affected Version | How to fix |
---|
Linux Kernel | | |
Linux Kernel | >=5.13<5.14.19 | |
Linux Kernel | >=5.15<5.15.3 | |
Never miss a vulnerability like this again
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
Frequently Asked Questions
What is the severity of CVE-2021-47671?
CVE-2021-47671 is categorized as a medium severity vulnerability in the Linux kernel.
How do I fix CVE-2021-47671?
To fix CVE-2021-47671, upgrade to the latest patched version of the Linux kernel provided by your distribution.
What systems are affected by CVE-2021-47671?
CVE-2021-47671 affects various versions of the Linux kernel that implement the ES58x CAN driver.
What type of vulnerability is CVE-2021-47671?
CVE-2021-47671 is a memory leak vulnerability in the Linux kernel's can subsystem.
Is there any threat to data integrity from CVE-2021-47671?
While CVE-2021-47671 primarily causes resource leaks, it could lead to denial of service under specific conditions.
- agent/title
- agent/references
- agent/type
- agent/description
- agent/first-publish-date
- agent/source
- agent/author
- agent/guess-ai
- agent/software-canonical-lookup
- agent/weakness
- agent/severity
- agent/event
- collector/mitre-cve
- source/MITRE
- collector/nvd-api
- source/NVD
- agent/last-modified-date
- agent/remedy
- agent/tags
- agent/softwarecombine
- vendor/linux
- canonical/linux kernel
- version/linux kernel/5.13
- version/linux kernel/5.15
Contact
SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.coBy using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203