CVE-2025-38108
net_sched: red: fix a race in __red_change()
Mitigation
- Upgrade Linux to 85a3e0ede38450ea3053b8c45d28cf55208409b8 or later.
Who should check
- Anyone running Linux >= 0c8d13ac96070000da33f394f45e9c19638483c5, < 2790c4ec481be45a80948d059cd7c9a06bc37493; >= 0c8d13ac96070000da33f394f45e9c19638483c5, < a1bf6a4e9264a685b0e642994031f9c5aad72414; >= 0c8d13ac96070000da33f394f45e9c19638483c5, < 110a47efcf23438ff8d31dbd9c854fae2a48bf98; >= 0c8d13ac96070000da33f394f45e9c19638483c5, < f569984417a4e12c67366e69bdcb752970de921d; >= 0c8d13ac96070000da33f394f45e9c19638483c5, < 2a71924ca4af59ffc00f0444732b6cd54b153d0e; >= 0c8d13ac96070000da33f394f45e9c19638483c5, < 4b755305b2b0618e857fdadb499365b5f2e478d1; >= 0c8d13ac96070000da33f394f45e9c19638483c5, < 444ad445df5496a785705019268a8a84b84484bb; >= 0c8d13ac96070000da33f394f45e9c19638483c5, < 85a3e0ede38450ea3053b8c45d28cf55208409b8
- Anyone running Linux 5.0
Vulnerability facts
- Affected
- Linux >= 0c8d13ac96070000da33f394f45e9c19638483c5, < 2790c4ec481be45a80948d059cd7c9a06bc37493; >= 0c8d13ac96070000da33f394f45e9c19638483c5, < a1bf6a4e9264a685b0e642994031f9c5aad72414; >= 0c8d13ac96070000da33f394f45e9c19638483c5, < 110a47efcf23438ff8d31dbd9c854fae2a48bf98; >= 0c8d13ac96070000da33f394f45e9c19638483c5, < f569984417a4e12c67366e69bdcb752970de921d; >= 0c8d13ac96070000da33f394f45e9c19638483c5, < 2a71924ca4af59ffc00f0444732b6cd54b153d0e; >= 0c8d13ac96070000da33f394f45e9c19638483c5, < 4b755305b2b0618e857fdadb499365b5f2e478d1; >= 0c8d13ac96070000da33f394f45e9c19638483c5, < 444ad445df5496a785705019268a8a84b84484bb; >= 0c8d13ac96070000da33f394f45e9c19638483c5, < 85a3e0ede38450ea3053b8c45d28cf55208409b8; Linux 5.0
- Fixed in
- Linux 2790c4ec481be45a80948d059cd7c9a06bc37493, Linux 110a47efcf23438ff8d31dbd9c854fae2a48bf98, Linux 2a71924ca4af59ffc00f0444732b6cd54b153d0e, Linux 4b755305b2b0618e857fdadb499365b5f2e478d1, Linux 444ad445df5496a785705019268a8a84b84484bb, Linux 85a3e0ede38450ea3053b8c45d28cf55208409b8
- 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.23% 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: red: fix a race in __red_change() Gerrard Tai reported a race condition in RED, 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 | >= 0c8d13ac96070000da33f394f45e9c19638483c5, < 2790c4ec481be45a80948d059cd7c9a06bc37493; >= 0c8d13ac96070000da33f394f45e9c19638483c5, < a1bf6a4e9264a685b0e642994031f9c5aad72414; >= 0c8d13ac96070000da33f394f45e9c19638483c5, < 110a47efcf23438ff8d31dbd9c854fae2a48bf98; >= 0c8d13ac96070000da33f394f45e9c19638483c5, < f569984417a4e12c67366e69bdcb752970de921d; >= 0c8d13ac96070000da33f394f45e9c19638483c5, < 2a71924ca4af59ffc00f0444732b6cd54b153d0e; >= 0c8d13ac96070000da33f394f45e9c19638483c5, < 4b755305b2b0618e857fdadb499365b5f2e478d1; >= 0c8d13ac96070000da33f394f45e9c19638483c5, < 444ad445df5496a785705019268a8a84b84484bb; >= 0c8d13ac96070000da33f394f45e9c19638483c5, < 85a3e0ede38450ea3053b8c45d28cf55208409b8 | — | cvelist |
| Linux | 5.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-38108. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-38108.md Affected: Linux >= 0c8d13ac96070000da33f394f45e9c19638483c5, < 2790c4ec481be45a80948d059cd7c9a06bc37493; >= 0c8d13ac96070000da33f394f45e9c19638483c5, < a1bf6a4e9264a685b0e642994031f9c5aad72414; >= 0c8d13ac96070000da33f394f45e9c19638483c5, < 110a47efcf23438ff8d31dbd9c854fae2a48bf98; >= 0c8d13ac96070000da33f39… Fixed in: Linux 2790c4ec481be45a80948d059cd7c9a06bc37493, Linux 110a47efcf23438ff8d31dbd9c854fae2a48bf98, Linux 2a71924ca4af59ffc00f0444732b6cd54b153d0e, Linux 4b755305b2b0618e857fdadb499365b5f2e478d1, Linux 444ad445df5496a785705019268a8a84b84484bb, Linux 85a3e0ede38450ea3053b8c45d28cf55208409b8 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/2790c4ec481be45a80948d059cd7c9a06bc37493
- https://git.kernel.org/stable/c/a1bf6a4e9264a685b0e642994031f9c5aad72414
- https://git.kernel.org/stable/c/110a47efcf23438ff8d31dbd9c854fae2a48bf98
- https://git.kernel.org/stable/c/f569984417a4e12c67366e69bdcb752970de921d
- https://git.kernel.org/stable/c/2a71924ca4af59ffc00f0444732b6cd54b153d0e
- https://git.kernel.org/stable/c/4b755305b2b0618e857fdadb499365b5f2e478d1
- https://git.kernel.org/stable/c/444ad445df5496a785705019268a8a84b84484bb
- https://git.kernel.org/stable/c/85a3e0ede38450ea3053b8c45d28cf55208409b8
FAQ
Is CVE-2025-38108 being exploited?
There is no confirmed exploitation: CVE-2025-38108 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.23% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-38108?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2025-38108?
Linux >= 0c8d13ac96070000da33f394f45e9c19638483c5, < 2790c4ec481be45a80948d059cd7c9a06bc37493; >= 0c8d13ac96070000da33f394f45e9c19638483c5, < a1bf6a4e9264a685b0e642994031f9c5aad72414; >= 0c8d13ac96070000da33f394f45e9c19638483c5, < 110a47efcf23438ff8d31dbd9c854fae2a48bf98; >= 0c8d13ac96070000da33f394f45e9c19638483c5, < f569984417a4e12c67366e69bdcb752970de921d; >= 0c8d13ac96070000da33f394f45e9c19638483c5, < 2a71924ca4af59ffc00f0444732b6cd54b153d0e; >= 0c8d13ac96070000da33f394f45e9c19638483c5, < 4b755305b2b0618e857fdadb499365b5f2e478d1; >= 0c8d13ac96070000da33f394f45e9c19638483c5, < 444ad445df5496a785705019268a8a84b84484bb; >= 0c8d13ac96070000da33f394f45e9c19638483c5, < 85a3e0ede38450ea3053b8c45d28cf55208409b8; Linux 5.0.
Is there a fix for CVE-2025-38108?
Yes. Fixed in Linux 2790c4ec481be45a80948d059cd7c9a06bc37493, Linux 110a47efcf23438ff8d31dbd9c854fae2a48bf98, Linux 2a71924ca4af59ffc00f0444732b6cd54b153d0e, Linux 4b755305b2b0618e857fdadb499365b5f2e478d1, Linux 444ad445df5496a785705019268a8a84b84484bb, Linux 85a3e0ede38450ea3053b8c45d28cf55208409b8. Upgrade Linux to 85a3e0ede38450ea3053b8c45d28cf55208409b8 or later.
How do I check if I'm affected by CVE-2025-38108?
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.