🇰🇷 한글 설명
Linux 커널의 RDMA/uverbs 구성 요소에서 레거시 번들에 ioctl 메서드 요소가 없을 경우 발생하는 취약점입니다. 잘못된 프로바이더 입력으로 인해 검증 오류가 발생하면 uverbs_get_handler_fn() 함수가 초기화되지 않은 메서드 포인터를 참조하여 시스템 오류를 유발할 수 있습니다.
💡 쉬운 설명
리눅스 커널의 특정 통신 기능에서 잘못된 데이터가 들어올 경우, 컴퓨터가 존재하지 않는 주소를 참조하여 문제가 생길 수 있는 결함입니다. 이로 인해 시스템이 불안정해지거나 예상치 못한 동작을 할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
RDMA/uverbs: Guard legacy bundles without method_elm
The legacy write() path dispatches through a uverbs_api_write_method, but
the uverbs_attr_bundle passed to provider code does not have an ioctl
method element. If malformed provider input causes the common uverbs
validation code to emit an error message, uverbs_get_handler_fn()
dereferences the uninitialized method_elm pointer.
Initialize method_elm explicitly for legacy bundles and make
uverbs_get_handler_fn() return NULL when no ioctl method is present. The
legacy dispatcher continues to use its local write method, while the ioctl
path continues to use the registered ioctl handler.
📍 영향받는 시스템
RDMA/uverbs를 사용하는 Linux 커널 버전
⚔️ 공격 벡터
조작된 RDMA 프로바이더 입력을 통해 uverbs 검증 로직을 트리거하여 잘못된 메모리 참조 유도
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 method_elm 초기화 및 NULL 체크 로직 적용
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인하십시오.