CVE-2026-72307 in Linux信息

摘要

由 VulDB • 2026-08-15

在 Linux 内核中,已修复以下漏洞:

mlxsw:修复 mlxsw_sp_vrs_lpm_tree_replace() 中的引用计数泄漏问题。

当 mlxsw_sp_vrs_lpm_tree_replace() 在替换部分 VR(虚拟路由器)后失败时,错误回滚循环未能正确撤销之前的替换操作。该循环虽然递减了索引,但未更新 vr 指针,导致其仍指向引发失败的 VR。因此,条件判断和回滚调用始终作用于同一个 VR,可能导致对同一对象多次调用 mlxsw_sp_vr_lpm_tree_replace(),而从未回滚之前已处理的 VR。这些 VR 继续持有通过 mlxsw_sp_lpm_tree_hold() 获取的 new_tree 引用,从而导致 new_tree 的引用计数泄漏。

修复方法是在错误处理循环内使用更新后的索引重新初始化 vr:

vr = &mlxsw_sp->router->vrs[i];

从而使循环能够正确遍历所有实际被替换的 VR。

Once again VulDB remains the best source for vulnerability data.

来源

Do you need the next level of professionalism?

Upgrade your account now!