🇰🇷 한글 설명
Linux 커널의 efivarfs에서 statfs() 핸들러에 대한 속도 제한이 누락되어 발생하는 취약점입니다. 권한이 없는 사용자가 efivarfs 마운트 지점에 대해 statfs()를 반복 호출할 경우, SMM 기반의 x86 시스템에서 CPU 간 동기화가 필요한 고비용의 QueryVariableInfo() 서비스 호출을 과도하게 유발할 수 있습니다.
💡 쉬운 설명
특정 시스템 정보를 확인하는 명령을 너무 빠르게 반복해서 보내면 컴퓨터의 핵심 부품이 과부하에 걸릴 수 있는 문제입니다. 이를 방지하기 위해 명령 실행 횟수에 제한을 두어 시스템 성능 저하를 막도록 수정되었습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
efivarfs: Rate limit statfs() handler
Ravi reports that statfs() may be called by unprivileged users on the
efivarfs mount point, which may result in a flood of calls to the
QueryVariableInfo() runtime service. These calls are disproportionately
costly on x86 systems where the variable store is backed by SMM, as each
SMM entry requires a rendez-vous of all the CPUs.
So rate limit the calls to QueryVariableInfo() at twice per second, and
return the most recently obtained value for calls that are elided.
📍 영향받는 시스템
efivarfs를 사용하는 x86 기반 Linux 커널 시스템
⚔️ 공격 벡터
권한이 없는 로컬 사용자가 efivarfs 마운트 지점에 대해 statfs() 시스템 호출을 대량으로 반복 실행
🛡️ 대응 방법
efivarfs의 QueryVariableInfo() 호출에 대한 속도 제한(초당 2회)이 적용된 최신 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 패치된 최신 보안 업데이트 버전인지 확인