🇰🇷 한글 설명
Linux 커널의 rxrpc 구성 요소에서 rxrpc_verify_data 함수가 데이터 길이를 확인하는 과정에서 메모리 할당을 누락하는 취약점이 발견되었습니다. 이로 인해 메모리 할당 실패 시 NULL 포인터 역참조가 발생하여 시스템 장애나 보안 위협을 초래할 수 있습니다.
💡 쉬운 설명
리눅스 시스템의 특정 통신 기능에서 데이터를 처리할 때 필요한 메모리를 제대로 준비하지 못하는 문제가 있습니다. 이로 인해 컴퓨터가 갑자기 멈추거나 오류가 발생할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
rxrpc: rxrpc_verify_data ensure rx_dec_buffer alloc
rxrpc_recvmsg_data() calls rxrpc_verify_data() whenever the
rxrpc_call.rx_dec_buffer is unallocated and assumes that upon
successful return that rx_dec_buffer must be allocated.
However, rxrpc_verify_data() does not request an allocation if
the rxrpc_skb_priv.len is zero.
In addition, failure to allocate rx_dec_buffer will result in a
call to skb_copy_bits() with a NULL destination which can
trigger a NULL pointer dereference.
To prevent these issues rxrpc_verify_data() is modified to
always attempt to allocate the rxrpc_call.rx_dec_buffer if it
is NULL.
This issue was identified with assistance of a private
sashiko instance.
📍 영향받는 시스템
Linux kernel (rxrpc module 사용 시스템)
⚔️ 공격 벡터
조작된 네트워크 패킷을 전송하여 rxrpc 모듈의 메모리 할당 로직을 트리거함
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 취약점이 해결된 최신 패치 버전인지 확인