🇰🇷 한글 설명
Linux 커널의 pcrypt 암호화 모듈에서 병렬 처리가 실패하여 폴백(fallback) 모드로 전환될 때, 이전의 완료 콜백 함수가 그대로 남아있는 취약점이 발견되었습니다. 이로 인해 병렬 처리에 등록되지 않은 요청임에도 불구하고 비동기 완료 콜백이 호출되어 시스템 오류를 유발할 수 있습니다.
💡 쉬운 설명
암호화 작업을 빠르게 처리하려고 시도하다가 실패했을 때, 뒷정리가 제대로 되지 않아 시스템이 혼란을 겪는 문제입니다. 이로 인해 잘못된 명령이 실행되어 시스템이 불안정해질 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
crypto: pcrypt - restore callback for non-parallel fallback
pcrypt installs pcrypt_aead_done() on the child AEAD request before
trying to submit it through padata. If padata_do_parallel() returns
-EBUSY, pcrypt falls back to calling the child AEAD directly.
That fallback must not keep the padata completion callback. Otherwise
an asynchronous completion runs pcrypt_aead_done() even though the
request was never enrolled in padata.
Restore the original request callback and callback data before calling
the child AEAD directly. This keeps the fallback path aligned with a
direct AEAD request while leaving the parallel path unchanged.
📍 영향받는 시스템
Linux Kernel (pcrypt 모듈을 사용하는 버전)
⚔️ 공격 벡터
특정 암호화 요청을 통해 병렬 처리 실패를 유도하여 비동기 콜백 오류를 발생시킴
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인