← CVE Intelligence

CVE-2021-47158

net: dsa: sja1105: add error handling in sja1105_setup() PUBLISHED

Description (CNA)

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.

Affected (CNA)

Vendor / productVersions
Linux / Linuxaffected 8aa9ebccae87621d997707e4f25e53fddd7e30e4 before dd8609f203448ca6d58ae71461208b3f6b0329b0; affected 8aa9ebccae87621d997707e4f25e53fddd7e30e4 before 987e4ab8b8a4fcbf783069e03e7524cd39ffd563; affected 8aa9ebccae87621d997707e4f25e53fddd7e30e4 before cec279a898a3b004411682f212215ccaea1cd0fb
Linux / Linuxaffected 5.2; unaffected 0 before 5.2; unaffected 5.10.42 through 5.10.*; unaffected 5.12.9 through 5.12.*; unaffected 5.13 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

CVE

No English description supplied.

CISA-ADP

No English description supplied.

No references supplied.