🇰🇷 한글 설명
Linux 커널의 ksmbd 모듈에서 ACE(액세스 제어 항목) 크기가 SID 하위 권한 개수와 일치하는지 검증하지 않는 취약점이 발견되었습니다. 이로 인해 크기가 작은 ACE가 복사될 경우, POSIX ACL 중복 제거 과정에서 경계를 벗어난 메모리 영역을 탐색하게 되어 보안 문제가 발생할 수 있습니다.
💡 쉬운 설명
파일 접근 권한을 설정하는 과정에서 데이터의 크기를 제대로 확인하지 않아 발생하는 오류입니다. 공격자가 조작된 권한 정보를 보내면 시스템이 허용되지 않은 메모리 영역을 읽게 만들 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
ksmbd: validate ACE size against SID sub-authorities
set_ntacl_dacl() validates sid.num_subauth before copying an ACE, but
does not verify that the declared ACE size contains all sub-authorities
described by that field. An undersized ACE can therefore be copied
and later make the POSIX ACL deduplication walk inspect data beyond
the copied ACE boundary.
The existing initial bound check is also too small. It only ensures
that the ACE size field is accessible before set_ntacl_dacl() reads
sid.num_subauth farther into the input buffer.
Require enough input for the fixed SID header before accessing
num_subauth, reject ACEs smaller than that header, and skip ACEs
whose declared size cannot contain the complete SID. This makes the
validation consistent with the other ACE walk paths.
📍 영향받는 시스템
Linux kernel (ksmbd module 포함 버전)
⚔️ 공격 벡터
조작된 크기의 ACE를 포함한 SMB 요청을 통해 메모리 경계 외 영역 탐색 유도
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이상인지 확인
📊 CVSS Vector String
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
💻 영향받는 소프트웨어
NVIDIA vGPU Guest Driver for Linux