CVE-2026-46139
- 공개
- 2026년 5월 28일
- 수정
- 2026년 11월 7일
- 조회
- 0
- 상태
- Undergoing Analysis
개요
이 취약점이 무엇인지
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
실제 악용 사례 · 아직 확인된 사례가 없어요
CISA의 KEV 카탈로그(실제 공격에 악용된 취약점 목록)에 아직 올라와 있지 않아요. 다만 ‘앞으로도 안전하다’는 뜻은 아니니 심각도와 EPSS를 함께 확인하세요.
패치 현황
어떤 버전이 위험하고, 몇 버전으로 올리면 되는지
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| linux_kernellinux | 6.12.23 | ≤ | 취약 | < | 6.12.88 | 6.12.88이상 |
| 6.13.11 | ≤ | 취약 | < | 6.14 | 6.14이상 | |
| 6.14.1 | ≤ | 취약 | < | 6.18.30 | 6.18.30이상 | |
| 6.19 | ≤ | 취약 | < | 7.0.7 | 7.0.7이상 | |
| 이 버전만 | 취약 | = | 6.14 | 벤더 공지 확인 | ||
| 이 버전만 | 취약 | = | 6.14 rc6 | 벤더 공지 확인 | ||
| 이 버전만 | 취약 | = | 6.14 rc7 | 벤더 공지 확인 | ||
| 이 버전만 | 취약 | = | 7.1 rc1 | 벤더 공지 확인 | ||
| 이 버전만 | 취약 | = | 7.1 rc2 | 벤더 공지 확인 | ||
NVD 분석 기준. 시작과 끝 사이 버전이 취약해요. ‘이 버전 이상으로’는 끝이 ‘<’로 적힌 경우에만 알 수 있어요.
할당 기관(CNA)이 적은 버전 8줄도 보기
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| LinuxLinux | 6.12.23 | ≤ | 취약 | < | 6.12.88 | 6.12.88이상 |
| 6.13.11 | ≤ | 취약 | < | 6.14 | 6.14이상 | |
| 이 버전만 | 취약 | = | 6.14 | 벤더 공지 확인 | ||
| 최초 버전 | ≤ | 영향 없음 | < | 6.14 | — | |
| 6.12.88 | ≤ | 영향 없음 | ≤ | 6.12.* | — | |
| 6.18.30 | ≤ | 영향 없음 | ≤ | 6.18.* | — | |
| 7.0.7 | ≤ | 영향 없음 | ≤ | 7.0.* | — | |
| 7.1 | ≤ | 영향 없음 | ≤ | 최신 버전 | — | |
참고 링크
NVD에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.
패치5
- git.kernel.org/stable/c/4c3ed344a970aad51388ac3b0145b98318f0e21f
- git.kernel.org/stable/c/5e489c6c47a2ac15edbaca153b9348e42c1eacab
- git.kernel.org/stable/c/941a1e6eb35440336913afc88a82103291956d5d
- git.kernel.org/stable/c/9bdb2ca31368b7671949dfb94a5d57ffccd01edd
- git.kernel.org/stable/c/be1ef9512a3f5a755895c24f31b334342f4aa15b