🇰🇷 한글 설명
리눅스 커널의 tracing 기능에서 'enable_event' 트리거가 모듈 참조 횟수를 너무 빨리 해제하여 발생하는 취약점입니다. 모듈이 제거된 후에도 이벤트가 활성화되어 있을 경우, 이미 해제된 모듈의 데이터에 접근하게 되어 Use-After-Free(UAF) 오류가 발생할 수 있습니다.
💡 쉬운 설명
컴퓨터 프로그램이 사용 중인 부품을 너무 빨리 제거해버려서, 프로그램이 이미 사라진 부품을 다시 쓰려고 시도하다가 오류가 발생하는 문제입니다. 이로 인해 시스템이 멈추거나 보안 문제가 생길 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
tracing: Delay module ref count for "enable_event" trigger
Triggers are now delayed from freeing, but can still be triggered until
after the RCU grace period has ended. The freeing of the enable_event data
is put into the private_data_free() callback, but the put of the module
refcount is done immediately.
It is possible that if a module is removed that has an event that would
enable (or disable) it is still active, it can read the data of the module
after it is removed causing a use-after-free bug.
Move the trace_event_put_ref() that releases the module into the delayed
callback so that the module can not be removed until any reference to its
events are finished.
📍 영향받는 시스템
Linux Kernel (tracing 기능이 활성화된 버전)
⚔️ 공격 벡터
특정 이벤트를 트리거하는 모듈을 로드한 후, 해당 이벤트가 처리되기 전에 모듈을 강제로 제거하여 메모리 오류 유도
🛡️ 대응 방법
해당 취약점이 수정된 최신 리눅스 커널 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 취약점이 패치된 최신 보안 업데이트 버전인지 확인
📊 CVSS Vector String
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
💻 영향받는 소프트웨어
NVIDIA vGPU Guest Driver for Linux