🇰🇷 한글 설명
리눅스 커널의 성능 모니터링(perf) 서브시스템에서 __perf_event_overflow() 함수와 perf_remove_from_context() 함수 간의 경쟁 조건으로 인한 취약점입니다. 소프트웨어 이벤트가 인터럽트 비활성화 상태가 아닌 선점만 비활성화된 상태에서 실행되어 BPF 프로그램 등 중요 메모리가 비정상적으로 해제될 수 있습니다.
💡 쉬운 설명
Linux 커널의 성능 모니터링 기능에서 두 함수가 동시에 메모리에 접근하는 충돌 문제입니다. 공격자가 특수한 성능 모니터링 명령어를 실행하여 시스템 권한으로 명령을 실행할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
perf: Fix __perf_event_overflow() vs perf_remove_from_context() race
Make sure that __perf_event_overflow() runs with IRQs disabled for all
possible callchains. Specifically the software events can end up running
it with only preemption disabled.
This opens up a race vs perf_event_exit_event() and friends that will go
and free various things the overflow path expects to be present, like
the BPF program.
📍 영향받는 시스템
Linux kernel 5.0 이상 (CVE-2026-23271 패치 이전의 모든 버전)
⚔️ 공격 벡터
로컬 권한 상승: 악의적인 perf_event 시스템 호출 또는 BPF 프로그램 실행
🛡️ 대응 방법
Linux 커널을 CVE-2026-23271 패치가 포함된 최신 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전을 리눅스 배포판의 보안 공지에서 제공하는 CVE-2026-23271 패치 버전 이상과 비교하여 확인