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

VectorAV: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:
  1. The fixed phy register() function creates and registers a phy device, but the fixed phy unregister() function only calls phy device remove(), resulting in a memory leak.
  2. When mdio driver register() fails in dsa loop init(), it returns without cleaning up the phydevs. The issue is resolved by catching the error of mdio driver register() in dsa loop init() and calling both fixed phy unregister() and phy device free() to release the phydevs. A function is also added for phydevs cleanup 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

Weakness Enumeration

Related Identifiers

CVE-2022-49926

Affected Products

Astra Linux
Linux Kernel