🇰🇷 한글 설명
리눅스 커널의 crypto 라이브러리 내 mpi_ec_init 함수에서 mpi_ec_ctx 구조체 초기화 시 일부 필드가 제대로 초기화되지 않는 취약점입니다. 이로 인해 구조체가 해제될 때 잘못된 포인터 참조가 발생하여 시스템 충돌(Crash)을 유발할 수 있습니다.
💡 쉬운 설명
컴퓨터의 암호화 계산을 담당하는 부분에서 메모리 정리 작업이 완벽하지 않아 발생하는 오류입니다. 특정 암호화 계산을 수행할 때 시스템이 갑자기 멈추거나 꺼질 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
crypto: lib/mpi - Fix unexpected pointer access in mpi_ec_init
When the mpi_ec_ctx structure is initialized, some fields are not
cleared, causing a crash when referencing the field when the
structure was released. Initially, this issue was ignored because
memory for mpi_ec_ctx is allocated with the __GFP_ZERO flag.
For example, this error will be triggered when calculating the
Za value for SM2 separately.
📍 영향받는 시스템
MPI(Multi-Precision Integer) 라이브러리를 사용하는 리눅스 커널 버전
⚔️ 공격 벡터
특정 암호화 알고리즘(예: SM2)을 사용하는 프로세스를 통해 메모리 오류 유도
🛡️ 대응 방법
리눅스 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인