CVE-2025-38477
MediumIn 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 3.1 score
4.7
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness type
CWE-362CVE-2025-38477 is a Race Condition vulnerability
What is Race Condition?
The product contains a code sequence that can run concurrently with other code, creating unexpected states. Learn more on MITRE CWE
Affected versions
Linux kernel versions
3.8
and later are affected. Fixed in
5.4.297,
5.10.241,
5.15.190,
6.1.147,
6.6.100,
6.12.40,
6.15.8,
6.16
and their respective stable series.
References
The following references provide additional information about CVE-2025-38477 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
Mailing List Third Party Advisory
-
Mailing List Third Party Advisory
-
-
PatchKernel patch commithttps://git.kernel.org/stable/c/466e10194ab81caa2ee6a332d33ba16bcceeeba6
-
PatchKernel patch commithttps://git.kernel.org/stable/c/5e28d5a3f774f118896aec17a3a20a9c5c9dfc64
-
PatchKernel patch commithttps://git.kernel.org/stable/c/a6d735100f602c830c16d69fb6d780eebd8c9ae1
Frequently asked questions
-
What is CVE-2025-38477?
CVE-2025-38477 is a Medium severity Linux kernel vulnerability with a CVSS score of 4.7 out of 10 , classified as a Race Condition flaw (CWE-362) . It affects Linux kernel versions from 3.8 onward and has been patched in 5.4.297, 5.10.241, 5.15.190 and others. CVE-2025-38477 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2025-38477?
CVE-2025-38477 has a CVSS score of 4.7 out of 10, rated Medium severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H. -
Is there a patch available for CVE-2025-38477?
Yes — CVE-2025-38477 has been patched. Fixed versions include 5.4.297, 5.10.241, 5.15.190 and others. If you are running Linux kernel 3.8 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2025-38477 actively exploited?
No — CVE-2025-38477 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.
-
What is Race Condition (CWE-362)?
The product contains a code sequence that can run concurrently with other code, creating unexpected states. View CWE-362 on MITRE CWE →