PT-2024-11412 · Linux+2 · Linux Kernel+2

Syzbot

·

Published

2021-09-30

·

Updated

2025-01-08

·

CVE-2021-47416

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 was reported in the MDIO bus interface of the Linux kernel. The issue arises from wrong state logic, where MDIOBUS ALLOCATED indicates two states: the bus is only allocated, or the bus is allocated and mdiobus register() fails, but device register() was called. To correctly free the memory allocated for the device, put device() should be called, even in case of device register() failure. However, mdiobus free() calls just kfree(dev) in case of MDIOBUS ALLOCATED state. The problem can be avoided by setting bus->state to MDIOBUS UNREGISTERED before calling device register().
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Memory Leak

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

Weakness Enumeration

Related Identifiers

BDU:2025-14223
CVE-2021-47416
OPENSUSE-SU-2024_2185-1
OPENSUSE-SU-2024_2189-1
OPENSUSE-SU-2024_3983-1
OPENSUSE-SU-2024_3985-1
OPENSUSE-SU-2024_4131-1
OPENSUSE-SU-2024_4140-1
SUSE-SU-2024:1979-1
SUSE-SU-2024:1983-1
SUSE-SU-2024:2008-1
SUSE-SU-2024:2010-1
SUSE-SU-2024:2011-1
SUSE-SU-2024:2019-1
SUSE-SU-2024:2183-1
SUSE-SU-2024:2184-1
SUSE-SU-2024:2185-1
SUSE-SU-2024:2189-1
SUSE-SU-2024:2190-1
SUSE-SU-2024:3983-1
SUSE-SU-2024:3985-1
SUSE-SU-2024:4081-1
SUSE-SU-2024:4082-1
SUSE-SU-2024:4100-1
SUSE-SU-2024:4103-1
SUSE-SU-2024:4131-1
SUSE-SU-2024:4140-1
SUSE-SU-2024:4364-1
SUSE-SU-2024_3983-1
SUSE-SU-2024_3985-1
SUSE-SU-2024_4103-1
SUSE-SU-2024_4131-1
SUSE-SU-2024_4140-1
SUSE-SU-2024_4364-1
SUSE-SU-2025:0034-1

Affected Products

Astra Linux
Linux Kernel
Suse