Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2025-38271

5.5 · MEDIUM
Published Jul 10, 2025 linux CWE-476 EPSS 0.14% (4th pctl)

Overview

CVE-2025-38271 is a medium-severity vulnerability affecting linux linux_kernel. It was published on July 10, 2025 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical Description

In the Linux kernel, the following vulnerability has been resolved:

net: prevent a NULL deref in rtnl_create_link()

At the time rtnl_create_link() is running, dev->netdev_ops is NULL,

we must not use netdev_lock_ops() or risk a NULL deref if

CONFIG_NET_SHAPER is defined.

Use netif_set_group() instead of dev_set_group().

RIP: 0010:netdev_need_ops_lock include/net/netdev_lock.h:33 [inline]

RIP: 0010:netdev_lock_ops include/net/netdev_lock.h:41 [inline]

RIP: 0010:dev_set_group+0xc0/0x230 net/core/dev_api.c:82

Call Trace:

<TASK>

rtnl_create_link+0x748/0xd10 net/core/rtnetlink.c:3674

rtnl_newlink_create+0x25c/0xb00 net/core/rtnetlink.c:3813

__rtnl_newlink net/core/rtnetlink.c:3940 [inline]

rtnl_newlink+0x16d6/0x1c70 net/core/rtnetlink.c:4055

rtnetlink_rcv_msg+0x7cf/0xb70 net/core/rtnetlink.c:6944

netlink_rcv_skb+0x208/0x470 net/netlink/af_netlink.c:2534

netlink_unicast_kernel net/netlink/af_netlink.c:1313 [inline]

netlink_unicast+0x75b/0x8d0 net/netlink/af_netlink.c:

Remediation

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
linux linux_kernel >= 6.15, < 6.15.3 Affected

Frequently Asked Questions

What is CVE-2025-38271?

CVE-2025-38271 is a medium-severity vulnerability affecting linux linux_kernel. It was published on July 10, 2025 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

How severe is CVE-2025-38271?

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2025-38271?

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2025-38271?

CyberStrike's AI-powered security agents can automatically detect CVE-2025-38271 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.