7.0
HIGH CVSS 3.1
CVE-2025-38107
net_sched: ets: fix a race in ets_qdisc_change()
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.

INFO

Published Date :

July 3, 2025, 9:15 a.m.

Last Modified :

Dec. 16, 2025, 5:02 p.m.

Remotely Exploit :

No

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products

The following products are affected by CVE-2025-38107 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel
1 Debian debian_linux
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 HIGH [email protected]
Solution
Update the Linux kernel to patch the race condition in ets_qdisc_change.
  • Update the Linux kernel to the latest stable version.
  • Apply the patch for the ets_qdisc_change race condition.
  • Recompile and install the updated kernel.
  • Reboot the system to load the new kernel.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2025-38107 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2025-38107 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2025-38107 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2025-38107 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Dec. 16, 2025

    Action Type Old Value New Value
    Added CVSS V3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
    Added CWE CWE-362
    Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:6.0:rc4:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.0:rc5:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.0:rc6:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.0:rc7:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.0:-:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.13 up to (excluding) 6.15.3 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.12.34 *cpe:2.3:o:linux:linux_kernel:6.16:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.94 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.10.142 up to (excluding) 5.10.239 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.15.66 up to (excluding) 5.15.186 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.19.8 up to (excluding) 6.0 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.4.213 up to (excluding) 5.5 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.0.1 up to (excluding) 6.1.142
    Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/0383b25488a545be168744336847549d4a2d3d6c Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/073f64c03516bcfaf790f8edc772e0cfb8a84ec3 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/0b479d0aa488cb478eb2e1d8868be946ac8afb4f Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/347867cb424edae5fec1622712c8dd0a2c42918f Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/d92adacdd8c2960be856e0b82acc5b7c5395fddb Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/eb7b74e9754e1ba2088f914ad1f57a778b11894b Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/fed94bd51d62d2e0e006aa61480e94e5cd0582b0 Types: Patch
    Added Reference Type CVE: https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html Types: Mailing List, Third Party Advisory
    Added Reference Type CVE: https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html Types: Mailing List, Third Party Advisory
  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 03, 2025

    Action Type Old Value New Value
    Added Reference https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html
    Added Reference https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html
  • New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Jul. 03, 2025

    Action Type Old Value New Value
    Added 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.
    Added Reference https://git.kernel.org/stable/c/0383b25488a545be168744336847549d4a2d3d6c
    Added Reference https://git.kernel.org/stable/c/073f64c03516bcfaf790f8edc772e0cfb8a84ec3
    Added Reference https://git.kernel.org/stable/c/0b479d0aa488cb478eb2e1d8868be946ac8afb4f
    Added Reference https://git.kernel.org/stable/c/347867cb424edae5fec1622712c8dd0a2c42918f
    Added Reference https://git.kernel.org/stable/c/d92adacdd8c2960be856e0b82acc5b7c5395fddb
    Added Reference https://git.kernel.org/stable/c/eb7b74e9754e1ba2088f914ad1f57a778b11894b
    Added Reference https://git.kernel.org/stable/c/fed94bd51d62d2e0e006aa61480e94e5cd0582b0
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 7.0
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact