CVE-2025-37890: net_sched: hfsc: Fix a UAF vulnerability in class with netem as child qdisc

Published May 16, 2025
·
Updated

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

netsched: hfsc: Fix a UAF vulnerability in class with netem as child qdisc

As described in Gerrard's report [1], we have a UAF case when an hfsc class has a netem child qdisc. The crux of the issue is that hfsc is assuming that checking for cl->qdisc->q.qlen == 0 guarantees that it hasn't inserted the class in the vttree or eltree (which is not true for the netem duplicate case).

This patch checks the nactive class variable to make sure that the code won't insert the class in the vttree or eltree twice, catering for the reentrant case.

[1] https://lore.kernel.org/netdev/CAHcdcOm+03OD2j6R0=YHKqmy=VgJ8xEOKuP6c7mSgnp-TEJJbw@mail.gmail.com/

Affected Software

20 affected components
Linux Linux kernel
Linux Linux kernel>=5.0.1<5.4.294
Linux Linux kernel>=5.5<5.10.238
Linux Linux kernel>=5.11<5.15.182
Linux Linux kernel>=5.16<6.1.138
Linux Linux kernel>=6.2<6.6.90
Linux Linux kernel>=6.7<6.12.28
Linux Linux kernel>=6.13<6.14.6
Linux Linux kernel=5.0
Linux Linux kernel=5.0-rc3
Linux Linux kernel=5.0-rc4
Linux Linux kernel=5.0-rc5
Linux Linux kernel=5.0-rc6
Linux Linux kernel=5.0-rc7
Linux Linux kernel=5.0-rc8
Linux Linux kernel=6.15-rc1
Linux Linux kernel=6.15-rc2
Linux Linux kernel=6.15-rc3
Linux Linux kernel=6.15-rc4
Debian Debian Linux=11.0

Event History

May 16, 2025
CVE Published
via MITRE·01:01 PM
Data Sourced
via MITRE·01:01 PM
Description
Data Sourced
via NVD·01:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via Red Hat·02:01 PM
DescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-37890?

CVE-2025-37890 is classified as a medium severity vulnerability due to the potential for user-after-free issues in the Linux kernel.

2

How do I fix CVE-2025-37890?

To fix CVE-2025-37890, update your Linux kernel to the latest version that addresses this vulnerability.

3

What components are affected by CVE-2025-37890?

CVE-2025-37890 affects the hfsc scheduling class when it has a netem child queuing discipline in the Linux kernel.

4

What type of vulnerability is CVE-2025-37890?

CVE-2025-37890 is a user-after-free (UAF) vulnerability in the Linux kernel.

5

Is CVE-2025-37890 exploitable?

Yes, CVE-2025-37890 is exploitable under certain conditions, potentially allowing an attacker to manipulate kernel memory.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203