CVE-2025-38107

HIGH

Linux Kernel 5.4.213-5.4.x - Race Condition in ETS Qdisc Change

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 7.0
EPSS 0.0006
EPSS Percentile 19.7%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-362
Status published
Products (26)
debian/debian_linux 11.0
Linux/Linux < 6.0
Linux/Linux 5.10.142 - 5.10.239
Linux/Linux 5.10.239 - 5.10.*
Linux/Linux 5.15.186 - 5.15.*
Linux/Linux 5.15.66 - 5.15.186
Linux/Linux 5.19.8 - 5.20
Linux/Linux 5.4.213 - 5.5
Linux/Linux 6.0
Linux/Linux 6.1.142 - 6.1.*
... and 16 more
Published Jul 03, 2025
Tracked Since Feb 18, 2026