Skip to content
CVE PROGRAM SOURCE RECORD7.8 High

CVE-2021-47158

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

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 8aa9ebccae87621d997707e4f25e53fddd7e30e4 to < dd8609f203448ca6d58ae71461208b3f6b0329b0affected
  • 8aa9ebccae87621d997707e4f25e53fddd7e30e4 to < 987e4ab8b8a4fcbf783069e03e7524cd39ffd563affected
  • 8aa9ebccae87621d997707e4f25e53fddd7e30e4 to < cec279a898a3b004411682f212215ccaea1cd0fbaffected

Linux Linux

Default version status: affected

  • 5.2affected
  • 0 to < 5.2unaffected
  • 5.10.42 to ≤ 5.10.*unaffected
  • 5.12.9 to ≤ 5.12.*unaffected
  • 5.13 to ≤ *unaffected

References