🇰🇷 한글 설명
Linux 커널의 aspeed 암호화 드라이버에서 devres 관리 방식과 수동 해제 방식이 충돌하여 발생하는 이중 해제(double free) 취약점입니다. 오류 경로 및 드라이버 제거 시 클록을 중복으로 해제함으로써 시스템 불안정성을 초래할 수 있습니다.
💡 쉬운 설명
컴퓨터 부품을 관리하는 프로그램이 이미 정리된 자원을 다시 정리하려고 시도하면서 발생하는 오류입니다. 이로 인해 시스템이 갑자기 멈추거나 예기치 않게 종료될 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
crypto: aspeed - fix double free caused by devm
The clock obtained via devm_clk_get_enabled() is automatically managed
by devres and will be disabled and freed on driver detach. Manually
calling clk_disable_unprepare() in error path and remove function
causes double free.
Remove the manual clock cleanup in both aspeed_acry_probe()'s error
path and aspeed_acry_remove().
📍 영향받는 시스템
aspeed 암호화 드라이버를 사용하는 Linux 커널 버전
⚔️ 공격 벡터
로컬 공격자가 특정 드라이버 오류 경로를 유도하여 시스템 충돌을 일으킬 수 있음
🛡️ 대응 방법
aspeed_acry_probe 및 aspeed_acry_remove 함수에서 수동 클록 해제 코드가 제거된 최신 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 패치가 적용된 최신 보안 업데이트 버전인지 확인