Memory Leak in __mdiobus_register in Kernel

Kernel Updated 02 Oct 2025

Summary

28/10/2021
N/A
No i
Unrated
Not published

GSD-2021-1001867: net: mdiobus: Fix memory leak in __mdiobus_register. Affects Kernel versions < 0c4e87ba11eb331dca2315d484d08441b8c13193. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The Kernel is a critical component of the Linux operating system that manages communication between hardware and software. It provides essential functions and services to ensure the proper functioning of the system. The __mdiobus_register function is part of the network subsystem and is responsible for registering a new MDIO bus. MDIO (Management Data Input/Output) is a protocol used for communication between Ethernet PHYs (Physical Layer transceivers) and Ethernet MACs (Media Access Controllers).

Vulnerability Detail

The vulnerability identified as GSD-2021-1001867 in the Kernel's __mdiobus_register function is a memory leak issue. A memory leak occurs when allocated memory is not properly released, leading to a gradual depletion of available memory resources. In this case, the __mdiobus_register function fails to release memory in certain scenarios, resulting in a memory leak. This vulnerability could potentially lead to resource exhaustion, system instability, and denial-of-service conditions. It is important to note that the impact and attack plausibility of this vulnerability have not been proven yet.

How To Fix

No fixed version is published for this vulnerability.

The memory leak issue in __mdiobus_register has been addressed in the Linux Kernel version v5.14.15. To fix this vulnerability, it is recommended to update the Kernel to the latest version available. This can be done by obtaining the updated Kernel source code from the official Linux Kernel repository (https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/) and compiling it for the target system. Alternatively, users can wait for their Linux distribution to provide an updated Kernel package.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

No specific workaround has been mentioned for this vulnerability.

Conclusion

The memory leak vulnerability in __mdiobus_register can be addressed by updating the Kernel to version v5.14.15 or later. It is crucial to keep the Kernel up to date to ensure system stability and security. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

__mdiobus_register is a function in the Kernel's network subsystem that is responsible for registering a new MDIO bus. MDIO is a protocol used for communication between Ethernet PHYs and MACs.

A memory leak occurs when allocated memory is not properly released, leading to a gradual depletion of available memory resources.

The memory leak in __mdiobus_register could result in resource exhaustion, system instability, and denial-of-service conditions.

No, the impact and attack plausibility of this vulnerability have not been proven yet.

To fix this vulnerability, update the Kernel to version v5.14.15 or later.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

How To Fix

No fixed version is published for this vulnerability.

The memory leak issue in __mdiobus_register has been addressed in the Linux Kernel version v5.14.15. To fix this vulnerability, it is recommended to update the Kernel to the latest version available. This can be done by obtaining the updated Kernel source code from the official Linux Kernel repository (https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/) and compiling it for the target system. Alternatively, users can wait for their Linux distribution to provide an updated Kernel package.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback

Follow Vulert in Google

Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.