CVE-2025-37915: net_sched: drr: Fix double list add in class with netem as child qdisc

Published May 20, 2025
·
Updated

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

netsched: drr: Fix double list add in class with netem as child qdisc

As described in Gerrard's report [1], there are use cases where a netem child qdisc will make the parent qdisc's enqueue callback reentrant. In the case of drr, there won't be a UAF, but the code will add the same classifier to the list twice, which will cause memory corruption.

In addition to checking for qlen being zero, this patch checks whether the class was already added to the activelist (clisactive) before adding to the list to cover for the reentrant case.

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

Affected Software

22 affected componentsFixes available
Linux Linux kernel
Microsoft azl3 kernel 6.6.85.1-4
Microsoft azl3 kernel 6.6.92.2-1
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/linux
6.1.176-16.1.190-16.12.107-16.12.115-27.2.12-17.2.15-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 6.1.176-1Fixed in 6.1.190-1Fixed in 6.12.107-1Fixed in 6.12.115-2Fixed in 7.2.12-1Fixed in 7.2.15-1

Event History

May 20, 2025
CVE Published
via MITRE·03:21 PM
Data Sourced
via MITRE·03:21 PM
DescriptionSeverity
Data Sourced
via NVD·04:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jul 11, 2025
Data Sourced
via Microsoft·07:00 AM
DescriptionSeverityWeaknessAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2025-37915?

CVE-2025-37915 is classified as a medium severity vulnerability affecting the Linux kernel.

2

How do I fix CVE-2025-37915?

To fix CVE-2025-37915, update your Linux kernel to the latest version that includes the patch for this vulnerability.

3

What specifically does CVE-2025-37915 affect in the Linux kernel?

CVE-2025-37915 affects the net_sched subsystem in the Linux kernel, specifically related to the double list add when netem is used as a child qdisc.

4

Is CVE-2025-37915 exploitable in a production environment?

Yes, CVE-2025-37915 could potentially be exploitable in a production environment if the vulnerability is present and not patched.

5

When was CVE-2025-37915 disclosed?

CVE-2025-37915 was disclosed as part of scheduled security updates for the Linux kernel.

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