🔍 CVE-2026-72307

0.0
CVSS Score
UNKNOWN
2026-08-15
2026-08-17 06:18
✅ 완료

🇰🇷 한글 설명

Linux 커널의 mlxsw 드라이버에서 mlxsw_sp_vrs_lpm_tree_replace() 함수 호출 중 오류가 발생할 경우, 이전의 교체 작업을 올바르게 되돌리지 못하는 참조 횟수(refcount) 누수 취약점이 발견되었습니다. 오류 처리 루프 내에서 포인터가 업데이트되지 않아 동일한 VR에 대해 중복 작업이 수행되고, 이로 인해 new_tree의 참조 횟수가 해제되지 않고 남게 됩니다.

💡 쉬운 설명

시스템 내부에서 데이터를 교체하다가 오류가 났을 때, 이전 상태로 되돌리는 과정이 제대로 작동하지 않아 메모리 자원이 낭비되는 문제입니다. 이 문제가 지속되면 시스템의 메모리가 조금씩 줄어들어 결국 성능 저하나 시스템 불안정을 초래할 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: mlxsw: fix refcount leak in mlxsw_sp_vrs_lpm_tree_replace() When mlxsw_sp_vrs_lpm_tree_replace() fails after replacing some VRs, the error rollback loop does not correctly revert the preceding replacements. The loop decrements the index but fails to update the vr pointer, which still points to the VR that caused the failure. As a result, the condition and the rollback call always operate on the same VR, potentially calling mlxsw_sp_vr_lpm_tree_replace() multiple times on it while never rolling back the earlier VRs. Those VRs continue to hold a reference to new_tree acquired via mlxsw_sp_lpm_tree_hold(), leaking the reference count of new_tree. Fix by reinitializing vr inside the error loop with the updated index: vr = &mlxsw_sp->router->vrs[i]; so that the loop correctly iterates over all VRs that were actually replaced.

📍 영향받는 시스템

Linux kernel (mlxsw driver module)

⚔️ 공격 벡터

로컬 권한을 가진 사용자가 네트워크 설정 변경을 통해 특정 오류 상황을 유도하여 메모리 누수 발생 가능

🛡️ 대응 방법

Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 mlxsw_sp_vrs_lpm_tree_replace() 오류 수정 사항 반영

🔧 검증 코드

현재 실행 중인 커널 버전을 확인하여 해당 취약점이 수정된 패치 버전 이상인지 확인

Shell / Script
uname -r

💻 영향받는 소프트웨어

Linux Kernel