🇰🇷 한글 설명
Linux 커널의 s390/zcrypt 모듈에서 EP11 CPRB 길이 및 오버플로우 검증이 미흡하여 발생하는 취약점입니다. 입력값 검증 부재와 산술 오버플로우로 인해 버퍼 오버플로우가 발생할 수 있습니다.
💡 쉬운 설명
컴퓨터가 데이터를 처리할 때 크기를 제대로 확인하지 않아, 정해진 공간보다 더 많은 데이터를 밀어넣을 수 있는 문제입니다. 이를 통해 해커가 시스템의 제어권을 뺏거나 오류를 일으킬 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
s390/zcrypt: Improve EP11 CPRB length and overflow checks
The xcrb_msg_to_type6_ep11cprb_msgx() function lacks proper input
validation, creating security vulnerabilities:
1. Missing minimum size validation: The ep11_cprb structure and
subsequent payload fields (pld_tag, pld_lenfmt) are copied from
userspace without verifying sufficient buffer length.
2. Arithmetic overflow in length calculations: CEIL4 alignment could
overflow, bypassing size checks and enabling buffer overflows.
3. The payload is asn1 encoded but the function just uses a simple c
struct overlay to access some fields of the payload.
Fix by using size_t for length calculations, adding U32_MAX boundary
checks after alignment, and validating minimum request size and
minimum reply size before copying from userspace. Do a very simple
asn1 parsing of the payload up to the function value field.
📍 영향받는 시스템
Linux kernel (s390/zcrypt 모듈 사용 환경)
⚔️ 공격 벡터
사용자 공간(userspace)에서 조작된 크기의 데이터를 커널로 전달하여 버퍼 오버플로우 유도
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인
📊 CVSS Vector String
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
💻 영향받는 소프트웨어
IBM Security Verify Access