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

目标: 1000 元 · 已筹: 1359 元

100%

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

一分钟漏洞结论

影响对象
Linux Linux
利用判断
存在公开或 AI PoC,应优先验证
建议动作
优先检查厂商安全公告和参考链接中的修复版本;无法立即升级时,限制受影响服务暴露并加强监测。

Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于桥接多播路由器端口配置期间释放后重用。

CVSS 7.8 · High EPSS 0.30% · P22

影响版本矩阵 10

厂商产品 版本范围状态
Linux Linux 2796d846d74a18cc6563e96eff8bf28c5e06f912< 4d3c2a1d4c7c33103f1ddfdbc5cfe1ea4f6d0dcd affected
2796d846d74a18cc6563e96eff8bf28c5e06f912< bdced577da71b118b6ed4242ebd47f81bf54d406 affected
2796d846d74a18cc6563e96eff8bf28c5e06f912< f05a4f9e959e0fc098046044c650acf897ea52d2 affected
2796d846d74a18cc6563e96eff8bf28c5e06f912< 7544f3f5b0b58c396f374d060898b5939da31709 affected
5.15 affected
< 5.15 unaffected
6.6.122≤ 6.6.* unaffected
6.12.67≤ 6.12.* unaffected
… +2 条更多
获取后续新漏洞提醒 登录后订阅

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

漏洞信息

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

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

Vulnerability Title
bridge: mcast: Fix use-after-free during router port configuration
来源: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: bridge: mcast: Fix use-after-free during router port configuration The bridge maintains a global list of ports behind which a multicast router resides. The list is consulted during forwarding to ensure multicast packets are forwarded to these ports even if the ports are not member in the matching MDB entry. When per-VLAN multicast snooping is enabled, the per-port multicast context is disabled on each port and the port is removed from the global router port list: # ip link add name br1 up type bridge vlan_filtering 1 mcast_snooping 1 # ip link add name dummy1 up master br1 type dummy # ip link set dev dummy1 type bridge_slave mcast_router 2 $ bridge -d mdb show | grep router router ports on br1: dummy1 # ip link set dev br1 type bridge mcast_vlan_snooping 1 $ bridge -d mdb show | grep router However, the port can be re-added to the global list even when per-VLAN multicast snooping is enabled: # ip link set dev dummy1 type bridge_slave mcast_router 0 # ip link set dev dummy1 type bridge_slave mcast_router 2 $ bridge -d mdb show | grep router router ports on br1: dummy1 Since commit 4b30ae9adb04 ("net: bridge: mcast: re-implement br_multicast_{enable, disable}_port functions"), when per-VLAN multicast snooping is enabled, multicast disablement on a port will disable the per-{port, VLAN} multicast contexts and not the per-port one. As a result, a port will remain in the global router port list even after it is deleted. This will lead to a use-after-free [1] when the list is traversed (when adding a new port to the list, for example): # ip link del dev dummy1 # ip link add name dummy2 up master br1 type dummy # ip link set dev dummy2 type bridge_slave mcast_router 2 Similarly, stale entries can also be found in the per-VLAN router port list. When per-VLAN multicast snooping is disabled, the per-{port, VLAN} contexts are disabled on each port and the port is removed from the per-VLAN router port list: # ip link add name br1 up type bridge vlan_filtering 1 mcast_snooping 1 mcast_vlan_snooping 1 # ip link add name dummy1 up master br1 type dummy # bridge vlan add vid 2 dev dummy1 # bridge vlan global set vid 2 dev br1 mcast_snooping 1 # bridge vlan set vid 2 dev dummy1 mcast_router 2 $ bridge vlan global show dev br1 vid 2 | grep router router ports: dummy1 # ip link set dev br1 type bridge mcast_vlan_snooping 0 $ bridge vlan global show dev br1 vid 2 | grep router However, the port can be re-added to the per-VLAN list even when per-VLAN multicast snooping is disabled: # bridge vlan set vid 2 dev dummy1 mcast_router 0 # bridge vlan set vid 2 dev dummy1 mcast_router 2 $ bridge vlan global show dev br1 vid 2 | grep router router ports: dummy1 When the VLAN is deleted from the port, the per-{port, VLAN} multicast context will not be disabled since multicast snooping is not enabled on the VLAN. As a result, the port will remain in the per-VLAN router port list even after it is no longer member in the VLAN. This will lead to a use-after-free [2] when the list is traversed (when adding a new port to the list, for example): # ip link add name dummy2 up master br1 type dummy # bridge vlan add vid 2 dev dummy2 # bridge vlan del vid 2 dev dummy1 # bridge vlan set vid 2 dev dummy2 mcast_router 2 Fix these issues by removing the port from the relevant (global or per-VLAN) router port list in br_multicast_port_ctx_deinit(). The function is invoked during port deletion with the per-port multicast context and during VLAN deletion with the per-{port, VLAN} multicast context. Note that deleting the multicast router timer is not enough as it only takes care of the temporary multicast router states (1 or 3) and not the permanent one (2). [1] BUG: KASAN: slab-out-of-bounds in br_multicast_add_router.part.0+0x3f1/0x560 Write of size 8 at addr ffff888004a67328 by task ip/384 [...] Call Trace: <TASK> dump_stack ---truncated---
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
来源: 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存在安全漏洞,该漏洞源于桥接多播路由器端口配置期间释放后重用。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商 产品 影响版本 CPE 订阅
Linux Linux 2796d846d74a18cc6563e96eff8bf28c5e06f912 ~ 4d3c2a1d4c7c33103f1ddfdbc5cfe1ea4f6d0dcd -
Linux Linux 5.15 -

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

# POC 描述 源链接 神龙链接
1 The first detail for CVE-2025-38248 https://github.com/guard-wait/CVE-2025-38248_EXP POC详情
AI 生成 POC 高级

未找到公开 POC。

登录以生成 AI POC

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

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

同批安全公告 · Linux · 2025-07-09 · 共 26 条

CVE-2025-38264 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2025-38246 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2025-38238 8.8 HIGH Linux kernel 安全漏洞
CVE-2025-38253 8.8 HIGH Linux kernel 安全漏洞
CVE-2025-38242 7.8 HIGH Linux kernel 安全漏洞
CVE-2025-38261 7.8 HIGH Linux kernel 安全漏洞
CVE-2025-38262 7.8 HIGH Linux kernel 安全漏洞
CVE-2025-38250 7.8 HIGH Linux kernel 安全漏洞
CVE-2025-38252 7.8 HIGH Linux kernel 安全漏洞
CVE-2025-38244 7.5 HIGH Linux kernel 安全漏洞
CVE-2025-38239 7.3 HIGH Linux kernel 安全漏洞
CVE-2025-38257 7.3 HIGH Linux kernel 安全漏洞
CVE-2025-38251 Linux kernel 安全漏洞
CVE-2025-38249 Linux kernel 安全漏洞
CVE-2025-38254 Linux kernel 安全漏洞
CVE-2025-38255 Linux kernel 安全漏洞
CVE-2025-38256 Linux kernel 安全漏洞
CVE-2025-38247 Linux kernel 安全漏洞
CVE-2025-38258 Linux kernel 安全漏洞
CVE-2025-38259 Linux kernel 安全漏洞

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

IV. Related Vulnerabilities

V. Comments for CVE-2025-38248

暂无评论


发表评论