🇰🇷 한글 설명
Linux 커널의 dmaengine idxd 드라이버에서 device 제거 시 event log 메모리가 누수되는 문제입니다. Device reset 중에 설정 레지스터가 0으로 초기화되면서 event log 지원 활성화 상태 확인이 실패하여 메모리 해제가 제대로 이루어지지 않습니다. 활성화 여부 확인을 제거하고 할당된 메모리의 유효성만 확인하도록 수정해야 합니다.
💡 쉬운 설명
Linux 커널의 특정 하드웨어 가속 기능에서 프로그램 종료 시 메모리를 제대로 정리하지 못하는 버그입니다. 시간이 지나면서 서버의 메모리가 점차 줄어들 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
dmaengine: idxd: Fix leaking event log memory
During the device remove process, the device is reset, causing the
configuration registers to go back to their default state, which is
zero. As the driver is checking if the event log support was enabled
before deallocating, it will fail if a reset happened before.
Do not check if the support was enabled, the check for 'idxd->evl'
being valid (only allocated if the HW capability is available) is
enough.
📍 영향받는 시스템
Linux kernel with dmaengine idxd driver (vulnerable versions vary by distribution)
⚔️ 공격 벡터
Local exploitation through repeated device removal/reset operations causing memory exhaustion
🛡️ 대응 방법
Update to patched Linux kernel version with idxd event log memory leak fix
🔧 검증 코드
커널 버전을 확인하여 최신 패치 버전으로 업그레이드되었는지 확인 (배포판별 커널 버전 다름)
uname -r && grep -i idxd /proc/version 2>/dev/null || echo 'Check kernel updates available'