CVE-2025-38402
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2025-38402 is a vulnerability in the Linux kernel's idpf network driver where returning -EOPNOTSUPP (an error code) from a function declared to return u32 results in an invalid, extremely large size value being used for memory allocation. This type confusion triggers allocation failures and kernel warnings when running ethtool -x on network interfaces that lack RSS (Receive Side Scaling) capabilities. The vulnerability was disclosed on July 25, 2025, and affects Linux kernel versions 6.7 through 6.12.37 and 6.13 through 6.15.6, as well as 6.16 release candidates rc1–rc4. It carries a CVSS v3.1 base score of 5.5 (Medium) (Red Hat Advisory, Red Hat Bugzilla).

Technical details

The root cause is a type confusion issue (CWE-476, NULL Pointer Dereference) in the idpf driver's RSS key size reporting function: when a device does not support RSS, the function incorrectly returns -EOPNOTSUPP (a negative integer error code) instead of 0, but since the function's return type is u32 (unsigned 32-bit integer), the negative value is cast to a very large positive number. This enormous value is then passed to kmalloc via rss_prepare_get(), causing a kernel warning and allocation failure. The attack vector is local, requiring low privileges — any user able to invoke ethtool -x <interface> on an affected device can trigger the bug. The kernel call trace shows the fault path through rss_prepare_get.constprop.0ethnl_default_doitgenl_rcv_msg (Red Hat Bugzilla).

Impact

Successful exploitation causes a kernel warning and memory allocation failure, resulting in a denial of service condition — specifically, system instability or a kernel crash — on the affected host. There is no confidentiality or integrity impact; the vulnerability is limited to availability (high). The issue affects any Linux system running a vulnerable kernel version with an idpf-driven network interface that lacks RSS capabilities (Red Hat Advisory, Red Hat Bugzilla).

Exploitability

There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation at this time. The EPSS score is 0.017% (very low probability of exploitation in the near term). The vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog. Exploitation requires local access with low privileges and the presence of an idpf-managed network interface without RSS support (Red Hat Advisory).

Mitigation and workarounds

The fix has been applied to the Linux kernel stable trees; patched versions include kernel 6.12.37 and 6.15.6 (and later). Patches are available from kernel.org stable branches and from Red Hat (git.kernel.org patch 1, git.kernel.org patch 2, git.kernel.org patch 3). Ubuntu has issued security notices USN-7833-1 through USN-7833-4, and SUSE has released advisory SUSE-2025-03633-1. As a workaround, avoid running ethtool -x on network interfaces managed by the idpf driver that do not have RSS capabilities, and restrict low-privilege user access to network configuration tools where possible (Red Hat Bugzilla).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

bookworm

linux

Fixed

sid

linux: 6.12.37-1

Fixed

trixie

linux: 6.12.37-1

Fixed

Ubuntu

Fixed

bionic

linux

Not Affected

bionic (esm-infra)

linux

Not Affected

bionic (fips-updates)

linux-fips

Not Affected

bionic (fips)

linux-fips

Not Affected

devel

linux

Not Affected

focal

linux

Not Affected

focal (esm-infra)

linux-gcp-5.15

Affected

focal (fips-updates)

linux-fips

Not Affected

RHEL / CentOS

Affected

RHEL 8

kernel-rt.src

Affected

RHEL 9

kernel-rt.src

Affected

RHEL 10

kernel.src

Affected

SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-93189HIGH8.8
  • Linux Kernel logoLinux Kernel
  • linux-azure-fips
NoYesSep 17, 2026
CVE-2026-93188MEDIUM6.5
  • Linux Kernel logoLinux Kernel
  • linux-nvidia-tegra-5.15
NoYesSep 17, 2026
CVE-2026-93182NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-fips
NoYesSep 17, 2026
CVE-2026-93181NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-4.15
NoNoSep 17, 2026
CVE-2026-93174NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-fde-6.14
NoYesSep 17, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management