CVE-2025-37890
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2025-37890 is a Use-After-Free (UAF) vulnerability discovered in the Linux kernel's network scheduler component, specifically affecting the HFSC (Hierarchical Fair Service Curve) queueing discipline when used with a netem child qdisc. The vulnerability was identified and publicly disclosed on May 16, 2025, affecting multiple Linux distributions including Debian and Ubuntu systems (NVD, Wiz).

Technical details

The vulnerability occurs when an HFSC class has a netem child qdisc. The core issue stems from an incorrect assumption in the code where checking cl->qdisc->q.qlen == 0 is presumed to guarantee that the class hasn't been inserted in the vttree or eltree, which proves incorrect in the netem duplicate case. The vulnerability has been assigned a CVSS v3.1 base score of 5.5 (AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H), indicating moderate severity (Red Hat).

Impact

The vulnerability affects multiple Linux distributions including Debian's bullseye, bookworm, trixie, and sid releases, as well as various Ubuntu versions from 20.04 LTS to 25.04. The issue could potentially lead to memory corruption and system instability in affected systems (Wiz, Ubuntu).

Mitigation and workarounds

A patch has been developed that checks the n_active class variable to ensure the code won't insert the class in the vttree or eltree twice, addressing the reentrant case. For the Debian stable distribution (bookworm), these problems have been fixed in version 6.1.140-1 (Debian, NVD).

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