Vulnerability in Kernel: mt76: mt7915: fix NULL pointer dereference in mt7915_get_phy_mode

Kernel Updated 02 Oct 2025

Summary

19/12/2021
N/A
No i
Unrated
Not published

GSD-2021-1002564: mt76: mt7915: fix NULL pointer dereference in mt7915_get_phy_mode. Affects Kernel versions >= 37f4ca907c462d7c8a1ac9e7e3473681b5f893dd, < 14b03b8cebdf18ff13c39d58501b625411314de2. 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, responsible for managing system resources and facilitating communication between hardware and software. It provides essential functionality for the proper functioning of the system. The vulnerability affects the mt76 driver in the Kernel, specifically the mt7915 module. The mt7915 module is responsible for managing the MediaTek MT7915 Wi-Fi chipset. This vulnerability can lead to a NULL pointer dereference in the mt7915_get_phy_mode function, potentially causing a system crash or other unpredictable behavior.

Vulnerability Detail

The vulnerability arises from a NULL pointer dereference in the mt7915_get_phy_mode function of the mt7915 module. This can occur when the function is called with a NULL pointer as an argument. An attacker could potentially exploit this vulnerability by crafting a malicious input that triggers the NULL pointer dereference, leading to a denial of service (system crash) or other unpredictable behavior. The impact and attack plausibility of this vulnerability have not been proven yet. The vulnerability was introduced in version v5.8 of the Linux Kernel and has been fixed in version v5.15.7.

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 →

Conclusion

The vulnerability in the Kernel's mt76 driver, specifically the mt7915 module, can lead to a NULL pointer dereference in the mt7915_get_phy_mode function. This vulnerability has the potential to cause a system crash or other unpredictable behavior. It is recommended to update the Linux Kernel to version v5.15.7 or later to fix this vulnerability and ensure the system is protected. For further support on vulnerability remediation, you can reach out to DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The impact of this vulnerability can range from a system crash (denial of service) to other unpredictable behavior. However, the exact impact and attack plausibility have not been proven yet.

You can use the Vulert Playground at Vulert Scanner to check if your system is affected by this vulnerability. The playground allows you to analyze your application's manifest file (e.g., package-lock.json) and provides real-time alerts for open-source vulnerabilities.

No specific workaround has been mentioned for this vulnerability. It is recommended to update the Linux Kernel to the latest version to ensure the vulnerability is patched.

The vulnerability was introduced in version v5.8 of the Linux Kernel. Versions prior to v5.15.7 are affected.

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