🔍 CVE-2026-45959

7.8
CVSS Score
HIGH
2026-05-27
2026-10-19 20:18
✅ 완료

🇰🇷 한글 설명

Linux 커널의 crypto: ccp 구성 요소에서 kfree를 잘못된 방식으로 사용하여 발생하는 크래시 취약점입니다. 로컬 포인터 변수에 __cleanup(kfree) 속성을 잘못 적용하여 메모리 주소가 아닌 스택 주소가 해제되면서 시스템 충돌이 발생할 수 있습니다.

💡 쉬운 설명

컴퓨터 메모리를 정리하는 과정에서 엉뚱한 위치를 지우려고 시도하여 시스템이 갑자기 멈추거나 꺼지는 문제입니다. 잘못된 명령어를 사용하여 메모리 관리 체계에 혼란을 주는 오류입니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: crypto: ccp - Fix a crash due to incorrect cleanup usage of kfree Annotating a local pointer variable, which will be assigned with the kmalloc-family functions, with the `__cleanup(kfree)` attribute will make the address of the local variable, rather than the address returned by kmalloc, passed to kfree directly and lead to a crash due to invalid deallocation of stack address. According to other places in the repo, the correct usage should be `__free(kfree)`. The code coincidentally compiled because the parameter type `void *` of kfree is compatible with the desired type `struct { ... } **`.

📍 영향받는 시스템

Linux kernel (crypto: ccp 모듈을 사용하는 시스템)

⚔️ 공격 벡터

특정 암호화 작업 수행 시 메모리 해제 오류를 유발하여 시스템 서비스 거부(DoS) 유도

🛡️ 대응 방법

Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 __free(kfree) 속성이 적용된 수정본을 반영해야 합니다.

🔧 검증 코드

출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인합니다.

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