CVE-2025-40255

Unknown

Description

In the Linux kernel, the following vulnerability has been resolved: net: core: prevent NULL deref in generic_hwtstamp_ioctl_lower() The ethtool tsconfig Netlink path can trigger a null pointer dereference. A call chain such as: tsconfig_prepare_data() -> dev_get_hwtstamp_phylib() -> vlan_hwtstamp_get() -> generic_hwtstamp_get_lower() -> generic_hwtstamp_ioctl_lower() results in generic_hwtstamp_ioctl_lower() being called with kernel_cfg->ifr as NULL. The generic_hwtstamp_ioctl_lower() function does not expect a NULL ifr and dereferences it, leading to a system crash. Fix this by adding a NULL check for kernel_cfg->ifr in generic_hwtstamp_ioctl_lower(). If ifr is NULL, return -EINVAL.

SeverityUnknown
CVSS—
Exploit probability—
ProductLinux
PublishedDec 4, 2025
First seenDec 4, 2025

How to fix

Update
  • Linux Linux8817f816ae41908e9625c0770c4af0dcdcc01238, f796a8dec9beafcc0f6f0d3478ed685a15c5e062 or later

Affected products

ProductAffected versionsFixed in
Linux Linux6e9e2eed4f39d52edf5fd006409d211facf49f6b ≤ v < 8817f816ae41908e9625c0770c4af0dcdcc01238, 6e9e2eed4f39d52edf5fd006409d211facf49f6b ≤ v < f796a8dec9beafcc0f6f0d3478ed685a15c5e062, 6.148817f816ae41908e9625c0770c4af0dcdcc01238, f796a8dec9beafcc0f6f0d3478ed685a15c5e062

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.