🔍 CVE-2026-43490

8.8
CVSS Score
HIGH
2026-05-15
2026-06-26 19:16
✅ 완료

🇰🇷 한글 설명

Linux kernel의 ksmbd에서 상위 디렉토리 DACL의 ACE SID 길이를 검증하지 않아 발생하는 취약점입니다. 악의적으로 구성된 상속 가능 ACE가 실제보다 많은 하위 권한을 주장할 수 있으며, 이로 인해 메모리 버퍼 오버플로우로 인한 정보 유출 및 권한 상승이 가능합니다.

💡 쉬운 설명

Linux의 파일 공유 서비스(ksmbd)가 폴더 권한 정보의 크기를 제대로 확인하지 못해, 손상된 권한 정보로 메모리 경계를 넘어 접근할 수 있습니다. 이를 악용하면 민감한 데이터 노출이나 시스템 제어가 가능합니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: ksmbd: validate inherited ACE SID length smb_inherit_dacl() walks the parent directory DACL loaded from the security descriptor xattr. It verifies that each ACE contains the fixed SID header before using it, but does not verify that the variable-length SID described by sid.num_subauth is fully contained in the ACE. A malformed inheritable ACE can advertise more subauthorities than are present in the ACE. compare_sids() may then read past the ACE. smb_set_ace() also clamps the copied destination SID, but used the unchecked source SID count to compute the inherited ACE size. That could advance the temporary inherited ACE buffer pointer and nt_size accounting past the allocated buffer. Fix this by validating the parent ACE SID count and SID length before using the SID during inheritance. Compute the inherited ACE size from the copied SID so the size matches the bounded destination SID. Reject the inherited DACL if size accumulation would overflow smb_acl.size or the security descriptor allocation size.

📍 영향받는 시스템

Linux kernel with ksmbd (SMB server) - multiple kernel versions prior to fix

⚔️ 공격 벡터

악의적으로 조작된 상속 가능 ACE를 포함한 보안 설명자(xattr)를 통해 메모리 버퍼 오버플로우 및 정보 유출 유발

🛡️ 대응 방법

Linux kernel을 최신 보안 패치로 업데이트하여 ACE SID 길이 및 범위 검증 기능 적용

🔧 검증 코드

커널 버전 확인 후 ksmbd 모듈 활성화 여부 확인, Linux 보안 권고사항에서 해당 버전의 패치 적용 상태 확인

Shell / Script
uname -r && cat /boot/config-$(uname -r) 2>/dev/null | grep -i ksmbd

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Linux Kernel