🇰🇷 한글 설명
Linux 커널의 SCTP 프로토콜 구현 중 sctp_rcv_ootb 함수에서 skb_header_pointer가 NULL을 반환할 경우 이를 확인하지 않고 참조하여 발생하는 Null Pointer Dereference 취약점입니다. 이로 인해 시스템 충돌이나 커널 패닉이 발생할 수 있습니다.
💡 쉬운 설명
데이터를 처리하는 과정에서 빈 값(NULL)이 들어왔을 때 이를 확인하지 않고 바로 사용하려고 시도하여 컴퓨터 시스템이 멈추거나 오류가 발생하는 문제입니다. 네트워크 패킷을 처리하는 핵심 부분에서 발생하므로 시스템 안정성에 영향을 줄 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
sctp: break out if skb_header_pointer returns NULL in sctp_rcv_ootb
We should always check if skb_header_pointer's return is NULL before
using it, otherwise it may cause null-ptr-deref, as syzbot reported:
KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]
RIP: 0010:sctp_rcv_ootb net/sctp/input.c:705 [inline]
RIP: 0010:sctp_rcv+0x1d84/0x3220 net/sctp/input.c:196
Call Trace:
<IRQ>
sctp6_rcv+0x38/0x60 net/sctp/ipv6.c:1109
ip6_protocol_deliver_rcu+0x2e9/0x1ca0 net/ipv6/ip6_input.c:422
ip6_input_finish+0x62/0x170 net/ipv6/ip6_input.c:463
NF_HOOK include/linux/netfilter.h:307 [inline]
NF_HOOK include/linux/netfilter.h:301 [inline]
ip6_input+0x9c/0xd0 net/ipv6/ip6_input.c:472
dst_input include/net/dst.h:460 [inline]
ip6_rcv_finish net/ipv6/ip6_input.c:76 [inline]
NF_HOOK include/linux/netfilter.h:307 [inline]
NF_HOOK include/linux/netfilter.h:301 [inline]
ipv6_rcv+0x28c/0x3c0 net/ipv6/ip6_input.c:297
📍 영향받는 시스템
SCTP 프로토콜이 활성화된 Linux 커널 버전 (패치 적용 전 버전)
⚔️ 공격 벡터
조작된 SCTP 네트워크 패킷을 전송하여 커널의 Null Pointer Dereference 유도
🛡️ 대응 방법
SCTP 관련 보안 패치가 적용된 최신 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 배포판의 보안 패치 버전인지 확인