PT-2024-31338 · Linux+6 · Linux Kernel+6

Published

2024-08-07

·

Updated

2025-09-29

·

CVE-2024-44971

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 versions prior to 6.6.50
Description A memory leak vulnerability has been resolved in the Linux kernel. The issue occurs in the bcm sf2 mdio register() function, which calls of phy find device() and then phy device remove() in a loop to remove existing PHY devices. The of phy find device() function eventually calls bus find device(), which calls get device() on the returned struct device * to increment the refcount. However, the current implementation does not decrement the refcount, causing a memory leak. The vulnerability has been fixed by adding a missing phy device free() call to decrement the refcount via put device() to balance the refcount.
Recommendations To resolve the issue, update the Linux kernel to version 6.6.50 or later. As a temporary workaround, consider disabling the bcm sf2 mdio register() function until a patch is available. Restrict access to the vulnerable bcm sf2 module to minimize the risk of exploitation. Avoid using the struct device * parameter in the affected API endpoint until the issue is resolved.

Exploit

Fix

Memory Leak

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALSA-2025_16880
ALT-PU-2024-11345
ALT-PU-2024-11855
ALT-PU-2024-11863
ALT-PU-2024-12232
ALT-PU-2024-12537
ALT-PU-2024-13121
ALT-PU-2024-13979
ALT-PU-2024-14046
AZL-48653
BDU:2025-01950
CVE-2024-44971
DLA-3912-1
DLA-4008-1
MGASA-2024-0309
MGASA-2024-0310
OESA-2024-2123
OESA-2024-2124
OESA-2024-2125
OESA-2024-2126
OPENSUSE-SU-2024_3551-1
OPENSUSE-SU-2024_3561-1
OPENSUSE-SU-2024_3564-1
OPENSUSE-SU-2024_3587-1
OPENSUSE-SU-2024_3592-1
SUSE-SU-2024:3551-1
SUSE-SU-2024:3553-1
SUSE-SU-2024:3561-1
SUSE-SU-2024:3564-1
SUSE-SU-2024:3569-1
SUSE-SU-2024:3587-1
SUSE-SU-2024:3592-1
SUSE-SU-2025:20073-1
SUSE-SU-2025:20077-1
USN-7100-1
USN-7100-2
USN-7123-1
USN-7144-1
USN-7154-1
USN-7154-2
USN-7155-1
USN-7156-1
USN-7194-1
USN-7196-1

Affected Products

Alt Linux
Astra Linux
Linuxmint
Linux Kernel
Red Os
Suse
Ubuntu