🇰🇷 한글 설명
Linux 커널의 CPU 완화 기능(CPU mitigations) 설정이 재구성된 취약점으로, x86 아키텍처를 제외한 모든 아키텍처에서 CPU 완화 기능이 기본적으로 활성화되도록 강제됩니다. 이전에 SPECULATION_MITIGATIONS 설정으로 인해 비x86 아키텍처에서 완화 기능이 부적절하게 비활성화될 수 있었던 문제를 해결합니다.
💡 쉬운 설명
Linux 커널의 보안 기능(Spectre, Meltdown 공격 방어)이 일부 시스템에서 제대로 활성화되지 않는 문제입니다. 이 패치는 ARM, PowerPC 등의 프로세서에서 이 보안 기능이 항상 켜지도록 강제합니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
cpu: Re-enable CPU mitigations by default for !X86 architectures
Rename x86's to CPU_MITIGATIONS, define it in generic code, and force it
on for all architectures exception x86. A recent commit to turn
mitigations off by default if SPECULATION_MITIGATIONS=n kinda sorta
missed that "cpu_mitigations" is completely generic, whereas
SPECULATION_MITIGATIONS is x86-specific.
Rename x86's SPECULATIVE_MITIGATIONS instead of keeping both and have it
select CPU_MITIGATIONS, as having two configs for the same thing is
unnecessary and confusing. This will also allow x86 to use the knob to
manage mitigations that aren't strictly related to speculative
execution.
Use another Kconfig to communicate to common code that CPU_MITIGATIONS
is already defined instead of having x86's menu depend on the common
CPU_MITIGATIONS. This allows keeping a single point of contact for all
of x86's mitigations, and it's not clear that other architectures *want*
to allow disabling mitigations at compile-time.
📍 영향받는 시스템
Linux 커널 v5.9 이상의 x86 미포함 아키텍처(ARM, ARM64, PowerPC, RISC-V 등)가 SPECULATION_MITIGATIONS 비활성화 상태로 컴파일된 경우
⚔️ 공격 벡터
미완화된 CPU에서 Spectre/Meltdown 계열의 추측 실행(speculative execution) 사이드 채널 공격을 통한 메모리 내용 유출
🛡️ 대응 방법
커널을 패치 버전 이상으로 업그레이드하거나 커널 파라미터 'cpu_mitigations=on'으로 부팅
🔧 검증 코드
/proc/cmdline에서 cpu_mitigations이 활성화 상태인지 확인하고, /proc/cpuinfo에서 Spectre/Meltdown 보호 상태를 확인합니다. 'yes'로 표시되면 완화 기능이 활성화된 상태입니다.
grep -i 'cpu_mitigations' /proc/cmdline; grep -i 'spectre\|meltdown' /proc/cpuinfo | head -3