CVE-2021-47158
MEDIUM 5.5CVSS 3.1In 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.
- Published
- 25 Mar 2024
- Last modified
- 4 Aug 2026
- Assigned by
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- NVD status
- Modified
- Weakness
- CWE-401
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary) | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 5.2, < 5.10.42 | 5.10.42 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 5.11, < 5.12.9 | 5.12.9 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:5.13:rc1:*:*:*:*:*:* |
= 5.13 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:5.13:rc2:*:*:*:*:*:* |
= 5.13 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:5.13:rc3:*:*:*:*:*:* |
= 5.13 |
References
- https://git.kernel.org/stable/c/987e4ab8b8a4fcbf783069e03e7524cd39ffd563 · Patch
- https://git.kernel.org/stable/c/cec279a898a3b004411682f212215ccaea1cd0fb · Patch
- https://git.kernel.org/stable/c/dd8609f203448ca6d58ae71461208b3f6b0329b0 · Patch
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 25 Mar 2024)