NetSight
high7.8

CVE-2021-47158

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_lo…

Impact

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

VendorProductAffected versions
LinuxLinux Kernel
from 5.2 before 5.10.42
from 5.11 before 5.12.9
Version 5.13

Weakness classification

References