CVE-2025-38107

net_sched: ets: fix a race in ets_qdisc_change()

HIGH
7
CVSS Score
Published: July 3, 2025 at 08:35 AM UTC
Updated: October 15, 2026 at 10:18 PM UTC
2 products affected across 2 vendorsLinux KernelDebian Linux

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.10.142 ≤ v < 5.10.2395.15.66 ≤ v < 5.15.1865.19.8 ≤ v < 6.05.4.213 ≤ v < 5.56.0.1 ≤ v < 6.1.1426.13 ≤ v < 6.15.36.2 ≤ v < 6.6.946.7 ≤ v < 6.12.345.10.1425.15.665.19.85.4.2136.06.0 rc46.0 rc56.0 rc66.0 rc76.166.16 rc1699d82e9a6db29d509a71f1f2f4316231e6232e6b05972f01e7d30419987a1f221b5593668fd6448ce881ddbdc028fb1988b66e40e45ca0529c23b46fb155f6597cd7bc3aeed668c3bb15fc3b7cb257dfffa19b5e58c34004a0d6f642d9c24b11d213994
Vendor states this is fixed in 0383b25488a545be168744336847549d4a2d3d6c (fixed)
Vendor states this is fixed in 073f64c03516bcfaf790f8edc772e0cfb8a84ec3 (fixed)
Vendor states this is fixed in 0b479d0aa488cb478eb2e1d8868be946ac8afb4f (fixed)
Vendor states this is fixed in 347867cb424edae5fec1622712c8dd0a2c42918f (fixed)
Vendor states this is fixed in d92adacdd8c2960be856e0b82acc5b7c5395fddb (fixed)
Vendor states this is fixed in eb7b74e9754e1ba2088f914ad1f57a778b11894b (fixed)
Vendor states this is fixed in fed94bd51d62d2e0e006aa61480e94e5cd0582b0 (fixed)
Vendor states this is fixed in 5.10.239 (unaffected)
Vendor states this is fixed in 5.15.186 (unaffected)
Affected range stops below 5.20, so it looks safe — our inference, not a vendor statement
Affected range stops below 5.5, so it looks safe — our inference, not a vendor statement
Vendor states this is fixed in 6.0 (unaffected)
Vendor states this is fixed in 6.1.142 (unaffected)
Vendor states this is fixed in 6.12.34 (unaffected)
Vendor states this is fixed in 6.15.3 (unaffected)
Vendor states this is fixed in 6.16 (unaffected)
Vendor states this is fixed in 6.6.94 (unaffected)

References (9)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/0383b25488a545be168744336847549d4a2d3d6c
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/073f64c03516bcfaf790f8edc772e0cfb8a84ec3
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/0b479d0aa488cb478eb2e1d8868be946ac8afb4f
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/347867cb424edae5fec1622712c8dd0a2c42918f
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d92adacdd8c2960be856e0b82acc5b7c5395fddb
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/eb7b74e9754e1ba2088f914ad1f57a778b11894b
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/fed94bd51d62d2e0e006aa61480e94e5cd0582b0
Mailing ListThird Party Advisory
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
HIGH
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-362

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card