🔍 CVE-2024-35882

7.5
CVSS Score
HIGH
2024-05-19
2026-08-04 11:18
✅ 완료

🇰🇷 한글 설명

Linux 커널의 SUNRPC 구성 요소에서 RPC-over-TCP 사용 시 서버 측 메모리 누수가 발생하는 취약점입니다. 특정 커밋 이후 sock_sendmsg() 호출 시 레코드 마커 페이지 조각이 적절히 해제되지 않아 메모리 고갈을 유발합니다.

💡 쉬운 설명

NFS 서버를 운영할 때 사용하지 않는 메모리가 계속 쌓여서 결국 서버가 멈출 수 있는 문제입니다. 서버가 며칠 동안 작동하다가 메모리가 부족해져서 성능이 떨어지거나 꺼질 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: SUNRPC: Fix a slow server-side memory leak with RPC-over-TCP Jan Schunk reports that his small NFS servers suffer from memory exhaustion after just a few days. A bisect shows that commit e18e157bb5c8 ("SUNRPC: Send RPC message on TCP with a single sock_sendmsg() call") is the first bad commit. That commit assumed that sock_sendmsg() releases all the pages in the underlying bio_vec array, but the reality is that it doesn't. svc_xprt_release() releases the rqst's response pages, but the record marker page fragment isn't one of those, so it is never released. This is a narrow fix that can be applied to stable kernels. A more extensive fix is in the works.

📍 영향받는 시스템

SUNRPC를 사용하는 Linux 커널 (e18e157bb5c8 커밋이 포함된 버전)

⚔️ 공격 벡터

직접적인 공격보다는 지속적인 RPC-over-TCP 요청을 통해 서버의 메모리를 점진적으로 고갈시키는 방식

🛡️ 대응 방법

해당 취약점이 수정된 최신 안정화 Linux 커널 버전으로 업데이트

🔧 검증 코드

출력된 커널 버전이 취약점이 수정된 최신 패치 버전인지 배포판 보안 공지를 통해 확인

Shell / Script
uname -r

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Linux Kernel