一、 漏洞 CVE-2025-38193 基础信息
漏洞信息
                                        # net_sched: sch_sfq: 拒绝无效的扰动周期

## 漏洞概述
在Linux内核中,`sch_sfq`模块存在一个漏洞,即SFQ的`perturb_period`参数没有进行有效的范围检查,这可能导致溢出或负值触发竞态条件。

## 影响版本
未明确指定受影响的版本,但该漏洞存在于使用`sch_sfq`模块的Linux内核版本中。

## 细节
SFQ的`perturb_period`参数没有进行范围检查,开发者引入了针对此问题的修复,以确保`ctl->perturb_period * HZ`不会溢出并且是正值。

提供的测试案例示例如下:
```bash
tc qd add dev lo root sfq perturb -10   # 负值:错误
Error: sch_sfq: invalid perturb period.

tc qd add dev lo root sfq perturb 1000000000 # 值过大:错误
Error: sch_sfq: invalid perturb period.

tc qd add dev lo root sfq perturb 2000000 # 可接受的值
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
```

## 影响
此漏洞可能导致内核参数配置错误,进而可能引起系统不稳定或潜在的安全问题,如拒绝服务(DoS)攻击等。
                                        
提示
尽管我们采用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。
神龙会尽力确保数据准确,但也请结合实际情况进行甄别与判断。
神龙祝您一切顺利!
漏洞标题
net_sched: sch_sfq: reject invalid perturb period
来源:美国国家漏洞数据库 NVD
漏洞描述信息
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
来源:美国国家漏洞数据库 NVD
CVSS信息
N/A
来源:美国国家漏洞数据库 NVD
漏洞类别
N/A
来源:美国国家漏洞数据库 NVD
漏洞标题
Linux kernel 安全漏洞
来源:中国国家信息安全漏洞库 CNNVD
漏洞描述信息
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于未验证扰动周期导致整数溢出。
来源:中国国家信息安全漏洞库 CNNVD
CVSS信息
N/A
来源:中国国家信息安全漏洞库 CNNVD
漏洞类别
其他
来源:中国国家信息安全漏洞库 CNNVD
二、漏洞 CVE-2025-38193 的公开POC
# POC 描述 源链接 神龙链接
三、漏洞 CVE-2025-38193 的情报信息