🇰🇷 한글 설명
Linux 커널의 Intel HFI(Hardware Feedback Interface) 기능에서 하이버네이션(최대 절전 모드) 복구 시 메모리 버퍼 불일치로 인해 메모리 오염이 발생할 수 있는 취약점입니다. 시스템이 복구될 때 하드웨어가 이전의 잘못된 메모리 주소에 데이터를 쓰려고 시도하면서 시스템 안정성을 해칠 수 있습니다.
💡 쉬운 설명
컴퓨터가 잠들었다가 깨어날 때, 하드웨어가 기억하고 있는 메모리 주소와 실제 메모리 주소가 달라져서 데이터가 엉뚱한 곳에 저장될 수 있는 문제입니다. 이로 인해 시스템이 멈추거나 오류가 발생할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
thermal: intel: hfi: Add syscore callbacks for system-wide PM
The kernel allocates a memory buffer and provides its location to the
hardware, which uses it to update the HFI table. This allocation occurs
during boot and remains constant throughout runtime.
When resuming from hibernation, the restore kernel allocates a second
memory buffer and reprograms the HFI hardware with the new location as
part of a normal boot. The location of the second memory buffer may
differ from the one allocated by the image kernel.
When the restore kernel transfers control to the image kernel, its HFI
buffer becomes invalid, potentially leading to memory corruption if the
hardware writes to it (the hardware continues to use the buffer from the
restore kernel).
It is also possible that the hardware "forgets" the address of the memory
buffer when resuming from "deep" suspend. Memory corruption may also occur
in such a scenario.
To prevent the described memory corruption, disable HFI when preparing to
suspend or hibernate. Enable it when resuming.
Add syscore callbacks to handle the package of the boot CPU (packages of
non-boot CPUs are handled via CPU offline). Syscore ops always run on the
boot CPU. Additionally, HFI only needs to be disabled during "deep" suspend
and hibernation. Syscore ops only run in these cases.
[ rjw: Comment adjustment, subject and changelog edits ]
📍 영향받는 시스템
Intel HFI를 사용하는 Linux 커널 기반 시스템 (하이버네이션 및 딥 서스펜드 사용 시)
⚔️ 공격 벡터
로컬 공격자가 시스템의 절전 모드 및 복구 과정을 유도하여 메모리 오염을 일으킬 수 있음
🛡️ 대응 방법
해당 취약점이 수정된 최신 버전의 Linux 커널로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 패치가 적용된 최신 릴리스 버전인지 확인하십시오.