🔍 CVE-2025-37788

5.5
CVSS Score
MEDIUM
2025-05-01
2026-11-05 21:17
✅ 완료

🇰🇷 한글 설명

Linux 커널의 cxgb4 드라이버에서 cxgb4_init_ethtool_filters() 함수의 오류 처리 경로에 메모리 누수가 있습니다. 포트별 loc_array 할당은 성공했지만 bmap 할당이 실패할 경우 loc_array가 해제되지 않아 메모리가 누수됩니다. 수정은 bmap 할당 실패 경로에서 loc_array를 해제하도록 변경하는 것입니다.

💡 쉬운 설명

네트워크 카드 드라이버가 사용을 마친 메모리를 반환하지 못하는 결함입니다. 시스템 메모리가 조금씩 낭비되어 장시간 운영 시 성능 저하를 일으킬 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: cxgb4: fix memory leak in cxgb4_init_ethtool_filters() error path In the for loop used to allocate the loc_array and bmap for each port, a memory leak is possible when the allocation for loc_array succeeds, but the allocation for bmap fails. This is because when the control flow goes to the label free_eth_finfo, only the allocations starting from (i-1)th iteration are freed. Fix that by freeing the loc_array in the bmap allocation error path.

📍 영향받는 시스템

cxgb4 드라이버(Chelsio 네트워크 어댑터)를 사용하는 Linux 커널 버전

⚔️ 공격 벡터

직접적인 원격 공격 경로는 제한적이며, 메모리 자원을 소모시켜 서비스 거부 상태를 유도하는 방식으로 악용될 수 있습니다.

🛡️ 대응 방법

Linux 커널을 해당 CVE의 수정이 포함된 최신 배포판 또는 보안 업데이트로 업그레이드하십시오.

🔧 검증 코드

출력된 커널 버전을 배포판의 보안 권고와 대조하여 패치 적용 여부를 확인하고, cxgb4 모듈이 'not loaded'로 나오면 이 취약점의 영향을 받지 않습니다.

Shell / Script
uname -r && (lsmod | grep -w cxgb4 || echo 'cxgb4 module not loaded')

📊 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