Use After Free Vulnerability in net: macb

Kernel Updated 02 Oct 2025

Summary

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

GSD-2021-1001544: net: macb: fix use after free on rmmod. Affects Kernel versions < a7d521cc726f30b8e679a6f36d04b18a8ab3c536. 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: macb package is a network driver for the MACB Ethernet controller. It is a part of the Linux Kernel, which is responsible for managing the core functionality of the operating system. The MACB Ethernet controller is commonly used in embedded systems and provides Ethernet connectivity. The vulnerability in net: macb allows for a use after free scenario when the module is removed from the system.

Vulnerability Detail

The use after free vulnerability in net: macb occurs when the module is unloaded from the system. This vulnerability can be exploited by an attacker to execute arbitrary code or cause a denial of service. The vulnerability arises due to improper handling of resources during the removal process, leading to a use after free scenario. An attacker can trigger this vulnerability by unloading the net: macb module, causing the system to access freed memory. This can result in a crash or allow the attacker to execute malicious code.

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 known workaround for this vulnerability. It is crucial to update the Linux Kernel to the fixed version to mitigate the risk of exploitation.

Conclusion

The use after free vulnerability in net: macb can be mitigated by updating the Linux Kernel to the fixed version. It is crucial to apply the recommended fix to ensure the security and stability of the system. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

net: macb is a network driver for the MACB Ethernet controller, commonly used in embedded systems.

A use after free vulnerability occurs when a program continues to use a memory resource after it has been freed, leading to potential crashes or the execution of arbitrary code.

An attacker can exploit this vulnerability by unloading the net: macb module, causing the system to access freed memory. This can result in a crash or allow the attacker to execute malicious code.

No, there is no known workaround for this vulnerability. Updating the Linux Kernel to the fixed version is the recommended solution.

To fix this vulnerability, update the Linux Kernel to version v4.14.249 or later, which includes the fix for the use after free vulnerability in net: macb.

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