🇰🇷 한글 설명
Linux 커널의 cxl/region 구성 중 find_pos_and_ways() 함수 오류 경로에서 Use-After-Free 취약점이 발견되었습니다. 오류 메시지를 출력하기 전에 스위치 디코더의 참조를 먼저 해제하여, 디코더 이름에 접근할 때 이미 해제된 메모리를 참조할 수 있는 문제입니다.
💡 쉬운 설명
컴퓨터가 오류를 보고하기 위해 정보를 읽으려 할 때, 이미 그 정보가 담긴 메모리가 삭제되어 발생하는 문제입니다. 이로 인해 시스템이 갑자기 멈추거나 보안 문제가 생길 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
cxl/region: Fix use-after-free in find_pos_and_ways() error path
The error path releases its reference to a switch decoder before
logging an error that includes the decoder name. If the released
reference is the last one, the decoder can be freed before the error
message accesses its name.
Drop the reference after the error is reported.
📍 영향받는 시스템
CXL(Compute Express Link) 기능을 사용하는 Linux 커널 버전
⚔️ 공격 벡터
CXL 장치 구성 중 특정 오류를 유도하여 메모리 해제 후 접근(Use-After-Free) 발생
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인하십시오.