🔍 CVE-2026-46139

5.5
CVSS Score
MEDIUM
2026-05-28
2026-11-06 17:17
✅ 완료

🇰🇷 한글 설명

Linux 커널의 SMB 클라이언트에서 보안 설명자(security descriptor) 버퍼를 초기화할 때 kmalloc 대신 kzalloc를 사용하지 않아 발생하는 취약점입니다. 이로 인해 예약된 필드에 초기화되지 않은 힙 데이터가 남게 되어 Samba가 보안 설명자를 거부하고 chmod 명령이 실패할 수 있습니다.

💡 쉬운 설명

컴퓨터가 보안 정보를 만들 때 사용하지 않는 빈 공간을 깨끗이 지우지 않아 발생하는 문제입니다. 이 빈 공간에 쓰레기 값이 남아 있으면 시스템이 보안 정보가 잘못되었다고 판단하여 권한 변경 작업이 실패할 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: smb: client: use kzalloc to zero-initialize security descriptor buffer Commit 62e7dd0a39c2d ("smb: common: change the data type of num_aces to le16") split struct smb_acl's __le32 num_aces field into __le16 num_aces and __le16 reserved. The reserved field corresponds to Sbz2 in the MS-DTYP ACL wire format, which must be zero [1]. When building an ACL descriptor in build_sec_desc(), we are using a kmalloc()'ed descriptor buffer and writing the fields explicitly using le16() writes now. This never writes to the 2 byte reserved field, leaving it as uninitialized heap data. When the reserved field happens to contain non-zero slab garbage, Samba rejects the security descriptor with "ndr_pull_security_descriptor failed: Range Error", causing chmod to fail with EINVAL. Change kmalloc() to kzalloc() to ensure the entire buffer is zero-initialized. [1] https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-dtyp/20233ed8-a6c6-4097-aafa-dd545ed24428

📍 영향받는 시스템

Linux kernel (SMB client component)

⚔️ 공격 벡터

로컬 시스템에서 권한 설정(chmod) 시 예기치 않은 오류 발생 (DoS 성격의 기능 장애)

🛡️ 대응 방법

Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.

🔧 검증 코드

출력된 커널 버전이 해당 패치가 적용된 버전인지 배포판 보안 공지를 통해 확인하십시오.

Shell / Script
uname -r

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Linux Kernel Samba