🇰🇷 한글 설명
Linux 커널의 coresight etm4x 구성 요소에서 perf 활성화 과정 중 특정 오류 상황에서 설정 비활성화 함수가 호출되지 않는 취약점이 발견되었습니다. 이로 인해 config_desc->active_cnt 값이 누수될 수 있는 문제가 발생합니다.
💡 쉬운 설명
컴퓨터의 성능을 측정하는 기능이 작동하다가 오류가 났을 때, 사용하던 자원을 제대로 정리하지 못하고 남겨두는 버그입니다. 이로 인해 시스템의 관리 데이터가 조금씩 새어나갈 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
coresight: etm4x: missing cscfg_csdev_disable_active_config() in perf enable
In the perf enable path, there are missing cases where
cscfg_csdev_disable_active_config() is not called:
- Branch broadcast is selected but not supported by the hardware
- etm4_enable_hw() fails
This can lead to a leak of config_desc->active_cnt.
Fix this by properly calling cscfg_csdev_disable_active_config()
in these error paths.
📍 영향받는 시스템
Linux kernel (coresight: etm4x 관련 모듈 포함 버전)
⚔️ 공격 벡터
로컬 시스템에서 특정 하드웨어 기능(Branch broadcast)을 호출하거나 etm4_enable_hw() 오류를 유도하여 발생
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인하십시오.