PT-2025-18643 · Linux+1 · Linux Kernel+1
Published
2025-05-01
·
Updated
2025-05-02
·
CVE-2022-49926
CVSS v3.1
5.5
Medium
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
A memory leak issue has been identified in the Linux kernel, specifically in the
dsa loop init() function. The kmemleak tool reported 12 new suspected memory leaks. The issue occurs due to two reasons:- The
fixed phy register()function creates and registers aphy device, but thefixed phy unregister()function only callsphy device remove(), resulting in a memory leak. - When
mdio driver register()fails indsa loop init(), it returns without cleaning up thephydevs. The issue is resolved by catching the error ofmdio driver register()indsa loop init()and calling bothfixed phy unregister()andphy device free()to release thephydevs. A function is also added forphydevscleanup to avoid duplication.
Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
Memory Leak
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Astra Linux
Linux Kernel