🔍 CVE-2025-68376

0.0
CVSS Score
UNKNOWN
2025-12-24
2026-10-21 13:18
✅ 완료

🇰🇷 한글 설명

리눅스 커널의 Coresight ETR 기능에서 버퍼 크기 변경 시 발생하는 Use-After-Free 취약점입니다. ETR이 CS_MODE_SYSFS 모드일 때 기존 버퍼를 해제하지만, 사용 중인 포인터가 새 버퍼로 업데이트되지 않아 메모리 오류가 발생합니다.

💡 쉬운 설명

프로그램이 이미 사용이 끝나서 삭제된 메모리 공간을 계속 사용하려고 할 때 발생하는 보안 문제입니다. 이로 인해 시스템이 갑자기 멈추거나 해커가 시스템 권한을 탈취할 위험이 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: coresight: ETR: Fix ETR buffer use-after-free issue When ETR is enabled as CS_MODE_SYSFS, if the buffer size is changed and enabled again, currently sysfs_buf will point to the newly allocated memory(buf_new) and free the old memory(buf_old). But the etr_buf that is being used by the ETR remains pointed to buf_old, not updated to buf_new. In this case, it will result in a memory use-after-free issue. Fix this by checking ETR's mode before updating and releasing buf_old, if the mode is CS_MODE_SYSFS, then skip updating and releasing it.

📍 영향받는 시스템

Coresight ETR 기능이 활성화된 Linux Kernel (CS_MODE_SYSFS 모드 사용 시)

⚔️ 공격 벡터

로컬 공격자가 sysfs를 통해 ETR 버퍼 크기를 조작하여 메모리 오류 유도

🛡️ 대응 방법

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

🔧 검증 코드

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

Shell / Script
uname -r

💻 영향받는 소프트웨어

Linux Kernel