CVE-2025-38477

net/sched: sch_qfq: Fix race condition on qfq_aggregate

published July 28, 2025

CVSS
—
EPSS
0%
Percentile
2.5
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00132 · 2.5th percentile
Published
2025-07-28T11:21Z
EPSS history
Timeline
  • 28 JUL 11:21Z
    net/sched: sch_qfq: Fix race condition on qfq_aggregate
    cvelistv5