🇰🇷 한글 설명
Linux 커널의 RDMA/core 구성 요소에서 NLA_STRING 속성이 널(NULL) 종료 문자의 존재를 확인하지 않아 발생하는 취약점입니다. 이로 인해 문자열 비교 과정에서 메모리 경계를 벗어나는 문제가 발생할 수 있으며, NLA_NUL_STRING을 사용하여 이를 해결했습니다.
💡 쉬운 설명
컴퓨터가 글자를 읽을 때 문장의 끝을 알려주는 표시가 없어서, 엉뚱한 메모리 영역까지 계속 읽어버리는 문제입니다. 이로 인해 시스템이 불안정해지거나 보안 문제가 생길 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
RDMA/core: Prefer NLA_NUL_STRING
These attributes are evaluated as c-string (passed to strcmp), but
NLA_STRING doesn't check for the presence of a \0 terminator.
Either this needs to switch to nla_strcmp() and needs to adjust printf fmt
specifier to not use plain %s, or this needs to use NLA_NUL_STRING.
As the code has been this way for long time, it seems to me that userspace
does include the terminating nul, even tough its not enforced so far, and
thus NLA_NUL_STRING use is the simpler solution.
📍 영향받는 시스템
RDMA 기능을 사용하는 Linux 커널 버전
⚔️ 공격 벡터
사용자 공간(Userspace)에서 적절한 종료 문자가 없는 악의적인 속성 값을 RDMA 코어로 전달
🛡️ 대응 방법
NLA_NUL_STRING이 적용된 최신 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 패치된 최신 보안 업데이트 버전인지 확인
📊 CVSS Vector String
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
💻 영향받는 소프트웨어
NVIDIA Cloud Gaming Guest Driver for Linux