CVE-2025-21921NULL Pointer Dereference in Linux

Severity
5.5MEDIUMNVD
EPSS
0.0%
top 84.95%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedApr 1

Description

In the Linux kernel, the following vulnerability has been resolved: net: ethtool: netlink: Allow NULL nlattrs when getting a phy_device ethnl_req_get_phydev() is used to lookup a phy_device, in the case an ethtool netlink command targets a specific phydev within a netdev's topology. It takes as a parameter a const struct nlattr *header that's used for error handling : if (!phydev) { NL_SET_ERR_MSG_ATTR(extack, header, "no phy matching phyindex"); return ERR_PTR(-ENODEV); } In the notify pat

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitability: 1.8 | Impact: 3.6

Affected Packages4 packages

NVDlinux/linux_kernel6.126.12.19+2
Debianlinux/linux_kernel< 6.12.19-1+1
CVEListV5linux/linuxc15e065b46dc4e19837275b826c1960d55564abd639c70352958735addbba5ae7dd65985da96e061+3
debiandebian/linux< linux 6.12.19-1 (forky)

Patches

🔴Vulnerability Details

2
GHSA
GHSA-qc6x-3767-556f: In the Linux kernel, the following vulnerability has been resolved: net: ethtool: netlink: Allow NULL nlattrs when getting a phy_device ethnl_req_ge2025-04-01
OSV
CVE-2025-21921: In the Linux kernel, the following vulnerability has been resolved: net: ethtool: netlink: Allow NULL nlattrs when getting a phy_device ethnl_req_get_2025-04-01

📋Vendor Advisories

2
Red Hat
kernel: net: ethtool: netlink: Allow NULL nlattrs when getting a phy_device2025-04-01
Debian
CVE-2025-21921: linux - In the Linux kernel, the following vulnerability has been resolved: net: ethtoo...2025
CVE-2025-21921 — NULL Pointer Dereference in Linux | cvebase