CVE-2025-38477

net/sched: sch_qfq: Fix race condition on qfq_aggregate

MEDIUM
4.7
CVSS Score
Published: July 28, 2025 at 11:21 AM UTC
Updated: October 15, 2026 at 01:07 AM UTC
5 products affected across 3 vendorsLinux KernelDebian LinuxSIMATIC S7-1500 CPU 1518-4 Pn /dp MFP Firmware

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM4.7
Exploit prediction
EPSS 0.1%
SSVC
No known exploit

Description

In the Linux kernel, the following vulnerability has been resolved: net/sched: sch_qfq: Fix race condition on qfq_aggregate A race condition can occur when 'agg' is modified in qfq_change_agg (called during qfq_enqueue) while other threads access it concurrently. For example, qfq_dump_class may trigger a NULL dereference, and qfq_delete_class may cause a use-after-free. This patch addresses the issue by: 1. Moved qfq_destroy_class into the critical section. 2. Added sch_tree_lock protection to qfq_dump_class and qfq_dump_class_stats.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

3.8 ≤ v < 5.10.2413.8 ≤ v < 5.15.1903.8 ≤ v < 5.4.2973.8 ≤ v < 6.1.1473.8 ≤ v < 6.12.403.8 ≤ v < 6.15.83.8 ≤ v < 6.163.8 ≤ v < 6.6.1005.11 ≤ v < 5.15.1905.16 ≤ v < 6.1.1475.5 ≤ v < 5.10.2416.13 ≤ v < 6.15.86.2 ≤ v < 6.6.1006.7 ≤ v < 6.12.40462dbc9101acd38e92eda93c0726857517a24bbd6.16 rc16.16 rc26.16 rc36.16 rc46.16 rc56.16 rc6
Vendor states this is fixed in 466e10194ab81caa2ee6a332d33ba16bcceeeba6 (fixed)
Vendor states this is fixed in 5e28d5a3f774f118896aec17a3a20a9c5c9dfc64 (fixed)
Vendor states this is fixed in a6d735100f602c830c16d69fb6d780eebd8c9ae1 (fixed)
Vendor states this is fixed in aa7a22c4d678bf649fd3a1d27debec583563414d (fixed)
Vendor states this is fixed in c000a3a330d97f6c073ace5aa5faf94b9adb4b79 (fixed)
Vendor states this is fixed in c6df794000147a3a02f79984aada4ce83f8d0a1e (fixed)
Vendor states this is fixed in d841aa5518508ab195b6781ad0d73ee378d713dd (fixed)
Vendor states this is fixed in fbe48f06e64134dfeafa89ad23387f66ebca3527 (fixed)
Vendor states this is fixed in 3.8 (unaffected)
Vendor states this is fixed in 5.10.241 (unaffected)
Vendor states this is fixed in 5.15.190 (unaffected)
Vendor states this is fixed in 5.4.297 (unaffected)
Vendor states this is fixed in 6.1.147 (unaffected)
Vendor states this is fixed in 6.12.40 (unaffected)
Vendor states this is fixed in 6.15.8 (unaffected)
Vendor states this is fixed in 6.16 (unaffected)
Vendor states this is fixed in 6.6.100 (unaffected)

References (11)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/466e10194ab81caa2ee6a332d33ba16bcceeeba6
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/5e28d5a3f774f118896aec17a3a20a9c5c9dfc64
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a6d735100f602c830c16d69fb6d780eebd8c9ae1
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/aa7a22c4d678bf649fd3a1d27debec583563414d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c000a3a330d97f6c073ace5aa5faf94b9adb4b79
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c6df794000147a3a02f79984aada4ce83f8d0a1e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d841aa5518508ab195b6781ad0d73ee378d713dd
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/fbe48f06e64134dfeafa89ad23387f66ebca3527

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
HIGH
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-362

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card