# CVE-2025-38193: net_sched: sch_sfq: reject invalid perturb period

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2025-07-04T13:37:17.285Z
- Modified: 2026-10-15T22:18:34.207Z
- Weaknesses: CWE-190
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before e0936ff56be4e08ad5b60ec26971eae0c40af305; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 2254d038dab9c194fe6a4b1ce31034f42e91a6e5; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 956b5aebb349449b38d920d444ca1392d43719d1; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before b11a50544af691b787384089b68f740ae20a441b; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 0357da9149eac621f39e235a135ebf155f01f7c3; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before f9b97d466e6026ccbdda30bb5b71965b67ccbc82; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 590b2d7d0beadba2aa576708a05a05f0aae39295; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 7ca52541c05c832d32b112274f81a985101f9ba8; 2.6.12 (not affected: before 2.6.12; from 5.4.297 up to 5.4.*; from 5.10.240 up to 5.10.*; from 5.15.186 up to 5.15.*; from 6.1.142 up to 6.1.*; from 6.6.95 up to 6.6.*; from 6.12.35 up to 6.12.*; from 6.15.4 up to 6.15.*; from 6.16 up to *)
- linux linux_kernel: from 2.6.13 before 5.4.297; from 5.5 before 5.10.240; from 5.11 before 5.15.186; from 5.16 before 6.1.142; from 6.2 before 6.6.95; from 6.7 before 6.12.35; from 6.13 before 6.15.4; 2.6.12; 6.16
- debian debian_linux: 11.0

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <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> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html> (third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html> (third-party-advisory)

## Sources

- CVE List: [CVE-2025-38193](https://www.cve.org/CVERecord?id=CVE-2025-38193), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2025-38193](https://nvd.nist.gov/vuln/detail/CVE-2025-38193), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2025-38193 · Whole record: https://cve.day/CVE-2025-38193.json · Rebuilt by cve.day 2026-11-25T22:59:00.634Z
