Use After Free Vulnerability in emac_mac_tx_buf_send

Kernel Updated 02 Oct 2025

Summary

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

GSD-2021-1000343: net:emac/emac-mac: Fix a use after free in emac_mac_tx_buf_send. Affects Kernel versions >= b9b17debc69d27cd55e21ee51a5ba7fc50a426cf, < 9dc373f74097edd0e35f3393d6248eda8d1ba99d. 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 emac/emac-mac package is a component of the Linux Kernel that provides support for Ethernet MAC (Media Access Control) controllers. It is responsible for managing the transmission and reception of Ethernet frames. The emac_mac_tx_buf_send function is used to send a buffer of data over the network. However, a use after free vulnerability has been discovered in this function, which could potentially lead to a security breach.

Vulnerability Detail

The use after free vulnerability in emac_mac_tx_buf_send arises from a programming error. When a buffer is sent over the network, the function does not properly handle the deallocation of the buffer after it has been transmitted. This can result in a situation where the buffer is accessed after it has been freed, leading to undefined behavior. An attacker could potentially exploit this vulnerability to execute arbitrary code or cause a denial of service.

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

If updating the kernel is not immediately feasible, a possible workaround is to disable the affected functionality or module. However, this may impact the normal operation of the system and is not a permanent solution. It is strongly recommended to apply the official fix by updating the kernel as soon as possible.

Conclusion

The use after free vulnerability in emac_mac_tx_buf_send can pose a significant security risk to systems running the affected Linux Kernel versions. It is crucial to update the kernel to version v5.10.37 or later to ensure the vulnerability is patched. Failure to do so may result in potential exploitation by attackers. For further assistance and support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

A use after free vulnerability occurs when a program continues to use a memory region after it has been freed. This can lead to unpredictable behavior and potential security issues.

An attacker can exploit this vulnerability by crafting a malicious network packet or by triggering the vulnerable code path. By doing so, they can potentially execute arbitrary code or cause a denial of service.

At the time of this report, there is no known public exploit for this vulnerability. However, it is important to apply the fix as soon as possible to prevent any potential attacks.

While it is possible to disable the affected functionality or module as a temporary workaround, it is strongly recommended to update the kernel to the latest version to fully mitigate the vulnerability.

You can find more information about this vulnerability in the Linux Kernel security advisory or by referring to the provided references link.

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