🇰🇷 한글 설명
리눅스 커널의 SCTP 프로토콜 구현 중 sysctl: udp_port 처리 과정에서 발생하는 취약점입니다. 현재 작업(current)의 nsproxy를 참조할 때 발생할 수 있는 NULL 포인터 역참조 문제를 해결하여 시스템 오류(Oops)를 방지합니다.
💡 쉬운 설명
컴퓨터의 핵심 운영체제인 리눅스에서 특정 네트워크 기능을 사용할 때, 잘못된 메모리 주소를 참조하여 시스템이 갑자기 멈추거나 오류가 발생할 수 있는 문제입니다. 이 패치를 통해 시스템이 비정상적으로 종료되는 것을 막을 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
sctp: sysctl: udp_port: avoid using current->nsproxy
As mentioned in a previous commit of this series, using the 'net'
structure via 'current' is not recommended for different reasons:
- Inconsistency: getting info from the reader's/writer's netns vs only
from the opener's netns.
- current->nsproxy can be NULL in some cases, resulting in an 'Oops'
(null-ptr-deref), e.g. when the current task is exiting, as spotted by
syzbot [1] using acct(2).
The 'net' structure can be obtained from the table->data using
container_of().
Note that table->data could also be used directly, but that would
increase the size of this fix, while 'sctp.ctl_sock' still needs to be
retrieved from 'net' structure.
📍 영향받는 시스템
SCTP 프로토콜을 사용하는 리눅스 커널 버전 (패치 적용 전 버전)
⚔️ 공격 벡터
특정 네트워크 작업(acct(2) 등)을 수행하는 과정에서 의도적으로 NULL 포인터를 유도하여 시스템 오류 유발
🛡️ 대응 방법
리눅스 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전을 확인하여 해당 취약점이 해결된 최신 패치 버전인지 확인합니다.