🇰🇷 한글 설명
Linux 커널의 crypto/authencesn 모듈에서 ESP/ESN 규격보다 짧은 AAD(연관 데이터)를 처리할 때 발생하는 취약점입니다. 잘못된 길이의 입력이 들어올 경우 메모리 경계를 넘어 접근하여 NULL 포인터 역참조를 유발하며, 이는 커널 패닉 및 시스템 서비스 거부(DoS)로 이어질 수 있습니다.
💡 쉬운 설명
데이터의 길이를 확인하지 않아 발생하는 오류로, 공격자가 특수하게 조작된 짧은 데이터를 보내면 컴퓨터 시스템이 갑자기 멈추거나 꺼질 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
crypto: authencesn - reject too-short AAD (assoclen<8) to match ESP/ESN spec
authencesn assumes an ESP/ESN-formatted AAD. When assoclen is shorter than
the minimum expected length, crypto_authenc_esn_decrypt() can advance past
the end of the destination scatterlist and trigger a NULL pointer dereference
in scatterwalk_map_and_copy(), leading to a kernel panic (DoS).
Add a minimum AAD length check to fail fast on invalid inputs.
📍 영향받는 시스템
ESP/ESN 규격을 사용하는 Linux 커널 (authencesn 모듈 포함 버전)
⚔️ 공격 벡터
조작된 짧은 길이의 AAD(Associated Data)를 포함한 암호화 패킷 전송
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 AAD 최소 길이 검증 로직을 적용해야 합니다.
🔧 검증 코드
출력된 커널 버전을 확인하여 해당 취약점이 수정된 최신 패치 버전인지 확인합니다.