CVE-2025-38193
net_sched: sch_sfq: reject invalid perturb period
Mitigation
- Upgrade Linux to 7ca52541c05c832d32b112274f81a985101f9ba8 or later.
Who should check
- Anyone running Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < e0936ff56be4e08ad5b60ec26971eae0c40af305; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 2254d038dab9c194fe6a4b1ce31034f42e91a6e5; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 956b5aebb349449b38d920d444ca1392d43719d1; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < b11a50544af691b787384089b68f740ae20a441b; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 0357da9149eac621f39e235a135ebf155f01f7c3; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < f9b97d466e6026ccbdda30bb5b71965b67ccbc82; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 590b2d7d0beadba2aa576708a05a05f0aae39295; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 7ca52541c05c832d32b112274f81a985101f9ba8
- Anyone running Linux 2.6.12
Vulnerability facts
- Affected
- Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < e0936ff56be4e08ad5b60ec26971eae0c40af305; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 2254d038dab9c194fe6a4b1ce31034f42e91a6e5; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 956b5aebb349449b38d920d444ca1392d43719d1; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < b11a50544af691b787384089b68f740ae20a441b; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 0357da9149eac621f39e235a135ebf155f01f7c3; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < f9b97d466e6026ccbdda30bb5b71965b67ccbc82; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 590b2d7d0beadba2aa576708a05a05f0aae39295; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 7ca52541c05c832d32b112274f81a985101f9ba8; Linux 2.6.12
- Fixed in
- Linux 2254d038dab9c194fe6a4b1ce31034f42e91a6e5, Linux 956b5aebb349449b38d920d444ca1392d43719d1, Linux 0357da9149eac621f39e235a135ebf155f01f7c3, Linux 590b2d7d0beadba2aa576708a05a05f0aae39295, Linux 7ca52541c05c832d32b112274f81a985101f9ba8
- 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.32% chance of exploitation in 30 days (percentile 17, 2026-11-26)
- CWE
- CWE-190
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: net_sched: sch_sfq: reject invalid perturb period Gerrard Tai reported that SFQ perturb_period has no range check yet, and this can be used to trigger a race condition fixed in a separate patch. We want to make sure ctl->perturb_period * HZ will not overflow and is positive. tc qd add dev lo root sfq perturb -10 # negative value : error Error: sch_sfq: invalid perturb period. tc qd add dev lo root sfq perturb 1000000000 # too big : error Error: sch_sfq: invalid perturb period. tc qd add dev lo root sfq perturb 2000000 # acceptable value tc -s -d qd sh dev lo qdisc sfq 8005: root refcnt 2 limit 127p quantum 64Kb depth 127 flows 128 divisor 1024 perturb 2000000sec Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) backlog 0b 0p requeues 0
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < e0936ff56be4e08ad5b60ec26971eae0c40af305; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 2254d038dab9c194fe6a4b1ce31034f42e91a6e5; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 956b5aebb349449b38d920d444ca1392d43719d1; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < b11a50544af691b787384089b68f740ae20a441b; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 0357da9149eac621f39e235a135ebf155f01f7c3; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < f9b97d466e6026ccbdda30bb5b71965b67ccbc82; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 590b2d7d0beadba2aa576708a05a05f0aae39295; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 7ca52541c05c832d32b112274f81a985101f9ba8 | — | cvelist |
| Linux | 2.6.12 | — | 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-38193. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-38193.md Affected: Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < e0936ff56be4e08ad5b60ec26971eae0c40af305; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 2254d038dab9c194fe6a4b1ce31034f42e91a6e5; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 956b5aebb349449b38d920d444ca1392d43719d1; >= 1da177e4c3f41524e886b7f… Fixed in: Linux 2254d038dab9c194fe6a4b1ce31034f42e91a6e5, Linux 956b5aebb349449b38d920d444ca1392d43719d1, Linux 0357da9149eac621f39e235a135ebf155f01f7c3, Linux 590b2d7d0beadba2aa576708a05a05f0aae39295, Linux 7ca52541c05c832d32b112274f81a985101f9ba8 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/e0936ff56be4e08ad5b60ec26971eae0c40af305
- https://git.kernel.org/stable/c/2254d038dab9c194fe6a4b1ce31034f42e91a6e5
- https://git.kernel.org/stable/c/956b5aebb349449b38d920d444ca1392d43719d1
- https://git.kernel.org/stable/c/b11a50544af691b787384089b68f740ae20a441b
- https://git.kernel.org/stable/c/0357da9149eac621f39e235a135ebf155f01f7c3
- https://git.kernel.org/stable/c/f9b97d466e6026ccbdda30bb5b71965b67ccbc82
- https://git.kernel.org/stable/c/590b2d7d0beadba2aa576708a05a05f0aae39295
- https://git.kernel.org/stable/c/7ca52541c05c832d32b112274f81a985101f9ba8
FAQ
Is CVE-2025-38193 being exploited?
There is no confirmed exploitation: CVE-2025-38193 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.32% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-38193?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2025-38193?
Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < e0936ff56be4e08ad5b60ec26971eae0c40af305; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 2254d038dab9c194fe6a4b1ce31034f42e91a6e5; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 956b5aebb349449b38d920d444ca1392d43719d1; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < b11a50544af691b787384089b68f740ae20a441b; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 0357da9149eac621f39e235a135ebf155f01f7c3; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < f9b97d466e6026ccbdda30bb5b71965b67ccbc82; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 590b2d7d0beadba2aa576708a05a05f0aae39295; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 7ca52541c05c832d32b112274f81a985101f9ba8; Linux 2.6.12.
Is there a fix for CVE-2025-38193?
Yes. Fixed in Linux 2254d038dab9c194fe6a4b1ce31034f42e91a6e5, Linux 956b5aebb349449b38d920d444ca1392d43719d1, Linux 0357da9149eac621f39e235a135ebf155f01f7c3, Linux 590b2d7d0beadba2aa576708a05a05f0aae39295, Linux 7ca52541c05c832d32b112274f81a985101f9ba8. Upgrade Linux to 7ca52541c05c832d32b112274f81a985101f9ba8 or later.
How do I check if I'm affected by CVE-2025-38193?
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.