CVE-2021-47150: net: fec: fix the potential memory leak in fec_enet_init()

Published Mar 25, 2024
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

net: fec: fix the potential memory leak in fecenetinit()

If the memory allocated for cbdbase is failed, it should free the memory allocated for the queues, otherwise it causes memory leak.

And if the memory allocated for the queues is failed, it can return error directly.

Affected Software

8 affected componentsFixes available
Linux Linux kernel>=3.18<4.19.193
Linux Linux kernel>=4.20<5.4.124
Linux Linux kernel>=5.5<5.10.42
Linux Linux kernel>=5.11<5.12.9
Linux Linux kernel=5.13-rc1
Linux Linux kernel=5.13-rc2
Linux Linux kernel=5.13-rc3
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-16.12.27-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 5.10.223-1Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.25-1Fixed in 6.12.27-1

Event History

Mar 25, 2024
CVE Published
via MITRE·09:07 AM
Data Sourced
via MITRE·09:07 AM
Description

Frequently Asked Questions

1

What is the severity of CVE-2021-47150?

CVE-2021-47150 is categorized as a medium severity vulnerability due to the potential for a memory leak.

2

How do I fix CVE-2021-47150?

To fix CVE-2021-47150, ensure that you upgrade your Linux kernel to a version that includes the patch addressing this memory leak.

3

What software versions are affected by CVE-2021-47150?

CVE-2021-47150 affects various versions of the Linux kernel from 3.18 to 5.13-rc3.

4

What types of systems are vulnerable to CVE-2021-47150?

CVE-2021-47150 impacts systems running vulnerable versions of the Linux kernel, particularly those utilizing the FEC driver.

5

Is there a workaround for CVE-2021-47150?

There are no known workarounds for CVE-2021-47150, so the recommended action is to update the Linux kernel.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By 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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203