🔍 CVE-2025-21640

7.1
CVSS Score
HIGH
2025-01-19
2026-10-15 22:18
✅ 완료

🇰🇷 한글 설명

리눅스 커널의 SCTP 프로토콜 구현 중 sysctl 설정 과정에서 현재 프로세스의 네임스페이스 정보를 참조할 때 발생할 수 있는 취약점입니다. 특정 상황에서 nsproxy가 NULL일 경우 Null Pointer Dereference가 발생하여 시스템 오류(Oops)를 유발할 수 있습니다.

💡 쉬운 설명

리눅스 운영체제의 네트워크 설정 과정에서 잘못된 메모리 주소를 참조하여 시스템이 갑자기 멈추거나 오류가 발생할 수 있는 문제입니다. 시스템이 비정상적으로 종료될 수 있는 위험이 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: sctp: sysctl: cookie_hmac_alg: 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, as this is the only member needed from the 'net' structure, but that would increase the size of this fix, to use '*data' everywhere 'net->sctp.sctp_hmac_alg' is used.

📍 영향받는 시스템

SCTP 프로토콜을 사용하는 리눅스 커널 버전

⚔️ 공격 벡터

특정 시스템 호출(예: acct(2))을 통해 프로세스가 종료되는 시점에 네트워크 설정을 시도하여 Null Pointer Dereference 유도

🛡️ 대응 방법

SCTP 관련 보안 패치가 적용된 최신 리눅스 커널로 업데이트

🔧 검증 코드

출력된 커널 버전을 확인하여 해당 취약점이 해결된 최신 패치 버전인지 확인

Shell / Script
uname -r

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H

💻 영향받는 소프트웨어

Linux Kernel