What’s Vulnerable › Vulnerabilities
CVE-2022-48959: net: dsa: sja1105: fix memory leak in sja1105_setup_devlink_regions()
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-10-21 · updated 2026-06-17
- Weakness: CWE-401
Description
In the Linux kernel, the following vulnerability has been resolved: net: dsa: sja1105: fix memory leak in sja1105_setup_devlink_regions() When dsa_devlink_region_create failed in sja1105_setup_devlink_regions(), priv->regions is not released.
Affected products
- Linux kernel: from 5.10 before 5.10.159; from 5.11 before 5.15.83; from 5.16 before 6.0.13; 6.1-rc1, 6.1-rc2, 6.1-rc3, 6.1-rc4, 6.1-rc5, 6.1-rc6 (+2) — fixed in 5.10.159, 5.15.83, 6.0.13
How to fix
Upgrade to a fixed version: Linux kernel 5.10.159, 5.15.83, 6.0.13. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/4be43e46c3f945fc7dd9e23c73a7a66927a3b814
- https://git.kernel.org/stable/c/78a9ea43fc1a7c06a420b132d2d47cbf4344a5df
- https://git.kernel.org/stable/c/e5e59629654b8826f0167dae480d0e3fa0f8f038
- https://git.kernel.org/stable/c/f3b5dda26cd0535aac09ed09c5d83f19b979ec9f
Get alerted when CVE-2022-48959 or the next vulnerability affects your stack