🔍 CVE-2025-21711

5.5
CVSS Score
MEDIUM
2025-02-27
2026-05-12 13:16
✅ 완료

🇰🇷 한글 설명

Linux kernel의 net/rose 모듈에서 rose_setsockopt() 함수가 예측 불가능하게 큰 인자를 받아 곱셈 연산할 때 정수 오버플로우가 발생할 수 있습니다. 이를 통해 로컬 공격자가 커널 메모리 손상을 유발할 수 있습니다.

💡 쉬운 설명

Linux의 네트워크 기능에서 과도하게 큰 숫자 처리 시 오류 발생 가능. 로컬 사용자가 이를 악용해 시스템 불안정을 야기할 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: net/rose: prevent integer overflows in rose_setsockopt() In case of possible unpredictably large arguments passed to rose_setsockopt() and multiplied by extra values on top of that, integer overflows may occur. Do the safest minimum and fix these issues by checking the contents of 'opt' and returning -EINVAL if they are too large. Also, switch to unsigned int and remove useless check for negative 'opt' in ROSE_IDLE case.

📍 영향받는 시스템

Linux kernel (net/rose 모듈 활성화된 모든 배포판)

⚔️ 공격 벡터

로컬 공격자가 rose 소켓에 대해 setsockopt() 호출 시 특수한 값으로 정수 오버플로우 유발

🛡️ 대응 방법

Linux kernel을 최신 버전으로 업데이트하여 정수 오버플로우 검사 로직 적용

🔧 검증 코드

kernel 버전을 확인하고 rose 모듈이 활성화되어 있는지 확인하며, 최신 패치 버전 적용 여부를 판단합니다.

Shell / Script
uname -r | grep -E '[0-9]+\.[0-9]+' && cat /proc/net/rose 2>/dev/null | head -1

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Linux Kernel