Fix resource leaks in mtk_phy_init() in Kernel

Kernel Updated 02 Oct 2025

Summary

30/06/2021
N/A
No i
Unrated
Not published

GSD-2021-1000992: phy: phy-mtk-tphy: Fix some resource leaks in mtk_phy_init(). Affects Kernel versions < 9a17907946232d01aa2ec109da5f93b8d31dd425. 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 crucial component of the Linux operating system that manages system resources and facilitates communication between hardware and software. It provides essential functionalities for the proper functioning of the system. The mtk_phy_init() function is a part of the phy-mtk-tphy module in the Kernel. This function is responsible for initializing the MediaTek TPHY (Transceiver PHY) driver. The TPHY driver handles the physical layer communication for MediaTek SoCs (System-on-Chips) and is used in various devices such as smartphones, tablets, and IoT devices.

Vulnerability Detail

The mtk_phy_init() function in the phy-mtk-tphy module has been found to have some resource leaks. Resource leaks occur when system resources, such as memory or file handles, are not properly released after use. These leaks can lead to a gradual depletion of available resources, potentially causing system instability or denial of service. An attacker may be able to exploit these resource leaks to exhaust system resources, leading to a system crash or other adverse effects. The vulnerability has been fixed in Linux Kernel version v5.10.46 by commit 9a17907946232d01aa2ec109da5f93b8d31dd425.

How To Fix

No fixed version is published for this vulnerability.

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

Workaround

There is no specific workaround available for this vulnerability. It is recommended to apply the fix mentioned in the 'how_to_fix' section.

Conclusion

The mtk_phy_init() function in the phy-mtk-tphy module of the Linux Kernel has been found to have resource leaks. These leaks can potentially lead to resource exhaustion and system instability. It is crucial to update the Kernel to the fixed version (v5.10.46 or later) to mitigate these risks. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

This vulnerability can potentially lead to resource exhaustion, system instability, or denial of service. It is important to update the Kernel to the fixed version to mitigate these risks.

The details of remote exploitation are not provided in the vulnerability report. However, it is always recommended to keep the Kernel up to date to protect against potential remote attacks.

There is no information available regarding any known instances of this vulnerability being exploited in the wild.

The vulnerability report does not provide a CVSS score. It is advisable to consult the official Linux Kernel security advisories for more detailed information.

For more information about this vulnerability, you can refer to the vulnerability report in the GSD database: https://github.com/cloudsecurityalliance/gsd-database/blob/main/2021/1000xxx/GSD-2021-1000992.json

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

How To Fix

No fixed version is published for this vulnerability.

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