🔍 CVE-2025-38169

7.8
CVSS Score
HIGH
2025-07-03
2026-10-15 22:18
✅ 완료

🇰🇷 한글 설명

Linux 커널의 arm64/fpsimd에서 SME(Scalable Matrix Extension)를 사용하는 시스템의 컨텍스트 스위칭 중 커널 FPSIMD 상태가 손상될 수 있는 취약점입니다. SVE 스트리밍 모드에서 FPSIMD 상태를 복구할 때 SMSTOP 명령어가 실행되어 하드웨어가 레지스터를 초기화함으로써 데이터가 유실됩니다.

💡 쉬운 설명

컴퓨터가 작업을 전환하는 과정에서 특정 계산용 데이터 저장 공간이 실수로 초기화되어 데이터가 깨질 수 있는 문제입니다. 이 문제는 SME라는 특수 기능을 사용하는 시스템에서만 발생합니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: arm64/fpsimd: Avoid clobbering kernel FPSIMD state with SMSTOP On system with SME, a thread's kernel FPSIMD state may be erroneously clobbered during a context switch immediately after that state is restored. Systems without SME are unaffected. If the CPU happens to be in streaming SVE mode before a context switch to a thread with kernel FPSIMD state, fpsimd_thread_switch() will restore the kernel FPSIMD state using fpsimd_load_kernel_state() while the CPU is still in streaming SVE mode. When fpsimd_thread_switch() subsequently calls fpsimd_flush_cpu_state(), this will execute an SMSTOP, causing an exit from streaming SVE mode. The exit from streaming SVE mode will cause the hardware to reset a number of FPSIMD/SVE/SME registers, clobbering the FPSIMD state. Fix this by calling fpsimd_flush_cpu_state() before restoring the kernel FPSIMD state.

📍 영향받는 시스템

SME(Scalable Matrix Extension)를 지원하는 arm64 아키텍처 기반 Linux 커널 시스템

⚔️ 공격 벡터

로컬 공격자가 특정 CPU 상태를 유도하여 커널의 FPSIMD 레지스터 상태를 오염시킴

🛡️ 대응 방법

커널 FPSIMD 상태를 복구하기 전에 fpsimd_flush_cpu_state()를 호출하도록 업데이트된 최신 Linux 커널로 패치

🔧 검증 코드

출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인하십시오.

Shell / Script
uname -r

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

💻 영향받는 소프트웨어

Linux Kernel