🇰🇷 한글 설명
Linux 커널의 xfrm 구성 요소에서 ALLOCSPI 요청 처리 중 Use-After-Free 취약점이 발견되었습니다. 호환성(compat) 요청 처리 과정에서 중복된 메모리 할당 및 변환 작업으로 인해 잘못된 메모리 참조가 발생하여 시스템 안정성을 해칠 수 있습니다.
💡 쉬운 설명
컴퓨터가 데이터를 처리하는 과정에서 이미 사용이 끝난 메모리 공간을 다시 사용하려고 시도할 때 발생하는 오류입니다. 이로 인해 시스템이 갑자기 멈추거나 보안 문제가 생길 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
xfrm: fix compat ALLOCSPI request use-after-free
xfrm_state_netlink() builds the ALLOCSPI response with
dump_one_state(), which already calls alloc_compat() with the response
skb and header.
xfrm_alloc_userspi() then calls alloc_compat() again, but passes the
original request skb and its header. For a compat request, the
translator therefore interprets the 228-byte compat xfrm_userspi_info
as the 232-byte native layout and reads four bytes past the declared
payload. It also publishes the translated child through the request's
frag_list.
A multicast clone of the request shares skb_shared_info and can observe
that child. xfrm_user_rcv_msg() frees it after the request handler
returns, racing a compat receiver which may still be copying from it and
resulting in a use-after-free.
Remove the redundant conversion. The response keeps its correct compat
translation from dump_one_state(), and no child is attached to the
inbound request.
📍 영향받는 시스템
Linux Kernel (xfrm 모듈 사용 시스템)
⚔️ 공격 벡터
특수하게 조작된 xfrm_userspi_info 호환성 요청을 통해 메모리 오류 유도
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인하십시오.
💻 영향받는 소프트웨어
NVIDIA Cloud Gaming Guest Driver for Linux