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-1001613: net: macb: fix use after free on rmmod. Affects Kernel versions < 1da750d1e2140ef43d64d17f301ff6f41b45541e. 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 ecosystem. The MACB Ethernet controller provides a high-performance, low-power Ethernet interface for embedded systems. The net: macb package is responsible for managing the communication between the MACB Ethernet controller and the operating system. However, a vulnerability has been discovered in this package that can lead to a use after free condition when the package is unloaded (rmmod).

Vulnerability Detail

The use after free vulnerability in net: macb occurs when the package is unloaded from the system. This vulnerability can be exploited by an attacker to execute arbitrary code or cause a denial of service. When the package is unloaded, there is a reference to a freed memory object, which can be accessed by an attacker. This can result in the execution of unintended code or the crashing of the system. The vulnerability has been fixed in Linux Kernel version v5.4.150 by commit 1da750d1e2140ef43d64d17f301ff6f41b45541e.

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 recommended to apply the fix mentioned in the 'how_to_fix' section.

Conclusion

The use after free vulnerability in net: macb can lead to arbitrary code execution or denial of service. It is important to update the Linux Kernel to version v5.4.150 or later to mitigate this vulnerability. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

net: macb is a network driver for the MACB Ethernet controller, providing a high-performance, low-power Ethernet interface for embedded systems.

A use after free vulnerability occurs when a program or package continues to reference a memory object after it has been freed. This can lead to unexpected behavior and potential security issues.

An attacker can exploit this vulnerability by unloading the net: macb package from the system and then accessing the freed memory object. This can allow the attacker to execute arbitrary code or cause a denial of service.

Yes, this vulnerability has been fixed in Linux Kernel version v5.4.150 by commit 1da750d1e2140ef43d64d17f301ff6f41b45541e.

To update your Linux Kernel, you can pull the latest changes from the official Linux Kernel repository and rebuild the kernel. Alternatively, you can wait for your Linux distribution to release an updated kernel package that includes the fix.

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