CVE-2026-80638 in Linux
요약
\~에 의해 VulDB • 2026. 08. 29.
리눅스 커널에서 다음 취약점이 해결되었습니다:
ocfs2: ocfs2_remove_refcount_extent에서의 out-of-bounds write 수정
[버그]
refcount 트리에 leaf 블록이 있는 refcounted 파일을 unlink하면, out-of-bounds write로 인해 fortify 패닉이 발생합니다.
[원인]
refcount 트리에서 마지막 leaf 블록이 제거될 때, ocfs2_remove_refcount_extent()는 &rb->rf_records에 대한 bulk memset을 사용하여 루트를 leaf 모드로 변환합니다. rf_records은 rf_list가 포함된 anonymous union 내에 위치하며, rf_list.l_tree_depth는 rf_records.rl_count와 aliasing됩니다. 단일 레벨 트리의 경우 rl_tree_depth는 0입니다. rl_count가 0인 상태에서 memset이 실행되면, fortify 체크어가 감지하는 rf_records의 선언된 크기(16바이트)를 초과하여 작성됩니다.
[해결책]
rl_count를 올바른 값으로 설정한 후, &rb->rf_records에 대한 bulk memset을 rl_recs[]에만 적용되는 올바르게 경계가 지정된(memset with correct bounds) memset으로 대체합니다.
Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.