Kernel Vulnerability in Linux Package: Netdevsim PHC Destruction Issue

linux Updated 02 Oct 2025

Summary

22/02/2024
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2024-26587: In the Linux kernel, the following vulnerability has been resolved: net: netdevsim: don't try to destroy PHC on VFs PHC gets initialized in nsim_init_netdevsim(), which is only called if (nsim_dev_port_is_pf()). Affects linux versions < 6.6.15-1. Fixed in 6.6.15-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 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 Linux package is a core component of the Debian operating system, providing essential functionalities for managing hardware and system resources. It is widely used in various environments, from servers to embedded systems. This vulnerability specifically affects the netdevsim module, which simulates network devices for testing purposes. The issue arises when attempting to destroy a Precision Time Protocol Hardware Clock (PHC) associated with virtual functions (VFs), leading to potential system crashes.

Vulnerability Detail

In the Linux kernel, a vulnerability has been identified in the netdevsim module where the system attempts to destroy a PHC when virtual functions are instantiated. This occurs due to a NULL pointer dereference, which can lead to a crash. The vulnerability was introduced in the initialization process of the netdevsim and can be triggered during the execution of specific tests, such as devlink.sh. The crash manifests as a kernel NULL pointer dereference error, indicating a serious flaw that can compromise system stability.

How To Fix

Minimum fixed version

6.6.15-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. However, avoiding the use of netdevsim with instantiated VFs may prevent the crash until the package is updated.

Conclusion

The vulnerability identified in the Linux kernel's netdevsim module poses a significant risk of system crashes when handling PHC destruction with virtual functions. It is crucial for users to update to the patched version 6.6.15-1 or later to ensure system stability and security. Regular monitoring for vulnerabilities using tools like Vulert can help maintain a secure environment.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

The vulnerability can lead to system crashes when attempting to destroy netdevsim with instantiated virtual functions, resulting in potential downtime.

You can use Vulert, which monitors open-source vulnerabilities in your software. By utilizing the Vulert playground, you can check if your application is affected without any signup.

The vulnerability affects all versions prior to 6.6.15-1 in Debian 13 and 14.

While the primary risk is system instability and crashes, it is advisable to ensure data is backed up regularly to mitigate any potential loss.

If an immediate update is not possible, consider avoiding the use of netdevsim with instantiated VFs to prevent triggering the crash.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

6.6.15-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