CVE-2025-38107 Details
Description
In the Linux kernel, the following vulnerability has been resolved: net_sched: ets: fix a race in ets_qdisc_change() Gerrard Tai reported a race condition in ETS, whenever SFQ perturb timer fires at the wrong time. The race is as follows: CPU 0 CPU 1 [1]: lock root [2]: qdisc_tree_flush_backlog() [3]: unlock root | | [5]: lock root | [6]: rehash | [7]: qdisc_tree_reduce_backlog() | [4]: qdisc_put() This can be abused to underflow a parent's qlen. Calling qdisc_purge_queue() instead of qdisc_tree_flush_backlog() should fix the race, because all packets will be purged from the qdisc before releasing the lock.
A race condition vulnerability has been identified in the Linux kernel's Ethernet Traffic Scheduling (ETS) component. This issue arises in the 'ets_qdisc_change()' function, where the Stochastic Fairness Queueing (SFQ) perturb timer can inadvertently disrupt the timing of operations. The race condition occurs when one CPU thread locks the queue discipline (qdisc) root, flushes the backlog, and then unlocks it, while another thread simultaneously modifies the qdisc, potentially leading to an underflow in the parent's queue length. This vulnerability can be exploited to manipulate queue management improperly.
The vulnerability can be addressed by replacing 'qdisc_tree_flush_backlog()' with 'qdisc_purge_queue()' in the 'ets_qdisc_change()' function. This change ensures that all packets are removed from the queue discipline before releasing the lock, preventing the race condition.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Oct 15, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/0383b25488a545be168744336847549d4a2d3d6c | kernel.org | Patch |
| https://git.kernel.org/stable/c/073f64c03516bcfaf790f8edc772e0cfb8a84ec3 | kernel.org | Patch |
| https://git.kernel.org/stable/c/0b479d0aa488cb478eb2e1d8868be946ac8afb4f | kernel.org | Patch |
| https://git.kernel.org/stable/c/347867cb424edae5fec1622712c8dd0a2c42918f | kernel.org | Patch |
| https://git.kernel.org/stable/c/d92adacdd8c2960be856e0b82acc5b7c5395fddb | kernel.org | Patch |
| https://git.kernel.org/stable/c/eb7b74e9754e1ba2088f914ad1f57a778b11894b | kernel.org | Patch |
| https://git.kernel.org/stable/c/fed94bd51d62d2e0e006aa61480e94e5cd0582b0 | kernel.org | Patch |
| https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html | CVE | Mailing ListThird Party Advisory |
| https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html | CVE | Mailing ListThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-362 | Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 5.4.213, < 5.5 >= 5.10.142, < 5.10.239 >= 5.15.66, < 5.15.186 >= 5.19.8, < 6.0 >= 6.0.1, < 6.1.142 >= 6.2, < 6.6.94 >= 6.7, < 6.12.34 >= 6.13, < 6.15.3 6.0 - 6.0 rc4 6.0 rc5 6.0 rc6 6.0 rc7 6.16 rc1 |
CPE
Remediation
| |
| debian debian linux | 11.0 |
CPE
Remediation
| |
Change History
8 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 15, 2026 | CVE Modified | kernel.org |
| Oct 15, 2026 | CVE Modified | CVE |
| Oct 15, 2026 | CVE Modified | CISA-ADP |
| Jul 30, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Dec 16, 2025 | Initial Analysis | [email protected] |
| Nov 3, 2025 | CVE Modified | CVE |
| Jul 3, 2025 | New CVE Received | kernel.org |