VDB

CVE-2025-38477

CVE-2025-38477 PUBLISHED CVSS 7.8 HIGH

net/sched: sch_qfq: Fix race condition on qfq_aggregate

Reported by linux · Published July 28, 2025

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
bpftoolAmazon Linux1:6.1.147-172.266.amzn2023
perf6.12Amazon Linux1:6.12.40-63.114.amzn2023
python3-perfAmazon Linux1:6.1.147-172.266.amzn2023
kernel6.12-libbpf-develAmazon Linux1:6.12.40-63.114.amzn2023
linux_kernellinux6.15.8, 6.12.40, 6.6.100, 6.1.147, 5.15.190, 5.10.241, 5.4.297
LinuxLinuxfbe48f06e64134dfeafa89ad23387f66ebca3527, d841aa5518508ab195b6781ad0d73ee378d713dd, c6df794000147a3a02f79984aada4ce83f8d0a1e, c000a3a330d97f6c073ace5aa5faf94b9adb4b79, aa7a22c4d678bf649fd3a1d27debec583563414d, a6d735100f602c830c16d69fb6d780eebd8c9ae1, 5e28d5a3f774f118896aec17a3a20a9c5c9dfc64, 466e10194ab81caa2ee6a332d33ba16bcceeeba6

Risk scores

CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
LinuxLinux462dbc9101acd38e92eda93c0726857517a24bbd, 462dbc9101acd38e92eda93c0726857517a24bbd, 462dbc9101acd38e92eda93c0726857517a24bbd
LinuxLinux3.8, 0, 5.4.297
amazon:2023bpftool0
amazon:2023perf6.120
amazon:2023python3-perf0
amazon:2023kernel6.12-libbpf-devel0
LinuxLinux6.15.8, 6.12.40, 6.6.100
amazon:2023kernel-modules-extra0
amazon:2023python3-perf6.120
amazon:2kernel-tools0
amazon:2023kernel6.12-libbpf-static0
amazon:2023kernel-tools-devel0
amazon:2kernel-headers0
amazon:2023kernel6.12-headers0
amazon:2023perf0
amazon:2perf0
amazon:2023kernel-devel0
amazon:2023kernel6.12-libbpf0
amazon:2023kernel-livepatch-6.12.40-63.1140
amazon:2kernel0

…and 24 more

Timeline

  • Jul 28, 2025 EPSS Score (30 in total, the first dated here)
  • Jul 28, 2025 CVE Published
  • Oct 12, 2025 PoC Published (11 in total, the first dated here)
  • Apr 20, 2026 Distribution Patch (161 in total, the first dated here)
  • Apr 20, 2026 Security Advisory (208 in total, the first dated here)
  • Jun 9, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-38477
vulnetix vdb fixes CVE-2025-38477

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-38477/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›