🇰🇷 한글 설명
Linux 커널의 RT(Real-Time) 활성화 커널에서 debugobjects의 fill_pool() 함수가 pi_blocked_on이 설정된 경우에도 호출되는 취약점이 발견되었습니다. 이는 우선순위 상속 체인을 손상시킬 수 있는 rtlock_lock() 호출을 유발하여 커널의 안정성을 해칠 수 있습니다.
💡 쉬운 설명
컴퓨터의 작업 우선순위를 관리하는 과정에서 오류가 발생하여 시스템이 멈추거나 불안정해질 수 있는 문제입니다. 특정 조건에서 작업이 꼬이지 않도록 검사 과정을 추가하여 해결되었습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
debugobjects: Do not fill_pool() if pi_blocked_on
On RT enabled kernels, fill_pool() ends up calling rtlock_lock(), which
asserts if current::pi_blocked_on is set, because a task can obviously only
block on one lock as otherwise the priority inheritenace chain gets
corrupted.
Prevent this by expanding the conditional to take current::pi_blocked_on
into account.
📍 영향받는 시스템
RT(Real-Time) 기능이 활성화된 Linux 커널
⚔️ 공격 벡터
로컬 시스템에서 우선순위 상속 메커니즘을 악용하여 커널 패닉 또는 시스템 불안정 유도
🛡️ 대응 방법
해당 취약점이 수정된 최신 버전의 Linux 커널로 업데이트
🔧 검증 코드
출력 결과에 RT 커널 정보와 최신 패치 버전이 포함되어 있는지 확인합니다.
uname -a && grep -i 'PREEMPT_RT' /boot/config-$(uname -r) 2>/dev/null