🔍 CVE-2025-37879

9.8
CVSS Score
CRITICAL
2025-05-09
2026-07-30 06:22
✅ 완료

🇰🇷 한글 설명

Linux 커널의 9p 네트워크 프로토콜 구현에서 읽기/쓰기 응답 처리 시 부호가 있는 정수(signed integer)를 사용하여 발생하는 취약점입니다. 서버가 잘못된 음수 값을 반환할 경우 조건 검사를 우회하여 메모리 오류를 유발할 수 있으며, 이를 방지하기 위해 변수를 부호 없는 정수(unsigned integer)로 수정하였습니다.

💡 쉬운 설명

컴퓨터가 데이터를 주고받을 때 숫자를 잘못 계산하여 발생하는 오류입니다. 나쁜 서버가 가짜 숫자를 보내면 시스템이 혼란에 빠져 멈추거나 오류가 날 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: 9p/net: fix improper handling of bogus negative read/write replies In p9_client_write() and p9_client_read_once(), if the server incorrectly replies with success but a negative write/read count then we would consider written (negative) <= rsize (positive) because both variables were signed. Make variables unsigned to avoid this problem. The reproducer linked below now fails with the following error instead of a null pointer deref: 9pnet: bogus RWRITE count (4294967295 > 3)

📍 영향받는 시스템

9p 네트워크 프로토콜을 사용하는 Linux 커널 버전

⚔️ 공격 벡터

악의적인 9p 서버가 조작된 음수 읽기/쓰기 응답을 클라이언트에 전송

🛡️ 대응 방법

Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트

🔧 검증 코드

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

Shell / Script
uname -r

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Linux Kernel