Null Pointer Dereference in Linux Kernel's mv88e6xxx Driver

linux Updated 02 Oct 2025

Summary

01/05/2025
N/A
Yes i
Unrated
Not published

CVE-2025-37787: In the Linux kernel, the following vulnerability has been resolved: net: dsa: mv88e6xxx: avoid unregistering devlink regions which were never registered Russell King reports that a system with mv88e6xxx dereferences a NU... Affects linux versions < 6.1.135-1. Fixed in 6.1.135-1. 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 Linux kernel is the core component of Linux-based operating systems, managing hardware and system resources. The mv88e6xxx driver is responsible for handling specific Ethernet switch chips, enabling communication between network devices. This driver is crucial for systems utilizing these chips, ensuring efficient data transfer and network management. However, it has been found vulnerable to a null pointer dereference issue, which can lead to system crashes.

Vulnerability Detail

In the Linux kernel, a vulnerability was identified in the mv88e6xxx driver where a null pointer dereference occurs during the unbinding process. This issue arises when the driver attempts to unregister devlink regions that were never registered, leading to a crash in the devlink_region_destroy() function. The vulnerability is particularly problematic for systems with certain chips that conditionally register devlink regions, resulting in a potential system failure if the chip lacks specific regions.

How To Fix

Minimum fixed version

6.1.135-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

Currently, there are no specific workarounds mentioned for this vulnerability. It is recommended to apply the patch as soon as it is available to avoid potential system crashes.

Conclusion

The CVE-2025-37787 vulnerability in the Linux kernel's mv88e6xxx driver poses a significant risk of system crashes due to null pointer dereference. It is essential to update to the patched version to mitigate this risk. Users should remain vigilant and utilize tools like Vulert to monitor for vulnerabilities in their applications.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2025-37787 is a vulnerability in the Linux kernel's mv88e6xxx driver that can cause a system crash due to a null pointer dereference.

If your system uses the mv88e6xxx driver and lacks certain devlink regions, it may crash when the driver is unbound, leading to potential downtime.

Yes, a patch is available in the Linux package version 6.1.135-1 for Debian 12. Ensure to update your system to this version or later.

While there are no specific workarounds, it is crucial to monitor your system for crashes and plan to apply the patch as soon as possible.

You can use Vulert, which monitors open-source vulnerabilities in your software. By uploading your manifest file like package-lock.json, you can check for vulnerabilities in real-time without needing to access the code.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

6.1.135-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. 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