CVE-2025-38193CWE-190

CVE-2025-38193

High · published July 4, 2025

CVSS v3.1
7.8
EPSS
0%
Percentile
9.9
In the wild
Unconfirmed
What it is

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

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00205 · 9.9th percentile
Weakness
CWE-190 · Integer Overflow or Wraparound
Published
2025-07-04T18:15Z
Affected products (14)
ProductVersionsFixed in
linux/linux_kernel≥ 2.6.13, < 5.4.2975.4.297
linux/linux_kernel≥ 5.5, < 5.10.2405.10.240
linux/linux_kernel≥ 5.11, < 5.15.1865.15.186
linux/linux_kernel≥ 5.16, < 6.1.1426.1.142
linux/linux_kernel≥ 6.2, < 6.6.956.6.95
linux/linux_kernel≥ 6.7, < 6.12.356.12.35
linux/linux_kernel≥ 6.13, < 6.15.46.15.4
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
debian/debian_linuxall versions—
References (10)
EPSS history
Timeline
  • 04 JUL 13:37Z
    net_sched: sch_sfq: reject invalid perturb period
    cvelistv5