CVE-2025-40255
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2025-40255 is a NULL pointer dereference vulnerability in the Linux kernel's network core subsystem, specifically in the generic_hwtstamp_ioctl_lower() function. It was published on December 4, 2025, and affects Linux kernel versions from commit 6e9e2eed4f39d52edf5fd006409d211facf49f6b up to the patched commits. The vulnerability can be triggered via the ethtool tsconfig Netlink path, leading to a system crash. No CVSS score has been formally assigned at this time, and the EPSS score is approximately 0.024% (Feedly, ENISA EUVD).

Technical details

The root cause is a NULL pointer dereference (CWE-476) in generic_hwtstamp_ioctl_lower() within the Linux kernel's network core. The vulnerable call chain is: tsconfig_prepare_data()dev_get_hwtstamp_phylib()vlan_hwtstamp_get()generic_hwtstamp_get_lower()generic_hwtstamp_ioctl_lower(). When this path is traversed via the ethtool tsconfig Netlink interface, kernel_cfg->ifr can be NULL, and the function dereferences it without a prior NULL check, causing a kernel panic. The fix adds a NULL check for kernel_cfg->ifr in generic_hwtstamp_ioctl_lower(), returning -EINVAL if the pointer is NULL (Feedly, Kernel Patch 1, Kernel Patch 2).

Impact

Successful exploitation of this vulnerability causes a kernel NULL pointer dereference, resulting in a system crash (kernel panic) and denial of service. Availability is the primary impact, as the affected system becomes unresponsive and requires a reboot. There is no evidence of confidentiality or integrity impact, and lateral movement potential is limited given the crash-only outcome (Feedly).

Exploitability

No public proof-of-concept exploit code or in-the-wild exploitation has been reported for CVE-2025-40255. The EPSS score is approximately 0.024%, indicating a very low probability of exploitation in the near term. The vulnerability requires the ability to invoke ethtool tsconfig Netlink operations on a system with VLAN interfaces and hardware timestamping support, which limits the attack surface. It is not listed in the CISA Known Exploited Vulnerabilities catalog (Feedly).

Mitigation and workarounds

The Linux kernel maintainers have released patches addressing this vulnerability in two stable commits: 8817f816ae41908e9625c0770c4af0dcdcc01238 and f796a8dec9beafcc0f6f0d3478ed685a15c5e062. Downstream distributions including Ubuntu have issued security advisories (USN-8094-1 through USN-8094-5, USN-8152-1) with updated kernel packages. Users should apply the latest kernel updates provided by their Linux distribution. SUSE Linux has also released updates addressing this issue (Ubuntu USN-8094-1, Ubuntu USN-8152-1, Kernel Patch 1).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-68427MEDIUM5.5
  • Linux Kernel logoLinux Kernel
  • linux-nvidia-tegra
NoYesAug 10, 2026
CVE-2026-68426MEDIUM4.7
  • Linux Kernel logoLinux Kernel
  • linux-nvidia-tegra-igx
NoYesAug 10, 2026
CVE-2026-68450NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-debug-devel
NoYesAug 12, 2026
CVE-2026-68430NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-64k-debug-modules-partner
NoYesAug 12, 2026
CVE-2026-68428NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-ibm-6.8
NoYesAug 10, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management