Memory Leak Vulnerability in mt76: mt7921s
Summary
GSD-2022-1001232: mt76: mt7921s: fix a possible memory leak in mt7921_load_patch. Affects Kernel versions >= 78b217580c50994ae22dde4ecaaf147de0f355f6, < b301043384c5c2447357952be9a536c2026d8ad0. No fix is published. How to fix ↓
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.
No signup required · Results in about 60 seconds
Background
The mt76 package is a driver for MediaTek MT76x0 wireless LAN devices. It provides support for various MediaTek wireless chipsets, including the mt7921s. The mt7921s is a Wi-Fi 6 (802.11ax) chipset commonly used in wireless network devices. This vulnerability specifically affects the mt7921s driver in the Linux Kernel.
Vulnerability Detail
The vulnerability identified as GSD-2022-1001232 in the mt76 package's mt7921s driver can lead to a memory leak. When loading a patch, there is a possibility of not properly freeing allocated memory, resulting in a memory leak. This vulnerability could be exploited by an attacker to exhaust system memory resources, potentially leading to a denial-of-service condition or other unpredictable behavior. The vulnerability was introduced in version v5.17 of the Linux Kernel and has been fixed in version v5.17.2.
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 mentioned for this vulnerability.
Conclusion
In conclusion, the mt76 package's mt7921s driver in the Linux Kernel is vulnerable to a memory leak issue. This vulnerability can be mitigated by updating the Linux Kernel to version v5.17.2 or later. It is recommended to apply the fix promptly to ensure system stability and security. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
This vulnerability can potentially lead to a memory leak, which may result in system instability, resource exhaustion, or denial-of-service conditions.
You can use the Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your package-lock.json file and Vulert will analyze it for any known vulnerabilities.
At the time of this report, there is no known exploit for this vulnerability. However, it is always recommended to apply security patches promptly to mitigate any potential risks.
While it is possible to manually patch the vulnerability, it is generally recommended to update the entire Linux Kernel to the latest version. This ensures that you have all the necessary security fixes and improvements.
You can find more information about this vulnerability in the official Linux Kernel repository (https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/) and the Cloud Security Alliance GSD Database (https://github.com/cloudsecurityalliance/gsd-database).
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.