CVE-2025-38477
Vulnerability Summary
Timeline
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
- v3.1•MEDIUM•Score: 4.7CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
- v3.1•HIGH•Score: 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS Trends
Current EPSS score: 0.12%• Percentile: 2%
Techniques & Countermeasures
- CWE-362•Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
The product contains a concurrent code sequence that requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence operating concurrently.
Affected Systems
- debian•linux
< 5.10.244-1 | < 6.1.147-1 | < 6.12.41-1 | < 6.16.3-1
- debian•linux-6.1
< 6.1.153-1~deb11u1
- ubuntu•linux
all | < 4.15.0-242.254 | < 5.4.0-222.242 | < 5.15.0-157.167 | < 6.8.0-85.85
- ubuntu•linux-allwinner-5.19
all
- ubuntu•linux-aws
all | < 4.15.0-1185.198 | < 5.4.0-1151.161 | < 5.15.0-1093.100 | < 6.8.0-1040.42
- ubuntu•linux-aws-5.0
all
- ubuntu•linux-aws-5.11
all
- ubuntu•linux-aws-5.13
all
- ubuntu•linux-aws-5.15
< 5.15.0-1093.100~20.04.1
- ubuntu•linux-aws-5.19
all
- ubuntu•linux-aws-5.3
all
- ubuntu•linux-aws-5.4
< 5.4.0-1151.161~18.04.1
- ubuntu•linux-aws-5.8
all
- ubuntu•linux-aws-6.14
< 6.14.0-1014.14~24.04.1
- ubuntu•linux-aws-6.2
all
- ubuntu•linux-aws-6.5
all
- ubuntu•linux-aws-6.8
< 6.8.0-1040.42~22.04.1
- ubuntu•linux-aws-fips
< 4.15.0-2123.129 | all | < 5.4.0-1151.161+fips1 | < 5.15.0-1093.100+fips1 | < 6.8.0-1040.42+fips1
- ubuntu•linux-aws-hwe
< 4.15.0-1185.198~16.04.1
- ubuntu•linux-azure
< 4.15.0-1193.208~14.04.1 | < 4.15.0-1193.208~16.04.1 | all | < 5.4.0-1154.161 | < 5.15.0-1097.106 | < 6.8.0-1040.46
- ubuntu•linux-azure-4.15
< 4.15.0-1193.208
- ubuntu•linux-azure-5.11
all
- ubuntu•linux-azure-5.13
all
- ubuntu•linux-azure-5.15
< 5.15.0-1097.106~20.04.1
- ubuntu•linux-azure-5.19
all
- ubuntu•linux-azure-5.3
all
- ubuntu•linux-azure-5.4
< 5.4.0-1154.161~18.04.1
- ubuntu•linux-azure-5.8
all
- ubuntu•linux-azure-6.11
all
- ubuntu•linux-azure-6.14
< 6.14.0-1013.13~24.04.1
- ubuntu•linux-azure-6.2
all
- ubuntu•linux-azure-6.5
all
- ubuntu•linux-azure-6.8
< 6.8.0-1040.46~22.04.1
- ubuntu•linux-azure-edge
all
- ubuntu•linux-azure-fde
all | all | all
- ubuntu•linux-azure-fde-5.19
all
- ubuntu•linux-azure-fde-6.2
all
- ubuntu•linux-azure-fips
< 4.15.0-2102.108 | all | < 5.4.0-1155.162+fips1 | < 5.15.0-1097.106+fips1 | < 6.8.0-1040.46+fips1
- ubuntu•linux-azure-nvidia
< 6.8.0-1025.27
- ubuntu•linux-azure-nvidia-6.14
< 6.14.0-1007.7
- ubuntu•linux-bluefield
all | < 5.4.0-1110.117 | < 5.15.0-1077.79 | < 6.8.0-1012.16
- ubuntu•linux-fips
all | < 4.15.0-1140.151 | < 5.4.0-1125.135 | < 5.15.0-157.167+fips1 | < 6.8.0-85.85+fips1
- ubuntu•linux-gcp
< 4.15.0-1178.195~16.04.1 | all | < 5.4.0-1154.163 | < 5.15.0-1093.102 | < 6.8.0-1041.43
- ubuntu•linux-gcp-4.15
< 4.15.0-1178.195
- ubuntu•linux-gcp-5.11
all
- ubuntu•linux-gcp-5.13
all
- ubuntu•linux-gcp-5.15
< 5.15.0-1093.102~20.04.1
- ubuntu•linux-gcp-5.19
all
- ubuntu•linux-gcp-5.3
all
- ubuntu•linux-gcp-5.4
< 5.4.0-1154.163~18.04.1
Showing first 50 affected entries in server-rendered view.
References (55)
- https://git.kernel.org/stable/c/aa7a22c4d678bf649fd3a1d27debec583563414d
- https://git.kernel.org/stable/c/d841aa5518508ab195b6781ad0d73ee378d713dd
- https://git.kernel.org/stable/c/c6df794000147a3a02f79984aada4ce83f8d0a1e
- https://git.kernel.org/stable/c/466e10194ab81caa2ee6a332d33ba16bcceeeba6
- https://git.kernel.org/stable/c/fbe48f06e64134dfeafa89ad23387f66ebca3527
- https://git.kernel.org/stable/c/a6d735100f602c830c16d69fb6d780eebd8c9ae1
- https://git.kernel.org/stable/c/c000a3a330d97f6c073ace5aa5faf94b9adb4b79
- https://git.kernel.org/stable/c/5e28d5a3f774f118896aec17a3a20a9c5c9dfc64
- https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html
- https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html
- https://cert-portal.siemens.com/productcert/html/ssa-082556.html
- https://ubuntu.com/security/CVE-2025-38477
- https://www.cve.org/CVERecord?id=CVE-2025-38477
- https://git.kernel.org/linus/5e28d5a3f774f118896aec17a3a20a9c5c9dfc64
- https://ubuntu.com/security/notices/USN-7791-1
- https://ubuntu.com/security/notices/USN-7792-1
- https://ubuntu.com/security/notices/USN-7793-1
- https://ubuntu.com/security/notices/USN-7795-1
- https://ubuntu.com/security/notices/USN-7796-1
- https://ubuntu.com/security/notices/USN-7791-2
- https://ubuntu.com/security/notices/USN-7798-1
- https://ubuntu.com/security/notices/USN-7799-1
- https://ubuntu.com/security/notices/USN-7792-2
- https://ubuntu.com/security/notices/USN-7800-1
- https://ubuntu.com/security/notices/USN-7801-1
- https://ubuntu.com/security/notices/USN-7793-2
- https://ubuntu.com/security/notices/USN-7793-3
- https://ubuntu.com/security/notices/USN-7793-4
- https://ubuntu.com/security/notices/USN-7795-2
- https://ubuntu.com/security/notices/USN-7796-2
- https://ubuntu.com/security/notices/USN-7796-3
- https://ubuntu.com/security/notices/USN-7791-3
- https://ubuntu.com/security/notices/USN-7801-2
- https://ubuntu.com/security/notices/USN-7792-3
- https://ubuntu.com/security/notices/USN-7808-1
- https://ubuntu.com/security/notices/USN-7809-1
- https://ubuntu.com/security/notices/USN-7793-5
- https://ubuntu.com/security/notices/USN-7810-1
- https://ubuntu.com/security/notices/USN-7811-1
- https://ubuntu.com/security/notices/USN-7795-3
- https://ubuntu.com/security/notices/USN-7819-1
- https://ubuntu.com/security/notices/USN-7796-4
- https://ubuntu.com/security/notices/USN-7820-1
- https://ubuntu.com/security/notices/USN-7791-4
- https://ubuntu.com/security/notices/USN-7821-1
- https://ubuntu.com/security/notices/USN-7808-2
- https://ubuntu.com/security/notices/USN-7810-2
- https://ubuntu.com/security/notices/USN-7810-3
- https://ubuntu.com/security/notices/USN-7801-3
- https://ubuntu.com/security/notices/USN-7819-2
- https://ubuntu.com/security/notices/USN-7795-4
- https://ubuntu.com/security/notices/USN-7854-1
- https://ubuntu.com/security/notices/USN-7795-5
- https://ubuntu.com/security/notices/USN-7933-1
- https://security-tracker.debian.org/tracker/CVE-2025-38477