CVE-2025-38271: Linux kernel · net: prevent a NULL deref in rtnl_create_link()
Affects Linux kernelSource GCVE Database
Not known to be exploited · CVSS 5.5 Medium.
Data as of 18 Nov 2026, 02:27 UTC
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 10 Jul 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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 17 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 24.04 LTSlinux-azure-6.11pkg:deb/ubuntu/linux-azure-6.11?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSlinux-gcp-6.11pkg:deb/ubuntu/linux-gcp-6.11?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSlinux-hwe-6.11pkg:deb/ubuntu/linux-hwe-6.11?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSlinux-lowlatency-hwe-6.11pkg:deb/ubuntu/linux-lowlatency-hwe-6.11?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSlinux-raspi-realtimepkg:deb/ubuntu/linux-raspi-realtime?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSlinux-realtimepkg:deb/ubuntu/linux-realtime?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix is available in updated Linux kernel versions that replace dev_set_group() with netif_set_group() in rtnl_create_link(). Users should apply the official kernel updates for their distributions to remediate this issue. No additional mitigation steps are indicated by the vendor advisory.
Description
A vulnerability in the Linux kernel's rtnl_create_link() function could lead to a NULL pointer dereference when dev->netdev_ops is NULL and CONFIG_NET_SHAPER is defined. This occurs due to improper use of netdev_lock_ops(), which can cause a kernel crash. The issue is addressed by using netif_set_group() instead of dev_set_group().
References
- ubuntu.com/security/CVE-2025-38271 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2025-38271 (opens in a new tab)
- git.kernel.org/linus/feafc73f3e6ae73371777a037d41d2e31c929636 (opens in a new tab)
- git.kernel.org/stable/c/8a29ae8428a5c26f0b4471c2057d9e9415c53109 (opens in a new tab)
- git.kernel.org/stable/c/feafc73f3e6ae73371777a037d41d2e31c929636 (opens in a new tab)