🔍 CVE-2026-43336

7.5
CVSS Score
HIGH
2026-05-08
2026-05-15 19:57
✅ 완료

🇰🇷 한글 설명

Linux 커널의 ChaCha 암호화 함수에서 스택 변수 'permuted_state'를 명시적으로 제로화하지 않는 취약점입니다. ChaCha 순열이 역함수이기 때문에 permuted_state로부터 원래 상태와 암호화 키를 복원할 수 있습니다. 커널이 RNG를 포함한 민감한 정보에 대해 스택 제로화를 보안 베스트 프랙티스로 추구하므로, 이를 명시적으로 지워야 합니다.

💡 쉬운 설명

Linux 암호화 코드에서 중간 계산값이 메모리에 남아있어 암호화 키를 복원할 수 있는 문제입니다. 이 데이터를 함수 종료 시 명시적으로 삭제해야 합니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: lib/crypto: chacha: Zeroize permuted_state before it leaves scope Since the ChaCha permutation is invertible, the local variable 'permuted_state' is sufficient to compute the original 'state', and thus the key, even after the permutation has been done. While the kernel is quite inconsistent about zeroizing secrets on the stack (and some prominent userspace crypto libraries don't bother at all since it's not guaranteed to work anyway), the kernel does try to do it as a best practice, especially in cases involving the RNG. Thus, explicitly zeroize 'permuted_state' before it goes out of scope.

📍 영향받는 시스템

Linux kernel (특정 버전 미명시, 최신 패치 필요)

⚔️ 공격 벡터

로컬 공격자가 메모리 덤프, 사이드 채널 공격, 또는 임시 중단을 통해 스택의 permuted_state에 접근

🛡️ 대응 방법

Linux 커널을 최신 버전으로 업데이트하여 ChaCha 함수의 permuted_state 제로화 패치 적용

🔧 검증 코드

permuted_state 제로화 코드가 검색되면 패치 적용됨, 검색되지 않으면 미적용

Shell / Script
grep -r "memzero\|ZERO\|zero_memory" /lib/crypto/chacha* 2>/dev/null | grep -i permuted || echo 'Not patched'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Linux Kernel