🔍 CVE-2025-40060

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

🇰🇷 한글 설명

Linux 커널의 coresight: trbe 드라이버에서 메모리 할당 실패 시 오류 코드 대신 NULL 포인터를 반환하지 않아 발생하는 취약점입니다. 호출부에서 오류를 제대로 감지하지 못해 드라이버가 계속 실행되면서 결국 커널 패닉(시스템 중단)을 유발합니다.

💡 쉬운 설명

메모리가 부족할 때 시스템이 '메모리가 없다'는 신호를 제대로 전달하지 못해 발생하는 문제입니다. 이로 인해 컴퓨터가 오류를 인지하지 못하고 계속 작동하려다 결국 시스템이 완전히 멈춰버릴 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: coresight: trbe: Return NULL pointer for allocation failures When the TRBE driver fails to allocate a buffer, it currently returns the error code "-ENOMEM". However, the caller etm_setup_aux() only checks for a NULL pointer, so it misses the error. As a result, the driver continues and eventually causes a kernel panic. Fix this by returning a NULL pointer from arm_trbe_alloc_buffer() on allocation failures. This allows that the callers can properly handle the failure.

📍 영향받는 시스템

Linux kernel (coresight: trbe driver 포함 버전)

⚔️ 공격 벡터

메모리 부족 상황을 유도하여 커널 패닉(DoS)을 일으키는 방식

🛡️ 대응 방법

arm_trbe_alloc_buffer()가 할당 실패 시 NULL을 반환하도록 수정된 최신 Linux 커널로 업데이트

🔧 검증 코드

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

Shell / Script
uname -r

💻 영향받는 소프트웨어

Linux Kernel