🔍 CVE-2025-40175

0.0
CVSS Score
UNKNOWN
2025-11-12
2026-10-19 21:10
✅ 완료

🇰🇷 한글 설명

Linux 커널의 idpf 드라이버에서 PTP(Precision Time Protocol) 흐름 처리 중 남은 SKB(Socket Buffer)를 제대로 정리하지 못하는 취약점이 발견되었습니다. PTP 애플리케이션 실행 중 리셋 등이 발생하여 할당된 SKB가 소비되지 않을 경우, 참조 카운터가 해제되지 않아 메모리 누수가 발생할 수 있습니다.

💡 쉬운 설명

네트워크 시간을 맞추는 기능이 작동하는 중에 오류가 생기면, 컴퓨터의 메모리가 제대로 비워지지 않고 계속 쌓이는 문제가 있습니다. 이 문제가 반복되면 시스템의 메모리가 부족해질 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: idpf: cleanup remaining SKBs in PTP flows When the driver requests Tx timestamp value, one of the first steps is to clone SKB using skb_get. It increases the reference counter for that SKB to prevent unexpected freeing by another component. However, there may be a case where the index is requested, SKB is assigned and never consumed by PTP flows - for example due to reset during running PTP apps. Add a check in release timestamping function to verify if the SKB assigned to Tx timestamp latch was freed, and release remaining SKBs.

📍 영향받는 시스템

Linux kernel (idpf driver 사용 환경)

⚔️ 공격 벡터

로컬 공격자가 PTP 애플리케이션을 의도적으로 리셋하거나 조작하여 메모리 누수를 유발할 수 있음

🛡️ 대응 방법

idpf 드라이버의 SKB 해제 로직이 포함된 최신 Linux 커널로 업데이트

🔧 검증 코드

현재 실행 중인 커널 버전을 확인하여 해당 패치가 적용된 최신 버전인지 확인

Shell / Script
uname -r

💻 영향받는 소프트웨어

Linux Kernel