🔍 CVE-2025-40182

7.8
CVSS Score
HIGH
2025-11-12
2026-10-19 21:10
✅ 완료

🇰🇷 한글 설명

리눅스 커널의 skcipher 암호화 알고리즘 프레임워크에서 요청 크기(reqsize) 처리 방식의 오류로 인해 메모리 오염 및 시스템 충돌이 발생할 수 있는 취약점입니다. 기존의 구조체 변경 과정에서 skcipher 알고리즘의 reqsize가 적절히 초기화되지 않아 발생한 문제입니다.

💡 쉬운 설명

암호화 작업을 처리할 때 필요한 데이터 크기를 잘못 계산하여 컴퓨터의 메모리가 엉망이 되거나 시스템이 갑자기 꺼질 수 있는 문제입니다. 이로 인해 시스템이 멈추거나 보안이 취약해질 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: crypto: skcipher - Fix reqsize handling Commit afddce13ce81d ("crypto: api - Add reqsize to crypto_alg") introduced cra_reqsize field in crypto_alg struct to replace type specific reqsize fields. It looks like this was introduced specifically for ahash and acomp from the commit description as subsequent commits add necessary changes in these alg frameworks. However, this is being recommended for use in all crypto algs [1] instead of setting reqsize using crypto_*_set_reqsize(). Using cra_reqsize in skcipher algorithms, hence, causes memory corruptions and crashes as the underlying functions in the algorithm framework have not been updated to set the reqsize properly from cra_reqsize. [2] Add proper set_reqsize calls in the skcipher init function to properly initialize reqsize for these algorithms in the framework. [1]: https://lore.kernel.org/linux-crypto/[email protected]/ [2]: https://gist.github.com/Pratham-T/24247446f1faf4b7843e4014d5089f6b

📍 영향받는 시스템

Linux Kernel (skcipher 프레임워크를 사용하는 버전)

⚔️ 공격 벡터

특정 암호화 요청 크기를 조작하여 메모리 오염을 유도하는 방식

🛡️ 대응 방법

리눅스 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.

🔧 검증 코드

출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인하십시오.

Shell / Script
uname -r

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

💻 영향받는 소프트웨어

Linux Kernel