net_sched: ets: fix a race in ets_qdisc_change()
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 3 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Linux | Linux | 5.10.142 to before 5.10.239; 5.15.66 to before 5.15.186; 5.4.213 to before 5.5; 5.19.8 to before 5.20 | 5.10.239, 5.15.186, 5.5, 5.20 | Patch available | CNA |
| Linux | Linux | 6.0 and later | 5.10.239, 5.15.186, 6.1.142, 6.6.94, 6.12.34, 6.15.3, 6.16 | Patch available | CNA |
- Linux VendorLinux Affected 5.10.142 to before 5.10.239; 5.15.66 to before 5.15.186; 5.4.213 to before 5.5; 5.19.8 to before 5.20 Fixed in 5.10.239, 5.15.186, 5.5, 5.20 Patch available CNA
- Linux VendorLinux Affected 6.0 and later Fixed in 5.10.239, 5.15.186, 6.1.142, 6.6.94, 6.12.34, 6.15.3, 6.16 Patch available CNA
CPE configurations NVD · 8
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.4.213 to before 5.5; 5.10.142 to before 5.10.239; 5.15.66 to before 5.15.186; 5.19.8 to before 6.0; 6.0.1 to before 6.1.142; 6.2 to before 6.6.94; 6.7 to before 6.12.34; 6.13 to before 6.15.3 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:6.0:-:*:*:*:*:*:* | 6.0 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:6.0:rc4:*:*:*:*:*:* | 6.0 rc4 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:6.0:rc5:*:*:*:*:*:* | 6.0 rc5 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:6.0:rc6:*:*:*:*:*:* | 6.0 rc6 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:6.0:rc7:*:*:*:*:*:* | 6.0 rc7 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:6.16:rc1:*:*:*:*:*:* | 6.16 rc1 | Vulnerable | Linux |
| cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* | 11.0 | Vulnerable | Debian |
- cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions 5.4.213 to before 5.5; 5.10.142 to before 5.10.239; 5.15.66 to before 5.15.186; 5.19.8 to before 6.0; 6.0.1 to before 6.1.142; 6.2 to before 6.6.94; 6.7 to before 6.12.34; 6.13 to before 6.15.3 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:6.0:-:*:*:*:*:*:* Versions 6.0 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:6.0:rc4:*:*:*:*:*:* Versions 6.0 rc4 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:6.0:rc5:*:*:*:*:*:* Versions 6.0 rc5 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:6.0:rc6:*:*:*:*:*:* Versions 6.0 rc6 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:6.0:rc7:*:*:*:*:*:* Versions 6.0 rc7 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:6.16:rc1:*:*:*:*:*:* Versions 6.16 rc1 Vulnerable ·Linux
- cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* Versions 11.0 Vulnerable ·Debian
Remediation
- Fix · CNA Linux (Linux) Fixed in 5.10.239, 5.15.186, 5.5, 5.20
- Fix · CNA Linux (Linux) Fixed in 5.10.239, 5.15.186, 6.1.142, 6.6.94, 6.12.34, 6.15.3, 6.16
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 10 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 8 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 9 | Affected | No fix yet: Fix deferred |
Not affected: 2 products
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
Timeline
- 2026-10-02 Threatist record created from CVE-2025-38107
- 2026-10-03 Alias added: GHSA-6fmq-5w8g-7pm6
- 2026-10-16 CISA SSVC decision points changed
References
Patch 7
- https://git.kernel.org/stable/c/eb7b74e9754e1ba2088f914ad1f57a778b11894b
- https://git.kernel.org/stable/c/0b479d0aa488cb478eb2e1d8868be946ac8afb4f
- https://git.kernel.org/stable/c/347867cb424edae5fec1622712c8dd0a2c42918f
- https://git.kernel.org/stable/c/0383b25488a545be168744336847549d4a2d3d6c
- https://git.kernel.org/stable/c/073f64c03516bcfaf790f8edc772e0cfb8a84ec3
- https://git.kernel.org/stable/c/fed94bd51d62d2e0e006aa61480e94e5cd0582b0
- https://git.kernel.org/stable/c/d92adacdd8c2960be856e0b82acc5b7c5395fddb
More Linux Kernel vulnerabilities
- TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
- TI-2021-05514 Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACE KEVCVSS 3.1HIGH 8.3
Sources
- CVE-2025-38107 · CVE Program
- CVE-2025-38107 · NVD
- FIRST EPSS
- GHSA-6fmq-5w8g-7pm6 · GitHub Advisory Database · CC BY 4.0
- CVE-2025-38107 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences