🇰🇷 한글 설명
Linux 커널의 atmel-ecc 드라이버에서 하드웨어 ECDH 연산 시 공개 키가 없는 상태로 진행되는 취약점이 발견되었습니다. atmel_ecdh_compute_shared_secret 함수가 현재 tfm을 위해 생성되지 않은 개인 키를 사용할 수 있는 문제를 방지하기 위해 공개 키 존재 여부를 확인하는 로직이 추가되었습니다.
💡 쉬운 설명
암호화 키를 만들 때 짝이 맞는 공개 키가 있는지 확인하지 않아 보안 오류가 발생할 수 있는 문제입니다. 이를 통해 잘못된 키가 사용되어 암호화가 깨지는 것을 방지합니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
crypto: atmel-ecc - reject hardware ECDH without a public key
The hardware ECDH path in atmel_ecdh_compute_shared_secret() uses the
private key stored in the device. However, the public key is cached only
after atmel_ecdh_set_secret() successfully generated that private key
for the current tfm.
atmel_ecdh_generate_public_key() already rejects requests when no public
key is cached. Add the same check to atmel_ecdh_compute_shared_secret()
to prevent the device from using a private key that was not generated
for the current tfm.
📍 영향받는 시스템
Linux kernel (atmel-ecc driver 사용 시스템)
⚔️ 공격 벡터
공개 키가 캐시되지 않은 상태에서 하드웨어 ECDH 공유 비밀값 계산을 요청하여 잘못된 키 사용 유도
🛡️ 대응 방법
atmel-ecc 드라이버의 보안 패치가 적용된 최신 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이상인지 확인