CVE-2025-38477: net/sched: sch_qfq: Fix race condition on qfq_aggregate

Published Jul 28, 2025
·
Updated

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

net/sched: schqfq: Fix race condition on qfqaggregate

A race condition can occur when 'agg' is modified in qfqchangeagg (called during qfqenqueue) while other threads access it concurrently. For example, qfqdumpclass may trigger a NULL dereference, and qfqdeleteclass may cause a use-after-free.

This patch addresses the issue by:

1. Moved qfqdestroyclass into the critical section.

2. Added schtreelock protection to qfqdumpclass and qfqdumpclassstats.

Affected Software

18 affected componentsFixes available
Linux Linux kernel
Linux Linux kernel>=3.8<5.4.297
Linux Linux kernel>=5.5<5.10.241
Linux Linux kernel>=5.11<5.15.190
Linux Linux kernel>=5.16<6.1.147
Linux Linux kernel>=6.2<6.6.100
Linux Linux kernel>=6.7<6.12.40
Linux Linux kernel>=6.13<6.15.8
Linux Linux kernel=6.16-rc1
Linux Linux kernel=6.16-rc2
Linux Linux kernel=6.16-rc3
Linux Linux kernel=6.16-rc4
Linux Linux kernel=6.16-rc5
Linux Linux kernel=6.16-rc6
Debian Debian Linux=11.0
Microsoft azl3 kernel 6.6.96.2-1
Microsoft azl3 kernel 6.6.96.2-2
Microsoft cbl2 kernel 5.15.186.1-1

Event History

Jul 28, 2025
CVE Published
via MITRE·11:21 AM
Data Sourced
via MITRE·11:21 AM
Description
Data Sourced
via Red Hat·12:03 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·12:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Sep 4, 2025
Data Sourced
via Microsoft·01:03 AM
DescriptionSeverityWeaknessAffected Software
Updated
via Microsoft·08:03 AM
SeverityAffected Software
Updated
via Microsoft·08:03 AM
DescriptionSeverity
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-38477?

CVE-2025-38477 has a medium severity rating due to the potential for a race condition that can affect system stability.

2

How do I fix CVE-2025-38477?

To mitigate CVE-2025-38477, update to the latest version of the Linux kernel where this race condition has been resolved.

3

What are the potential impacts of CVE-2025-38477?

CVE-2025-38477 can lead to unexpected behavior or crashes in systems utilizing the affected Linux kernel functionality.

4

Which versions of the Linux kernel are affected by CVE-2025-38477?

CVE-2025-38477 affects certain versions of the Linux kernel prior to the fix being implemented.

5

Is CVE-2025-38477 exploitable remotely?

CVE-2025-38477 primarily involves a race condition that could be exploited locally, thus it may not pose a direct remote attack vector.

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