🇰🇷 한글 설명
Linux 커널의 s390/crypto 모듈에서 AES CTR 및 GCM 알고리즘 사용 시 임시 버퍼를 제대로 삭제(scrub)하지 않는 취약점이 발견되었습니다. 이로 인해 암호화 과정에서 사용된 민감한 데이터가 메모리에 남아 노출될 위험이 있습니다.
💡 쉬운 설명
암호화 작업을 할 때 사용했던 임시 메모리 공간을 깨끗이 지우지 않아, 중요한 정보가 메모리에 남을 수 있는 문제입니다. 이 정보가 유출되면 보안에 문제가 생길 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
s390/crypto: Fix missing scrub of temp buffers with AES ctr and gcm algorithm
In function ctr_aes_crypt() there is a buffer used to process
remaining bytes < AES_BLOCK_SIZE. This buffer was not scrubbed and
thus could lead to expose of unwanted data. When the buffer is used
explicitly scrub it at the end of the code block to avoid exposure of
maybe sensitive data.
In a similar way the function gcm_aes_crypt() hat an error path where
the CPACF param block was not scrubbed. Instead of return early now
these error paths go to end of function where explicit scrubbing is
done. Similar with the buffers which are part of the gcm_sg_walk
structs from the variables gw_in and gw_out.
📍 영향받는 시스템
s390 아키텍처를 사용하는 Linux 커널 (AES CTR/GCM 알고리즘 사용 시)
⚔️ 공격 벡터
메모리 덤프 또는 로컬 권한을 가진 공격자가 잔류하는 민감 데이터를 읽어내는 방식
🛡️ 대응 방법
해당 취약점이 수정된 최신 버전의 Linux 커널로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 패치가 적용된 보안 업데이트 버전인지 확인하십시오.