CVE-2025-38107
net_sched: ets: fix a race in ets_qdisc_change()
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 699d82e9a6db29d509a71f1f2f4316231e6232e6, < eb7b74e9754e1ba2088f914ad1f57a778b11894b; >= ce881ddbdc028fb1988b66e40e45ca0529c23b46, < 0b479d0aa488cb478eb2e1d8868be946ac8afb4f; >= b05972f01e7d30419987a1f221b5593668fd6448, < 347867cb424edae5fec1622712c8dd0a2c42918f; >= b05972f01e7d30419987a1f221b5593668fd6448, < 0383b25488a545be168744336847549d4a2d3d6c; >= b05972f01e7d30419987a1f221b5593668fd6448, < 073f64c03516bcfaf790f8edc772e0cfb8a84ec3; >= b05972f01e7d30419987a1f221b5593668fd6448, < fed94bd51d62d2e0e006aa61480e94e5cd0582b0; >= b05972f01e7d30419987a1f221b5593668fd6448, < d92adacdd8c2960be856e0b82acc5b7c5395fddb; fffa19b5e58c34004a0d6f642d9c24b11d213994; fb155f6597cd7bc3aeed668c3bb15fc3b7cb257d; >= 5.10.142, < 5.10.239; …
- Anyone running Linux 6.0
Vulnerability facts
- Affected
- Linux >= 699d82e9a6db29d509a71f1f2f4316231e6232e6, < eb7b74e9754e1ba2088f914ad1f57a778b11894b; >= ce881ddbdc028fb1988b66e40e45ca0529c23b46, < 0b479d0aa488cb478eb2e1d8868be946ac8afb4f; >= b05972f01e7d30419987a1f221b5593668fd6448, < 347867cb424edae5fec1622712c8dd0a2c42918f; >= b05972f01e7d30419987a1f221b5593668fd6448, < 0383b25488a545be168744336847549d4a2d3d6c; >= b05972f01e7d30419987a1f221b5593668fd6448, < 073f64c03516bcfaf790f8edc772e0cfb8a84ec3; >= b05972f01e7d30419987a1f221b5593668fd6448, < fed94bd51d62d2e0e006aa61480e94e5cd0582b0; >= b05972f01e7d30419987a1f221b5593668fd6448, < d92adacdd8c2960be856e0b82acc5b7c5395fddb; fffa19b5e58c34004a0d6f642d9c24b11d213994; fb155f6597cd7bc3aeed668c3bb15fc3b7cb257d; >= 5.10.142, < 5.10.239; …; Linux 6.0
- Fixed in
- Linux 0b479d0aa488cb478eb2e1d8868be946ac8afb4f, Linux 347867cb424edae5fec1622712c8dd0a2c42918f, Linux 0383b25488a545be168744336847549d4a2d3d6c, Linux 073f64c03516bcfaf790f8edc772e0cfb8a84ec3, Linux 5.10.239
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.22% chance of exploitation in 30 days (percentile 8, 2026-11-26)
- CWE
- CWE-362
- Modified
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 699d82e9a6db29d509a71f1f2f4316231e6232e6, < eb7b74e9754e1ba2088f914ad1f57a778b11894b; >= ce881ddbdc028fb1988b66e40e45ca0529c23b46, < 0b479d0aa488cb478eb2e1d8868be946ac8afb4f; >= b05972f01e7d30419987a1f221b5593668fd6448, < 347867cb424edae5fec1622712c8dd0a2c42918f; >= b05972f01e7d30419987a1f221b5593668fd6448, < 0383b25488a545be168744336847549d4a2d3d6c; >= b05972f01e7d30419987a1f221b5593668fd6448, < 073f64c03516bcfaf790f8edc772e0cfb8a84ec3; >= b05972f01e7d30419987a1f221b5593668fd6448, < fed94bd51d62d2e0e006aa61480e94e5cd0582b0; >= b05972f01e7d30419987a1f221b5593668fd6448, < d92adacdd8c2960be856e0b82acc5b7c5395fddb; fffa19b5e58c34004a0d6f642d9c24b11d213994; fb155f6597cd7bc3aeed668c3bb15fc3b7cb257d; >= 5.10.142, < 5.10.239; … | — | cvelist |
| Linux | 6.0 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-38107. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-38107.md Affected: Linux >= 699d82e9a6db29d509a71f1f2f4316231e6232e6, < eb7b74e9754e1ba2088f914ad1f57a778b11894b; >= ce881ddbdc028fb1988b66e40e45ca0529c23b46, < 0b479d0aa488cb478eb2e1d8868be946ac8afb4f; >= b05972f01e7d30419987a1f221b5593668fd6448, < 347867cb424edae5fec1622712c8dd0a2c42918f; >= b05972f01e7d30419987a1f… Fixed in: Linux 0b479d0aa488cb478eb2e1d8868be946ac8afb4f, Linux 347867cb424edae5fec1622712c8dd0a2c42918f, Linux 0383b25488a545be168744336847549d4a2d3d6c, Linux 073f64c03516bcfaf790f8edc772e0cfb8a84ec3, Linux 5.10.239 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- 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
FAQ
Is CVE-2025-38107 being exploited?
There is no confirmed exploitation: CVE-2025-38107 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-38107?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2025-38107?
Linux >= 699d82e9a6db29d509a71f1f2f4316231e6232e6, < eb7b74e9754e1ba2088f914ad1f57a778b11894b; >= ce881ddbdc028fb1988b66e40e45ca0529c23b46, < 0b479d0aa488cb478eb2e1d8868be946ac8afb4f; >= b05972f01e7d30419987a1f221b5593668fd6448, < 347867cb424edae5fec1622712c8dd0a2c42918f; >= b05972f01e7d30419987a1f221b5593668fd6448, < 0383b25488a545be168744336847549d4a2d3d6c; >= b05972f01e7d30419987a1f221b5593668fd6448, < 073f64c03516bcfaf790f8edc772e0cfb8a84ec3; >= b05972f01e7d30419987a1f221b5593668fd6448, < fed94bd51d62d2e0e006aa61480e94e5cd0582b0; >= b05972f01e7d30419987a1f221b5593668fd6448, < d92adacdd8c2960be856e0b82acc5b7c5395fddb; fffa19b5e58c34004a0d6f642d9c24b11d213994; fb155f6597cd7bc3aeed668c3bb15fc3b7cb257d; >= 5.10.142, < 5.10.239; …; Linux 6.0.
Is there a fix for CVE-2025-38107?
Yes. Fixed in Linux 0b479d0aa488cb478eb2e1d8868be946ac8afb4f, Linux 347867cb424edae5fec1622712c8dd0a2c42918f, Linux 0383b25488a545be168744336847549d4a2d3d6c, Linux 073f64c03516bcfaf790f8edc772e0cfb8a84ec3, Linux 5.10.239. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2025-38107?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.