UAF Vulnerability in net: qcom/emac

Kernel Updated 02 Oct 2025

Summary

03/08/2021
N/A
No i
Unrated
Not published

GSD-2021-1001322: net: qcom/emac: fix UAF in emac_remove. Affects Kernel versions >= 54e19bc74f3380d414681762ceed9f7245bc6a6e, < 2b70ca92847c619d6264c7372ef74fcbfd1e048c. 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 net: qcom/emac package is a component of the Linux Kernel, specifically designed for Qualcomm Ethernet MAC (EMAC) controllers. It provides the necessary drivers and functionality for managing network communication through these controllers. The EMAC controllers are commonly used in Qualcomm SoCs (System on Chips) for various devices, including smartphones, tablets, and IoT devices.

Vulnerability Detail

The UAF (Use-After-Free) vulnerability in the net: qcom/emac package allows an attacker to exploit a memory corruption issue during the removal of the EMAC driver. This vulnerability was introduced in version v4.9 of the Linux Kernel and was fixed in version v5.4.135. By triggering the vulnerability, an attacker could potentially execute arbitrary code or cause a denial-of-service (DoS) condition, leading to a system crash or other malicious activities.

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 EMAC driver or remove the affected hardware from the system. However, this may result in the loss of network connectivity or the inability to utilize the EMAC controller functionality. It is recommended to apply the official fix by updating the Linux Kernel to the patched version.

Conclusion

The UAF vulnerability in the net: qcom/emac package poses a significant security risk, potentially allowing an attacker to execute arbitrary code or cause a DoS condition. It is crucial to update the Linux Kernel to the patched version to mitigate this vulnerability. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The net: qcom/emac package is a component of the Linux Kernel that provides drivers and functionality for Qualcomm Ethernet MAC (EMAC) controllers.

A UAF (Use-After-Free) vulnerability is a type of memory corruption issue where a program continues to use a memory address after it has been freed, leading to potential exploitation and security risks.

The UAF vulnerability in the net: qcom/emac package could allow an attacker to execute arbitrary code, cause a denial-of-service (DoS) condition, or perform other malicious activities on the affected system.

To fix the UAF vulnerability, it is recommended to update the Linux Kernel to version v5.4.135 or later by obtaining the latest stable version from the official repository and following the installation instructions.

As a workaround, users can disable the EMAC driver or remove the affected hardware from the system. However, it is recommended to apply the official fix by updating the Linux Kernel to the patched version.

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