All reports
Medium

kernel: net/sched: sch_qfq: Fix race condition on qfq_aggregate

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2025-38477

Probability of exploitation in the next 30 days: 0.15%

FIRST EPSS · 2026-11-19

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.

A flaw was found in the Linux kernel's Quick Fair Queueing (QFQ) network packet scheduler. A local user with network administration privileges could exploit this vulnerability to cause a Denial of Service (DoS) by crashing the system. The issue is caused by a race condition when network scheduling classes are modified concurrently with status reporting operations, leading to improper memory access.