{"id":"CVE-2021-47158","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: dsa: sja1105: add error handling in sja1105_setup()\n\nIf any of sja1105_static_config_load(), sja1105_clocking_setup() or\nsja1105_devlink_setup() fails, we can't just return in the middle of\nsja1105_setup() or memory will leak. Add a cleanup path.","modified":"2026-03-15T22:43:05.548808Z","published":"2024-03-25T10:15:07.707Z","references":[{"type":"FIX","url":"https://git.kernel.org/stable/c/cec279a898a3b004411682f212215ccaea1cd0fb"},{"type":"FIX","url":"https://git.kernel.org/stable/c/dd8609f203448ca6d58ae71461208b3f6b0329b0"},{"type":"FIX","url":"https://git.kernel.org/stable/c/987e4ab8b8a4fcbf783069e03e7524cd39ffd563"}],"affected":[{"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-47158.json","unresolved_ranges":[{"events":[{"introduced":"5.2"},{"fixed":"5.10.42"}]},{"events":[{"introduced":"5.11"},{"fixed":"5.12.9"}]},{"events":[{"introduced":"0"},{"last_affected":"5.13-rc1"}]},{"events":[{"introduced":"0"},{"last_affected":"5.13-rc2"}]},{"events":[{"introduced":"0"},{"last_affected":"5.13-rc3"}]}]}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}