CVE-2025-38477: net/sched: sch_qfq: Fix race condition on qfq_aggregate
Vulnerability summary
CVE-2025-38477 is a high (CVSS 7.8) vulnerability in debian debian_linux. EPSS estimates a 0.14% chance of exploitation in the next 30 days, higher than 3.4% of scored vulnerabilities.
Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 148 · Related 134Showing 100 of 148.
Timeline
- 28-07-2025PublishedVulnerability first disclosed.
- 15-10-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
5 scores · 4 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated4.7MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:HDiffers
- NVDNIST4.7MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:HDiffers
EPSS trend
Probability
0.14%
Chance of exploitation in the next 30 days
Percentile
3%
Versus all other CVEs
30-day change
Increase +0.02 pp
From 0.13% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu145 products
- linuxAll versions (No fix recorded) | < 4.15.0-242.254 | < 5.4.0-222.242 | < 5.15.0-157.167 | < 6.8.0-85.85
- linux-allwinner-5.19All versions (No fix recorded)
- linux-awsAll versions (No fix recorded) | < 4.15.0-1185.198 | < 5.4.0-1151.161 | < 5.15.0-1093.100 | < 6.8.0-1040.42
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Suse14 products
- kernel-livepatch-MICRO-6-0_Update_9&distro=SUSE Linux Micro 6.0< 6-1.2
- kernel-livepatch-MICRO-6-0_Update_9&distro=SUSE Linux Micro 6.1< 6-1.2
- kernel-livepatch-MICRO-6-0-RT_Update_10&distro=SUSE Linux Micro 6.0< 5-1.1
- kernel-livepatch-MICRO-6-0-RT_Update_10&distro=SUSE Linux Micro 6.1< 5-1.1
- kernel-livepatch-SLE15-SP3_Update_58&distro=SUSE Linux Enterprise Live Patching 15 SP3< 6-150300.2.1
Debian2 products
- linux< 6.1.147-1 | < 6.12.41-1 | < 6.16.3-1
- debian_linuxEOL11.0
Linux2 products
- linux≥ 462dbc9101acd38e92eda93c0726857517a24bbd, < aa7a22c4d678bf649fd3a1d27debec583563414d | ≥ 462dbc9101acd38e92eda93c0726857517a24bbd, < d841aa5518508ab195b6781ad0d73ee378d713dd | ≥ 462dbc9101acd38e92eda93c0726857517a24bbd, < c6df794000147a3a02f79984aada4ce83f8d0a1e | ≥ 462dbc9101acd38e92eda93c0726857517a24bbd, < 466e10194ab81caa2ee6a332d33ba16bcceeeba6 | ≥ 462dbc9101acd38e92eda93c0726857517a24bbd, < fbe48f06e64134dfeafa89ad23387f66ebca3527 | ≥ 462dbc9101acd38e92eda93c0726857517a24bbd, < a6d735100f602c830c16d69fb6d780eebd8c9ae1 | ≥ 462dbc9101acd38e92eda93c0726857517a24bbd, < c000a3a330d97f6c073ace5aa5faf94b9adb4b79 | ≥ 462dbc9101acd38e92eda93c0726857517a24bbd, < 5e28d5a3f774f118896aec17a3a20a9c5c9dfc64 | 3.8
- linux_kernel≥ 3.8, < 5.4.297 | ≥ 5.5, < 5.10.241 | ≥ 5.11, < 5.15.190 | ≥ 5.16, < 6.1.147 | ≥ 6.2, < 6.6.100 | ≥ 6.7, < 6.12.40 | ≥ 6.13, < 6.15.8 | 6.16:rc1 | 6.16:rc2 | 6.16:rc3 | 6.16:rc4 | 6.16:rc5 | 6.16:rc6
4 vendors · 163 products