Vulnerability in mt76 DMA Initialization in Kernel

Kernel Updated 02 Oct 2025

Summary

24/04/2022
N/A
No i
Unrated
Not published

GSD-2022-1001071: mt76: dma: initialize skip_unmap in mt76_dma_rx_fill. Affects Kernel versions < 96ce2f14cf6d8f1b1bde08c0b07648696217b81d. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The mt76 package is a driver for MediaTek MT76x0e, MT76x2e, MT7603, MT7615, and MT7628 wireless LAN chips. It provides support for various features and functionalities of these chips, including DMA (Direct Memory Access) operations. DMA is used for efficient data transfer between devices and memory without involving the CPU. However, a vulnerability has been identified in the mt76_dma_rx_fill function, which is responsible for initializing the DMA receive buffer. This vulnerability can potentially be exploited by an attacker to execute arbitrary code or cause a denial-of-service (DoS) condition.

Vulnerability Detail

The vulnerability in mt76_dma_rx_fill arises from the uninitialized skip_unmap variable. This variable is used to determine whether to unmap the DMA buffer after processing the received data. By not initializing this variable, the driver may incorrectly unmap the buffer, leading to memory corruption or other unexpected behavior. An attacker can potentially exploit this vulnerability by sending specially crafted packets to the affected device, triggering the uninitialized variable and causing a buffer overflow or other memory-related issues. The impact of this vulnerability can range from arbitrary code execution to system crashes or instability.

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 temporary workaround, users can disable the affected wireless LAN chip or module to prevent potential exploitation of this vulnerability. This can be done by unloading the mt76 module or disabling the corresponding hardware. However, this workaround may result in the loss of wireless connectivity until the vulnerability is properly addressed.

Conclusion

The vulnerability in mt76 DMA initialization can lead to memory corruption, arbitrary code execution, or system instability. It is crucial to update the Linux Kernel to the recommended version or apply the provided workaround to mitigate the risk. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

mt76 is a driver package for MediaTek wireless LAN chips, providing support for various features and functionalities of these chips.

DMA (Direct Memory Access) is a mechanism used for efficient data transfer between devices and memory without involving the CPU.

mt76_dma_rx_fill is a function in the mt76 driver responsible for initializing the DMA receive buffer.

The impact of this vulnerability can range from arbitrary code execution to system crashes or instability.

To fix this vulnerability, update the Linux Kernel to version v5.17.3 or later, which includes the necessary fix for the mt76 driver.

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