目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2025-37786— Linux kernel 安全漏洞

一分钟漏洞结论

影响对象
Linux Linux
利用判断
尚无明确在野利用证据,仍需结合暴露面评估
建议动作
优先检查厂商安全公告和参考链接中的修复版本;无法立即升级时,限制受影响服务暴露并加强监测。

Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于dsa_tree_setup中未释放路由表内存。

AI 预测 7.8 利用难度: 困难 EPSS 0.19% · P9

可能的 ATT&CK 技术 1 AI

T1499 · Endpoint Denial of Service

影响版本矩阵 14

厂商产品 版本范围状态
Linux Linux c5f51765a1f60b701840544faf3ca63204b8dc3c< 51df5513cca6349d0bea01bab95cd96cf869976e affected
c5f51765a1f60b701840544faf3ca63204b8dc3c< 6c20894d21600ca1e8549086dfbb986e277bf8a6 affected
c5f51765a1f60b701840544faf3ca63204b8dc3c< fb12b460ec46c9efad98de6d9ba349691db51dc7 affected
c5f51765a1f60b701840544faf3ca63204b8dc3c< 5c8066fbdb9653c6e9a224bdcd8f9c91a484f0de affected
c5f51765a1f60b701840544faf3ca63204b8dc3c< a038f5f15af455dfe35bc68549e02b950978700a affected
c5f51765a1f60b701840544faf3ca63204b8dc3c< 8bf108d7161ffc6880ad13a0cc109de3cf631727 affected
5.5 affected
< 5.5 unaffected
… +6 条更多
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2025-37786 基础信息

漏洞信息

对漏洞内容有疑问?看看神龙的深度分析是否有帮助!
查看神龙十问 ↗

尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。

Vulnerability Title
net: dsa: free routing table on probe failure
来源: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: net: dsa: free routing table on probe failure If complete = true in dsa_tree_setup(), it means that we are the last switch of the tree which is successfully probing, and we should be setting up all switches from our probe path. After "complete" becomes true, dsa_tree_setup_cpu_ports() or any subsequent function may fail. If that happens, the entire tree setup is in limbo: the first N-1 switches have successfully finished probing (doing nothing but having allocated persistent memory in the tree's dst->ports, and maybe dst->rtable), and switch N failed to probe, ending the tree setup process before anything is tangible from the user's PoV. If switch N fails to probe, its memory (ports) will be freed and removed from dst->ports. However, the dst->rtable elements pointing to its ports, as created by dsa_link_touch(), will remain there, and will lead to use-after-free if dereferenced. If dsa_tree_setup_switches() returns -EPROBE_DEFER, which is entirely possible because that is where ds->ops->setup() is, we get a kasan report like this: ================================================================== BUG: KASAN: slab-use-after-free in mv88e6xxx_setup_upstream_port+0x240/0x568 Read of size 8 at addr ffff000004f56020 by task kworker/u8:3/42 Call trace: __asan_report_load8_noabort+0x20/0x30 mv88e6xxx_setup_upstream_port+0x240/0x568 mv88e6xxx_setup+0xebc/0x1eb0 dsa_register_switch+0x1af4/0x2ae0 mv88e6xxx_register_switch+0x1b8/0x2a8 mv88e6xxx_probe+0xc4c/0xf60 mdio_probe+0x78/0xb8 really_probe+0x2b8/0x5a8 __driver_probe_device+0x164/0x298 driver_probe_device+0x78/0x258 __device_attach_driver+0x274/0x350 Allocated by task 42: __kasan_kmalloc+0x84/0xa0 __kmalloc_cache_noprof+0x298/0x490 dsa_switch_touch_ports+0x174/0x3d8 dsa_register_switch+0x800/0x2ae0 mv88e6xxx_register_switch+0x1b8/0x2a8 mv88e6xxx_probe+0xc4c/0xf60 mdio_probe+0x78/0xb8 really_probe+0x2b8/0x5a8 __driver_probe_device+0x164/0x298 driver_probe_device+0x78/0x258 __device_attach_driver+0x274/0x350 Freed by task 42: __kasan_slab_free+0x48/0x68 kfree+0x138/0x418 dsa_register_switch+0x2694/0x2ae0 mv88e6xxx_register_switch+0x1b8/0x2a8 mv88e6xxx_probe+0xc4c/0xf60 mdio_probe+0x78/0xb8 really_probe+0x2b8/0x5a8 __driver_probe_device+0x164/0x298 driver_probe_device+0x78/0x258 __device_attach_driver+0x274/0x350 The simplest way to fix the bug is to delete the routing table in its entirety. dsa_tree_setup_routing_table() has no problem in regenerating it even if we deleted links between ports other than those of switch N, because dsa_link_touch() first checks whether the port pair already exists in dst->rtable, allocating if not. The deletion of the routing table in its entirety already exists in dsa_tree_teardown(), so refactor that into a function that can also be called from the tree setup error path. In my analysis of the commit to blame, it is the one which added dsa_link elements to dst->rtable. Prior to that, each switch had its own ds->rtable which is freed when the switch fails to probe. But the tree is potentially persistent memory.
来源: CVE Program / CVE List V5
CVSS Information
N/A
来源: CVE Program / CVE List V5
Vulnerability Type
N/A
来源: CVE Program / CVE List V5
Vulnerability Title
Linux kernel 安全漏洞
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Description
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于dsa_tree_setup中未释放路由表内存。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商 产品 影响版本 CPE 订阅
Linux Linux c5f51765a1f60b701840544faf3ca63204b8dc3c ~ 51df5513cca6349d0bea01bab95cd96cf869976e -
Linux Linux 5.5 -

二、漏洞 CVE-2025-37786 的公开POC

# POC 描述 源链接 神龙链接
AI 生成 POC 高级

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2025-37786 的情报信息

请登录查看更多情报信息。

CVE-2025-37786 补丁与修复 (4)

同批安全公告 · Linux · 2025-05-01 · 共 245 条

CVE-2025-37750 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2025-37778 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2022-49770 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2022-49931 8.8 HIGH Linux kernel 安全漏洞
CVE-2025-37776 8.8 HIGH Linux kernel 安全漏洞
CVE-2025-37777 8.8 HIGH Linux kernel 安全漏洞
CVE-2025-37790 8.8 HIGH Linux kernel 安全漏洞
CVE-2022-49910 8.8 HIGH Linux kernel 安全漏洞
CVE-2022-49886 8.4 HIGH Linux kernel 安全漏洞
CVE-2025-23159 8.4 HIGH Linux kernel 安全漏洞
CVE-2025-37749 8.2 HIGH Linux kernel 安全漏洞
CVE-2025-37765 7.8 HIGH Linux kernel 安全漏洞
CVE-2025-37779 7.8 HIGH Linux kernel 安全漏洞
CVE-2022-49920 7.8 HIGH Linux kernel 安全漏洞
CVE-2022-49919 7.8 HIGH Linux kernel 安全漏洞
CVE-2022-49921 7.8 HIGH Linux kernel 安全漏洞
CVE-2025-37752 7.8 HIGH Linux kernel 安全漏洞
CVE-2025-37756 7.8 HIGH Linux kernel 安全漏洞
CVE-2025-37761 7.8 HIGH Linux kernel 安全漏洞
CVE-2022-49804 7.8 HIGH Linux kernel 安全漏洞

显示前 20 条,共 245 条。 查看全部 &rarr; →

IV. Related Vulnerabilities

V. Comments for CVE-2025-37786

暂无评论


发表评论