# CVE-2025-38193: net\_sched: sch\_sfq: reject invalid perturb period

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.32% (percentile 17, 2026-11-26)
- **CWE:** CWE-190
- **Published:** 2025-07-04T13:37:17.285Z
- **Modified:** 2026-10-15T22:18:34.207Z

## 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

## 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

- Linux: \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< e0936ff56be4e08ad5b60ec26971eae0c40af305; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 2254d038dab9c194fe6a4b1ce31034f42e91a6e5; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 956b5aebb349449b38d920d444ca1392d43719d1; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< b11a50544af691b787384089b68f740ae20a441b; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 0357da9149eac621f39e235a135ebf155f01f7c3; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< f9b97d466e6026ccbdda30bb5b71965b67ccbc82; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 590b2d7d0beadba2aa576708a05a05f0aae39295; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 7ca52541c05c832d32b112274f81a985101f9ba8 (cvelist)
- Linux: 2.6.12 (cvelist)

## Mitigation

- Upgrade Linux to 7ca52541c05c832d32b112274f81a985101f9ba8 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

## 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.

## References

- patch: <https://git.kernel.org/stable/c/e0936ff56be4e08ad5b60ec26971eae0c40af305>
- patch: <https://git.kernel.org/stable/c/2254d038dab9c194fe6a4b1ce31034f42e91a6e5>
- patch: <https://git.kernel.org/stable/c/956b5aebb349449b38d920d444ca1392d43719d1>
- patch: <https://git.kernel.org/stable/c/b11a50544af691b787384089b68f740ae20a441b>
- patch: <https://git.kernel.org/stable/c/0357da9149eac621f39e235a135ebf155f01f7c3>
- patch: <https://git.kernel.org/stable/c/f9b97d466e6026ccbdda30bb5b71965b67ccbc82>
- patch: <https://git.kernel.org/stable/c/590b2d7d0beadba2aa576708a05a05f0aae39295>
- patch: <https://git.kernel.org/stable/c/7ca52541c05c832d32b112274f81a985101f9ba8>
- other: <https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html>
- other: <https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-38193>

HTML: <https://flawdb.com/CVE-2025-38193> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-38193>
