Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: net: dsa: sja1105: add error handling in sja1105_setup() If any of sja1105_static_config_load(), sja1105_clocking_setup() or sja1105_devlink_setup() fails, we can't just return in the middle of sja1105_setup() or memory will leak. Add a cleanup path.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 5.2, < 5.10.42 |
Related Weaknesses (CWE)
References
- https://git.kernel.org/stable/c/987e4ab8b8a4fcbf783069e03e7524cd39ffd563Patch
- https://git.kernel.org/stable/c/cec279a898a3b004411682f212215ccaea1cd0fbPatch
- https://git.kernel.org/stable/c/dd8609f203448ca6d58ae71461208b3f6b0329b0Patch
- https://git.kernel.org/stable/c/987e4ab8b8a4fcbf783069e03e7524cd39ffd563Patch
- https://git.kernel.org/stable/c/cec279a898a3b004411682f212215ccaea1cd0fbPatch
- https://git.kernel.org/stable/c/dd8609f203448ca6d58ae71461208b3f6b0329b0Patch
FAQ
What is CVE-2021-47158?
CVE-2021-47158 is a vulnerability with a CVSS score of 5.5 (MEDIUM). In the Linux kernel, the following vulnerability has been resolved: net: dsa: sja1105: add error handling in sja1105_setup() If any of sja1105_static_config_load(), sja1105_clocking_setup() or sja11...
How severe is CVE-2021-47158?
CVE-2021-47158 has been rated MEDIUM with a CVSS base score of 5.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2021-47158?
Check the references section above for vendor advisories and patch information. Affected products include: Linux Linux Kernel.