Critical Memory Access Vulnerability in Linux Kernel: CVE-2025-38006

linux Updated 02 Oct 2025

Summary

18/06/2025
N/A
No i
Unrated
Not published

CVE-2025-38006: In the Linux kernel, the following vulnerability has been resolved: net: mctp: Don't access ifa_index when missing In mctp_dump_addrinfo, ifa_index can be used to filter interfaces, but only when the struct ifaddrmsg is... Affects linux versions 6.1.106-1 – 6.9.9-1. 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 Linux kernel is the core component of many operating systems, managing hardware and system resources. It provides essential services for all other parts of the operating system. The kernel's networking stack, including the MCTP (Management Component Transport Protocol) implementation, is crucial for communication between devices. This vulnerability arises from improper handling of uninitialized memory, potentially leading to security risks in network operations.

Vulnerability Detail

CVE-2025-38006 is a vulnerability in the Linux kernel's MCTP implementation, specifically in the mctp_dump_addrinfo function. The issue occurs when the ifa_index is accessed without a valid struct ifaddrmsg, leading to comparisons against uninitialized memory. This can be exploited in scenarios such as DHCP operations or when using commands like 'ip addr show'. The kernel has always filtered by ifa_index, meaning that existing userspace programs must provide a valid ifa_index value to function correctly. Failure to do so may result in undefined behavior or security breaches.

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

Currently, there are no specific workarounds mentioned for this vulnerability. Users are advised to ensure that their applications provide a valid ifa_index when interacting with the MCTP implementation to avoid potential issues.

Conclusion

CVE-2025-38006 represents a significant vulnerability in the Linux kernel's MCTP implementation, stemming from improper memory access. Users are encouraged to update their systems to the latest patched versions to safeguard against potential exploits. Utilizing tools like Vulert can help monitor for such vulnerabilities effectively.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2025-38006 is a vulnerability in the Linux kernel's MCTP implementation that involves accessing uninitialized memory, potentially leading to security risks.

You can use the Vulert platform to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without any signup.

Exploiting this vulnerability may lead to undefined behavior in network operations, which could compromise system security and stability.

Yes, a patch is available for Debian 13 users in version 6.12.30-1. Users should update their packages to this version to mitigate the vulnerability.

While there are no specific workarounds, ensure that your applications provide a valid ifa_index when using the MCTP implementation to minimize risks.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

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