🇰🇷 한글 설명
Linux 커널의 s390/zcrypt 구성 요소에서 CCA 클리어 키 임포트 시 메모리 스크러빙(데이터 삭제)이 누락되는 취약점이 발견되었습니다. 이로 인해 CPRB 헬퍼 함수가 사용한 내부 버퍼에 암호화 키와 같은 민감한 정보가 남을 수 있으며, 메모리 재사용 시 해당 데이터가 노출될 위험이 있습니다.
💡 쉬운 설명
컴퓨터가 중요한 비밀번호나 암호 키를 사용한 뒤 메모리에서 깨끗이 지우지 않아, 나중에 다른 프로그램이 이 메모리를 읽을 때 비밀 정보가 유출될 수 있는 문제입니다. 이번 패치는 사용이 끝난 메모리 영역을 확실히 비워주는 기능을 추가하여 이를 방지합니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
s390/zcrypt: Fix missing mem scrub at clear key import in cca_clr2cipherkey()
The helper function _ip_cprb_helper() uses internal buffer memory for
building and processing CPRBs. After use this buffer was never
scrubbed which could lead to leaving for example clear key material in
memory which could be exposed via tricky reuse of this same memory.
Extend the _ip_cprb_helper() function with another parameter 'scrub'
used to steer scrubbing of this buffer. So now the caller has the
opportunity to decide if scrubbing is needed or not.
Extend the clear key to secure key token import process in function
cca_clr2cipherkey() to tell the helper function from above to scrub
the cprb buffer when the clear key value is part of the request data.
Add explicit scrubbing on return from function cca_clr2cipherkey() for
the random EXOR buffer and the cprb buffer.
Overall this cleans the internal used buffer in case of clear key
import to prevent sensitive data to get exposed.
📍 영향받는 시스템
Linux kernel (s390 architecture, zcrypt module)
⚔️ 공격 벡터
메모리 재사용 취약점을 이용한 민감한 데이터(암호 키 등) 유출
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인하십시오.