CVE-2021-47158

MEDIUM

Linux Kernel < 5.10.42 - Memory Leak

Title source: rule

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.

Scores

CVSS v3 5.5
EPSS 0.0002
EPSS Percentile 4.2%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

CWE
CWE-401
Status published

Affected Products (4)

linux/linux_kernel < 5.10.42
linux/linux_kernel
linux/linux_kernel
linux/linux_kernel

Timeline

Published Mar 25, 2024
Tracked Since Feb 18, 2026