CVE-2025-37791
Linux Kernel vulnerability analysis and mitigation

Overview

A vulnerability (CVE-2025-37791) was discovered in the Linux kernel's ethtool component, specifically affecting the ethtoolcmismodule_poll() function. The vulnerability was disclosed on May 1, 2025, and involves an incorrect size calculation when handling the rpl pointer in the ethtool subsystem (NVD, Wiz).

Technical details

The vulnerability stems from a size calculation error where rpl is passed as a pointer to ethtoolcmismodulepoll(). The function incorrectly uses the pointer size instead of sizeof(*rpl), which should be 1 byte. This improper calculation leads to stack corruption, resulting in a kernel panic with the error message: 'Kernel panic - not syncing: stack-protector: Kernel stack is corrupted in: ethtoolcmiswaitfor_cond+0xf4/0x100'. The vulnerability has been assigned a CVSS v3.1 Base Score of 5.5 with the vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (Red Hat, NVD).

Impact

When exploited, this vulnerability causes stack corruption that leads to kernel panic, effectively causing a denial of service condition. The issue affects systems running the vulnerable Linux kernel versions, particularly impacting the ethtool subsystem's functionality (Wiz).

Mitigation and workarounds

The vulnerability has been resolved in the Linux kernel through patches that correct the rpl size calculation in ethtoolcmismodule_poll(). Fixed versions are available in various Linux distributions, including Debian's trixie and sid releases (version 6.12.25-1 and later). Red Hat Enterprise Linux 9 has deferred the fix for both kernel and kernel-rt packages (Debian, Red Hat).

Additional resources


SourceThis report was generated using AI

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