🔍 CVE-2025-39834

5.5
CVSS Score
MEDIUM
2025-09-16
2026-10-21 13:18
✅ 완료

🇰🇷 한글 설명

Linux 커널의 net/mlx5 드라이버에서 HWS 오류 흐름 발생 시 메모리 누수가 발생하는 취약점이 발견되었습니다. 잘못된 stc_type이 제공될 경우 할당된 shared_stc 메모리가 해제되지 않고 남게 됩니다. 이 문제는 오류 발생 시 적절한 해제 라벨로 이동하도록 수정되었습니다.

💡 쉬운 설명

컴퓨터의 네트워크 장치를 관리하는 프로그램에서 메모리를 사용한 뒤 제대로 돌려주지 않는 실수가 발견되었습니다. 이 실수가 반복되면 시스템의 메모리가 점점 부족해져 컴퓨터가 느려지거나 멈출 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: net/mlx5: HWS, Fix memory leak in hws_action_get_shared_stc_nic error flow When an invalid stc_type is provided, the function allocates memory for shared_stc but jumps to unlock_and_out without freeing it, causing a memory leak. Fix by jumping to free_shared_stc label instead to ensure proper cleanup.

📍 영향받는 시스템

Linux kernel (net/mlx5 드라이버를 사용하는 시스템)

⚔️ 공격 벡터

잘못된 stc_type 값을 입력하여 네트워크 드라이버의 오류 경로를 유도함으로써 메모리 누수 유발

🛡️ 대응 방법

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

🔧 검증 코드

현재 실행 중인 커널 버전을 확인하여 취약점이 해결된 패치 버전인지 확인

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:N/A:H

💻 영향받는 소프트웨어

Linux Kernel