CVE-2025-38193

Source
https://cve.org/CVERecord?id=CVE-2025-38193
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-38193.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-38193
Downstream
Related
Published
2025-07-04T13:37:17.285Z
Modified
2026-03-20T12:42:43.953760Z
Summary
net_sched: sch_sfq: reject invalid perturb period
Details

In the Linux kernel, the following vulnerability has been resolved:

netsched: schsfq: 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

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38193.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2
Fixed
e0936ff56be4e08ad5b60ec26971eae0c40af305
Fixed
2254d038dab9c194fe6a4b1ce31034f42e91a6e5
Fixed
956b5aebb349449b38d920d444ca1392d43719d1
Fixed
b11a50544af691b787384089b68f740ae20a441b
Fixed
0357da9149eac621f39e235a135ebf155f01f7c3
Fixed
f9b97d466e6026ccbdda30bb5b71965b67ccbc82
Fixed
590b2d7d0beadba2aa576708a05a05f0aae39295
Fixed
7ca52541c05c832d32b112274f81a985101f9ba8

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-38193.json"