Linux Distros 未修补的漏洞:CVE-2025-38468

medium Nessus 插件 ID 251319

简介

Linux/Unix 主机上安装的一个或多个程序包存在漏洞,但供应商表示不会修补此漏洞。

描述

Linux/Unix 主机中安装的一个或多个程序包受到一个漏洞影响,而供应商没有提供补丁程序。

- net/sched当 htb_lookup_leaf 遇到空 rbtree 时返回 NULL htb_lookup_leaf 存在可通过以下内容触发的 BUG_ONtc qdisc del dev lo root tc qdisc add dev lo root handle 1htb default 1 tc class add dev lo parent 1 classid 1:1 htb rate 64bit tc qdisc add dev lo parent 1:1 handle 2: netem tc qdisc add dev lo parent 2:1 handle 3:blackhole ping -I lo -c1 -W0.001 127.0.0.1 根本原因如下1 。htb_dequeue 调用 htb_dequeue_tree其在所选叶 qdisc 上调用出列处理程序 2. netem_dequeue 在子 qdisc 上调用入列 3. Blackhole_enqueue 会丢弃数据包并返回一个不仅仅是 NET_XMIT_SUCCESS 的值 4. 因此netem_dequeue 会调用 qdisc_tree_reduce_backlog因为qlen 现在为 0它调用 htb_qlen_notify -> htb_deactivate -> htb_deactiviate_prios -> htb_remove_class_from_row -> htb_safe_rb_erase 5. 由于这是所选 hprio rbtree 中唯一的类__rb_erase_augmented 中的 __rb_change_child 设置 rb_root 指针 t o NULL 6。
由于blackhole_dequeue 返回 NULLnetem_dequeue 返回 NULL这导致 htb_dequeue_tree调用具有相同 hprio rbtree 的 htb_lookup_leaf并使 BUG_ON 失败此处显示此情况的函数图0) | htb_enqueue() { 0) + 13.635 us | htb_enqueue() { netem_enqueue(); 0) 4.719 us | htb_activate_prios(); 0) # 2249.199 us | 0) | htb_dequeue() { 0) 2.355 us | htb_dequeue() { 0} htb_lookup_leaf(); 0) | netem_dequeue() { 0) + 11.061 us | netem_dequeue() { 0) + [] us | netem_dequeue() { 0) blackhole_enqueue(); 0) | qdisc_tree_reduce_backlog() { 0) | qdisc_lookup_rcu() { 0) [] us | qdisc_lookup_rcu() { 0) [] us | qdisc_lookup_rcu() { 0) [ 1.873 us | qdisc_lookup_rcu() qdisc_match_from_root(); 0) 6.292 us | 0) 1.894 us | htb_search(); 0) | htb_qlen_notify() { 0) 2.655 us | htb_qlen_notify() { 0} htb_deactivate_prios(); 0) 6.933 us | } 0) + 25.227 us | 0) 1.983 us | blackhole_dequeue(); 0) + 86.553 us| 0) # 2932.761 us | qdisc_warn_nonwc(); 0) | htb_lookup_leaf() { 0) | BUG_ON();
------------------------------------------ 可以查看完整的原始缺陷报告在此 [1]。我们只需返回 NULL 而不是 BUG_ON 即可修复此问题因为 htb_lookup_leaf 返回 NULL 时 htb_dequeue_tree 也会返回 NULL。 [1] https://lore.kernel.org/netdev/pF5XOOIim0IuEfhI-SOxTgRvNoDwuux7UHKnE_Y5-zVd4wmGvNk2ceHjKb8ORnzw0cGwfmVu42g9dL7XyJLf1NEzaztboTWcm0Ogxuojoeo=@willsroot.io/(CVE-2025-38468)

请注意,Nessus 依赖供应商报告的程序包是否存在进行判断。

解决方案

目前尚未有任何已知的解决方案。

另见

https://security-tracker.debian.org/tracker/CVE-2025-38468

插件详情

严重性: Medium

ID: 251319

文件名: unpatched_CVE_2025_38468.nasl

版本: 1.1

类型: local

代理: unix

系列: Misc.

发布时间: 2025/8/18

最近更新时间: 2025/8/18

支持的传感器: Agentless Assessment, Frictionless Assessment Agent, Nessus Agent, Nessus

风险信息

VPR

风险因素: Medium

分数: 4.4

CVSS v2

风险因素: High

基本分数: 7.2

时间分数: 5.3

矢量: CVSS2#AV:L/AC:L/Au:N/C:C/I:C/A:C

CVSS 分数来源: CVE-2025-38468

CVSS v3

风险因素: Medium

基本分数: 5.5

时间分数: 4.8

矢量: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

时间矢量: CVSS:3.0/E:U/RL:O/RC:C

漏洞信息

CPE: cpe:/o:debian:debian_linux:11.0, p-cpe:/a:debian:debian_linux:linux, cpe:/o:debian:debian_linux:13.0, cpe:/o:debian:debian_linux:12.0

必需的 KB 项: Host/cpu, Host/local_checks_enabled, global_settings/vendor_unpatched, Host/OS/identifier

易利用性: No known exploits are available

漏洞发布日期: 2025/7/28

参考资料信息

CVE: CVE-2025-38468