🇰🇷 한글 설명
Linux 커널의 SCTP 프로토콜 구현 중 INIT 처리 과정에서 err_chunk 메모리 누수 취약점이 발견되었습니다. sctp_verify_init() 함수가 인식되지 않는 파라미터를 만났을 때 할당된 메모리가 특정 오류 경로 및 성공 경로에서 적절히 해제되지 않는 문제입니다.
💡 쉬운 설명
컴퓨터가 통신을 시작할 때 사용하는 특정 규칙(SCTP)에서 메모리를 사용한 뒤 제대로 돌려주지 않는 버그가 있습니다. 이 문제가 반복되면 시스템의 메모리가 점차 부족해질 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
sctp: fix err_chunk memory leaks in INIT handling
When sctp_verify_init() encounters unrecognized parameters, it allocates an
err_chunk to report them. However, this chunk is leaked in several code
paths:
1. In sctp_sf_do_5_1B_init(), if security_sctp_assoc_request() fails after
sctp_verify_init() has populated err_chunk, the function returns
immediately without freeing it.
2. In sctp_sf_do_unexpected_init(), the same leak occurs on the
security_sctp_assoc_request() failure path.
3. In sctp_sf_do_unexpected_init(), on the success path after copying
unrecognized parameters to the INIT-ACK, the function returns without
freeing err_chunk, unlike sctp_sf_do_5_1B_init() which properly frees
it.
Fix all three leaks by adding sctp_chunk_free(err_chunk) calls before
returning in the error paths and on the success path in
sctp_sf_do_unexpected_init().
📍 영향받는 시스템
Linux Kernel (SCTP 프로토콜을 사용하는 모든 시스템)
⚔️ 공격 벡터
조작된 SCTP INIT 패킷을 전송하여 커널 메모리 누수를 유발하는 방식
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
현재 실행 중인 커널 버전을 확인하여 해당 취약점이 수정된 패치 버전인지 확인합니다.