🇰🇷 한글 설명
Linux 커널의 BPF 기능에서 락(lock) 획득 실패 시 출력 버퍼를 초기화하지 않는 취약점이 발견되었습니다. 이로 인해 BPF 프로그램이 초기화되지 않은 스택 내용을 읽을 수 있는 정보 유출 위험이 존재합니다.
💡 쉬운 설명
컴퓨터의 메모리 공간을 깨끗이 지우지 않고 사용하면 이전에 저장되었던 중요한 정보가 노출될 수 있습니다. 이 문제는 특정 작업이 실패했을 때 메모리를 지우지 않아 발생합니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
bpf: Zero queue and stack outputs on lock failure
Queue and stack pop/peek helpers accept an uninitialized output buffer
because the verifier expects the helper to initialize it. The empty-map
error path clears the buffer, but a failed lock acquisition returns
-EBUSY without writing it.
Clear the output before returning -EBUSY so BPF programs cannot observe
uninitialized stack contents after a failed helper call.
📍 영향받는 시스템
Linux kernel (BPF 기능이 활성화된 버전)
⚔️ 공격 벡터
악의적인 BPF 프로그램을 실행하여 초기화되지 않은 스택 메모리 값을 읽어내는 방식
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이상인지 확인하십시오.