Vulnerability in Kernel package: bus: mhi: pci_generic

Kernel Updated 02 Oct 2025

Summary

31/05/2021
N/A
No i
Unrated
Not published

GSD-2021-1000087: bus: mhi: pci_generic: Remove WQ_MEM_RECLAIM flag from state workqueue. Affects Kernel versions >= 8f70397876872789b2a5deba804eb6216fb5deb7, < ed541cff35cbdb695f0c98ef506dd7218883fc07. 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 Kernel package is a fundamental component of the Linux operating system, responsible for managing the system's core functionality. It provides an interface between the hardware and software layers, allowing applications to communicate with the underlying hardware. The bus: mhi: pci_generic module within the Kernel package is specifically designed for handling MHI (Mobile High-Definition Link) devices connected via PCI (Peripheral Component Interconnect) bus. These devices include modems, wireless adapters, and other peripherals. However, a vulnerability has been identified in the bus: mhi: pci_generic module, which could potentially be exploited by attackers to gain unauthorized access or execute arbitrary code on the system.

Vulnerability Detail

The vulnerability in the bus: mhi: pci_generic module arises from the improper usage of the WQ_MEM_RECLAIM flag in the state workqueue. This flag, when enabled, allows the workqueue to reclaim memory when it becomes scarce. However, in this case, the flag is unnecessary and can lead to memory leaks or other memory-related issues. An attacker could potentially exploit this vulnerability by triggering a series of events that exhaust system memory, leading to a denial-of-service condition or even arbitrary code execution. The impact and attack plausibility of this vulnerability have not been proven yet.

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

As a workaround, users can disable the affected module, bus: mhi: pci_generic, if it is not essential for their system's functionality. Disabling the module will prevent the vulnerability from being exploited. However, this workaround may result in the loss of functionality provided by MHI devices connected via PCI bus.

Conclusion

The vulnerability in the bus: mhi: pci_generic module of the Kernel package poses potential security risks, including unauthorized access and arbitrary code execution. It is crucial to update the Kernel package to the latest version, v5.12.3 or later, to mitigate this vulnerability. Users can also consider disabling the affected module as a temporary workaround, but this may impact the functionality of MHI devices connected via PCI bus. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The Kernel package is a core component of the Linux operating system, responsible for managing the system's core functionality and providing an interface between hardware and software layers.

The bus: mhi: pci_generic module is a part of the Kernel package and is specifically designed for handling MHI devices connected via PCI bus. These devices include modems, wireless adapters, and other peripherals.

The impact of this vulnerability is not yet proven. However, it could potentially allow attackers to gain unauthorized access or execute arbitrary code on the system, leading to various security risks.

To fix this vulnerability, it is recommended to update the Linux Kernel package to version v5.12.3 or later, which addresses the issue by removing the WQ_MEM_RECLAIM flag from the state workqueue.

Yes, users can disable the affected module, bus: mhi: pci_generic, if it is not essential for their system's functionality. However, this may result in the loss of functionality provided by MHI devices connected via PCI bus.

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