Skip to main content
VulnerabilityPublished

CVE-2025-40255: Linux kernel · net: core: prevent NULL deref in generic_hwtstamp_ioctl_lower()

Source GCVE Database

0
Compare

Not known to be exploited.

Data as of 25 Nov 2026, 03:39 UTC

Severity
Medium

Rated Medium by Threat Radar's AI analysis · No CVSS score from NVD or the CNA

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 4 Dec 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

AI-suggested

A fix has been implemented that adds a NULL check for kernel_cfg->ifr in generic_hwtstamp_ioctl_lower(), returning -EINVAL if NULL. Users should apply the official Linux kernel update that includes this patch once available. Patch status is not explicitly confirmed in the data; check the vendor advisory for current remediation guidance.

Description

CVE-2025-40255 is a vulnerability in the Linux kernel's network core where a null pointer dereference can occur in the generic_hwtstamp_ioctl_lower() function. This happens because the function is called with a NULL ifr pointer, which it dereferences without checking. The flaw can cause a system crash. The issue arises from a specific call chain involving ethtool tsconfig Netlink path functions. The fix involves adding a NULL check for kernel_cfg->ifr and returning an error if it is NULL.

References

Community reviews

Loading reviews…