🇰🇷 한글 설명
Linux 커널의 SCTP 프로토콜 구현 중 sysctl auth_enable 설정 과정에서 발생하는 취약점입니다. 현재 실행 중인 프로세스의 nsproxy를 참조하는 방식이 NULL 포인터 역참조를 유발하여 시스템 오류(Oops)를 일으킬 수 있습니다.
💡 쉬운 설명
리눅스 운영체제의 네트워크 설정 과정에서 잘못된 메모리 주소를 참조하여 시스템이 갑자기 멈추거나 오류가 발생할 수 있는 문제입니다. 특정 상황에서 시스템이 예상치 못한 동작을 하여 안정성을 해칠 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
sctp: sysctl: auth_enable: 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 프로토콜을 사용하는 Linux 커널 버전
⚔️ 공격 벡터
특정 시스템 호출(예: acct(2))을 통해 프로세스가 종료되는 시점에 네트워크 설정을 시도하여 NULL 포인터 역참조 유도
🛡️ 대응 방법
SCTP 관련 보안 패치가 적용된 최신 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 보안 패치 버전 이후인지 확인