🔍 CVE-2025-40185

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

🇰🇷 한글 설명

Linux 커널의 ice 드라이버에서 어댑터 할당 실패 시 XArray 항목이 해제되지 않는 취약점이 발견되었습니다. 이로 인해 동일한 인덱스에 후속 삽입 시 -EBUSY 오류가 발생하며, 결과적으로 NULL 포인터 역참조로 인한 시스템 충돌이 발생할 수 있습니다.

💡 쉬운 설명

네트워크 장치를 연결하는 과정에서 오류가 발생했을 때, 사용하던 메모리 자원을 제대로 정리하지 못하는 문제입니다. 이 문제가 반복되면 컴퓨터 시스템이 갑자기 멈추거나 오류를 일으킬 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: ice: ice_adapter: release xa entry on adapter allocation failure When ice_adapter_new() fails, the reserved XArray entry created by xa_insert() is not released. This causes subsequent insertions at the same index to return -EBUSY, potentially leading to NULL pointer dereferences. Reorder the operations as suggested by Przemek Kitszel: 1. Check if adapter already exists (xa_load) 2. Reserve the XArray slot (xa_reserve) 3. Allocate the adapter (ice_adapter_new) 4. Store the adapter (xa_store)

📍 영향받는 시스템

Linux kernel (ice driver 사용 시스템)

⚔️ 공격 벡터

로컬 공격자가 특정 네트워크 장치 할당 실패를 유도하여 시스템 불안정성 유발

🛡️ 대응 방법

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

🔧 검증 코드

출력된 커널 버전이 해당 취약점이 수정된 최신 패치 버전인지 확인

Shell / Script
uname -r

💻 영향받는 소프트웨어

Linux Kernel