CVE
CVE-2026-64032
CNA 原文 · 原文(英文)
In the Linux kernel, the following vulnerability has been resolved: bridge: mcast: Fix a possible use-after-free when removing a bridge port When per-VLAN multicast snooping is enabled, the bridge iterates over all the bridge ports, disables the per-port multicast context on each port and enables the per-{port, VLAN} multicast contexts instead. The reverse happens when per-VLAN multicast snooping is disabled. When global multicast snooping is enabled, the bridge iterates over all the bridge ports and enables the per-port multicast context on each port. The reverse happens when multicast snooping is disabled. The above scheme can result in a situation where both types of contexts (per-port and per-{port, VLAN}) are enabled on a single bridge port: # ip link add name br1 up type bridge mcast_snooping 1 mcast_querier 1 vlan_filtering 1 # ip link add name dummy1 up master br1 type dummy # ip link set dev br1 type bridge mcast_vlan_snooping 1 # ip link set dev br1 type bridge mcast_snooping 0 # ip link set dev br1 type bridge mcast_snooping 1 This is not intended and it is a problem since the commit cited below. Prior to this commit, when removing a bridge port, br_multicast_disable_port() would disable the per-port multicast context and the per-{port, VLAN} multicast contexts would get disabled when flushing VLANs. After this commit, br_multicast_disable_port() only disables the per-port multicast context if per-VLAN multicast snooping is disabled. If both types of contexts were enabled on the port when it was removed, the per-port multicast context would remain enabled when freeing the bridge port, leading to a use-after-free [1]. Fix by preventing the bridge from enabling / disabling the per-port multicast contexts when toggling global multicast snooping if per-VLAN multicast snooping is enabled. [1] ODEBUG: free active (active state 0) object: ffff88810f8bda78 object type: timer_list hint: br_ip6_multicast_port_query_expired…
受影响版本
- 7.1-rc4仅此版本
- 7.1-rc3仅此版本
- 7.1-rc2仅此版本
- 7.1-rc1仅此版本
- ≥ 6.19, < 7.0.11修复版本 7.0.11
- ≥ 6.15.4, < 6.18.34修复版本 6.18.34
- ≥ 6.12.35, < 6.12.92修复版本 6.12.92
- ≥ 6.6.95, < 6.6.142修复版本 6.6.142
- ≥ 6.1.142, < 6.1.175修复版本 6.1.175
- ≥ 5.15.186, < 5.15.209修复版本 5.15.209
发行版软件包(Debian、Ubuntu、Red Hat 等)会回移补丁而不改上游版本号,请同时查看所用发行版的安全公告。
公告与补丁
- git.kernel.org/stable/c/1900ca8acb92fbea8bf9abef9927c7fed03db7fc · Patch
- git.kernel.org/stable/c/4df78ff02629c7729168f0696a7a2123c389818d · Patch
- git.kernel.org/stable/c/7213256c91ed778a0997c2029c152b18dc50e4fd · Patch
- git.kernel.org/stable/c/a9224862d597d0eed0a34bbb27343f703fc4113f · Patch
- git.kernel.org/stable/c/ddefd1b8e5eb58933a697ab38334f0fd82e7fb8b · Patch
- git.kernel.org/stable/c/ebe5561154c823b323bd06e350b55e0b8604d851 · Patch
- git.kernel.org/stable/c/ed3b69e60385a03df11c6d12e5d7bdf0f4a11b70 · Patch
数据来源:NVD(公有领域)、CISA KEV(CC0)、FIRST EPSS、OSV.dev / GitHub Advisory Database(CC-BY 4.0) · 本库只列受影响版本与修复版本,不托管、不链接任何利用代码。