PCI: mediatek: Fix refcount leak in mtk_pcie_subsys_powerup()

Kernel Updated 02 Oct 2025

Summary

28/06/2022
N/A
No i
Unrated
Not published

GSD-2022-1003074: PCI: mediatek: Fix refcount leak in mtk_pcie_subsys_powerup(). Affects Kernel versions >= 87e8657ba99cac87b84c7f8ead91b44d88345504, < 4cef4237d6c37257cb6ddc397723e9c0dded0efe. 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 Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The vulnerability affects the Kernel package in the Linux ecosystem. The Kernel is the core component of the Linux operating system, responsible for managing system resources and providing an interface for applications to interact with the hardware. The specific vulnerability, identified as GSD-2022-1003074, is related to a refcount leak in the mtk_pcie_subsys_powerup() function in the mediatek PCI driver. This vulnerability can potentially lead to resource leaks and impact system stability and performance.

Vulnerability Detail

The vulnerability arises from a refcount leak in the mtk_pcie_subsys_powerup() function of the mediatek PCI driver. When the function is called, it fails to properly handle reference counting, resulting in a leak. This can lead to resource exhaustion and potential system instability. Attackers may be able to exploit this vulnerability to cause denial-of-service conditions or execute arbitrary code with elevated privileges. The vulnerability was introduced in version v5.15 of the Linux Kernel and has been fixed in version v5.17.14.

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

If updating the Kernel package is not immediately feasible, a possible workaround is to disable the mediatek PCI driver or remove the affected hardware from the system. This can mitigate the risk of exploitation, but it may also result in the loss of functionality provided by the driver or the affected hardware.

Conclusion

The vulnerability in the mediatek PCI driver of the Kernel package can lead to resource leaks, system instability, and potential privilege escalation. It is crucial to update the Kernel to version v5.17.14 or later to mitigate the risk. If immediate update is not possible, disabling the mediatek PCI driver or removing the affected hardware can serve as a temporary workaround. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The vulnerability can lead to resource leaks, system instability, and potential privilege escalation. Attackers may be able to cause denial-of-service conditions or execute arbitrary code with elevated privileges.

You can use tools like Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Vulert Playground allows you to analyze your application's manifest file, such as package-lock.json, without requiring access to the code or installation.

Yes, the vulnerability has been fixed in version v5.17.14 of the Linux Kernel. It is recommended to update to this version or a later one to mitigate the risk.

A possible temporary measure is to disable the mediatek PCI driver or remove the affected hardware from the system. However, this may result in the loss of functionality provided by the driver or the affected hardware.

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