🔍 CVE-2026-89723

7.8
CVSS Score
HIGH
2026-09-11
2026-10-19 09:18
✅ 완료

🇰🇷 한글 설명

Linux 커널의 NILFS2 파일 시스템에서 파일 크기 축소(truncation) 시 B-tree 노드 블록이 적절히 삭제되지 않아 발생하는 Slab-out-of-bounds 취약점입니다. 이로 인해 로그 라이터가 데이터 블록이 아닌 B-tree 노드를 잘못 처리하면서 메모리 경계를 벗어난 접근이 발생할 수 있습니다.

💡 쉬운 설명

파일 크기를 줄이는 과정에서 지워져야 할 데이터 조각이 메모리에 잘못 남아 있어 시스템 오류를 일으키는 문제입니다. 이 오류를 이용하면 컴퓨터의 메모리 영역을 침범하여 시스템을 불안정하게 만들 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: nilfs2: fix slab-out-of-bounds in nilfs_direct_propagate after truncation Shuangpeng Bai reported that KASAN detected a slab-out-of-bounds error in nilfs_direct_propagate() during testing. Analysis revealed that after truncating a file, a node block immediately below the B-tree root was not deleted. Instead, it remained in the B-tree node cache in a dirty state. The log writer subsequently detected this block and incorrectly invoked nilfs_direct_propagate() on it, which is designed to handle only data blocks in direct mapping. B-tree nodes in the cache are managed by virtual block numbers, and their logical keys typically exceed the range expected by direct mapping. Consequently, processing such a node as a direct mapping entry triggers a slab-out-of-bounds access. The root cause is that when a B-tree mapping collapses into a direct mapping during truncation, an intermediate node block pointed to by the root node is left behind as garbage instead of being explicitly deleted. This resolves the issue by adding a nilfs_btree_discard() operation to delete the remaining intermediate node block during the conversion. A 'deform' flag is added to the bop_delete interface to explicitly signal that the deletion is part of a mapping transformation. This allows the B-tree mapping implementation to perform the necessary cleanup and discarding of the residual node structure that would be otherwise be left orphaned after the transition.

📍 영향받는 시스템

Linux Kernel (NILFS2 파일 시스템을 사용하는 버전)

⚔️ 공격 벡터

로컬 사용자가 특정 파일 시스템 조작(파일 크기 축소)을 통해 메모리 오염 유도

🛡️ 대응 방법

NILFS2의 B-tree 매핑 변환 시 잔여 노드를 명시적으로 삭제하도록 수정된 최신 Linux 커널로 업데이트

🔧 검증 코드

출력된 커널 버전이 해당 취약점이 패치된 최신 보안 업데이트 버전인지 확인하십시오.

Shell / Script
uname -r

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

💻 영향받는 소프트웨어

Linux Kernel