Use-after-free vulnerability in net: dsa: mv88e6xxx

Kernel Updated 02 Oct 2025

Summary

27/02/2022
N/A
No i
Unrated
Not published

GSD-2022-1000377: net: dsa: mv88e6xxx: fix use-after-free in mv88e6xxx_mdios_unregister. Affects Kernel versions >= 8ccebe77df6e0d88c72ba5e69cf1835927e53b6c, < 22249886dc5bc3d6bcc212f07e65b49d85c582fe. 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 Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The affected package is the Linux Kernel, specifically the net: dsa: mv88e6xxx module. This module is responsible for managing the Marvell 88E6xxx series of Ethernet switches. These switches are commonly used in network infrastructure devices. The vulnerability in question is a use-after-free issue that occurs during the unregistering process of the mdios subsystem. This vulnerability can potentially be exploited by an attacker to execute arbitrary code or cause a denial-of-service condition.

Vulnerability Detail

The use-after-free vulnerability in the net: dsa: mv88e6xxx module occurs when the mdios subsystem is unregistered. The issue arises due to improper handling of memory deallocation, leading to a situation where a pointer to freed memory is still accessible. An attacker can potentially exploit this vulnerability by manipulating the freed memory to execute arbitrary code or cause a crash in the system. The impact of this vulnerability can range from privilege escalation to a complete system compromise, depending on the attacker's capabilities and the context in which the vulnerable code is executed.

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 net: dsa: mv88e6xxx module if it is not required for their system. This can be done by blacklisting the module or removing it from the kernel configuration. However, this workaround should only be considered temporary, as it does not address the root cause of the vulnerability and may limit the functionality of the system.

Conclusion

The use-after-free vulnerability in the net: dsa: mv88e6xxx module can have serious security implications, potentially leading to arbitrary code execution or system crashes. It is crucial to update the Linux Kernel to version v5.10.101 or later to mitigate this vulnerability. Users can also consider disabling the module as a temporary workaround, but this should not be seen as a long-term solution. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The net: dsa: mv88e6xxx module is a component of the Linux Kernel responsible for managing the Marvell 88E6xxx series of Ethernet switches. These switches are commonly used in network infrastructure devices.

A use-after-free vulnerability occurs when a program continues to use a pointer to memory that has been freed. This can lead to various security issues, including the execution of arbitrary code or a system crash.

An attacker can potentially exploit this vulnerability by manipulating the freed memory to execute arbitrary code or cause a crash in the system. The specific attack vector would depend on the context in which the vulnerable code is executed.

The impact of this vulnerability can range from privilege escalation to a complete system compromise, depending on the attacker's capabilities and the context in which the vulnerable code is executed.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.10.101 or later. This can be done by downloading the latest kernel source code from the official Linux Kernel repository and compiling it for the target system.

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