🔍 CVE-2025-38424

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

🇰🇷 한글 설명

Linux 커널의 perf 서브시스템에서 프로세스 종료 시 메모리 해제 과정 중 사용자 스택 샘플링을 시도하여 발생하는 ARM64 시스템 크래시 취약점입니다. 프로세스의 주소 공간이 해제되기 전에 perf 동작을 중단하도록 순서를 변경하고, mm 구조체가 없는 경우 샘플링을 중단하도록 보안을 강화하여 해결되었습니다.

💡 쉬운 설명

컴퓨터 프로그램이 종료될 때 시스템이 메모리를 정리하는 과정에서, 성능 측정 도구가 이미 사라진 메모리 영역에 접근하려다 시스템이 멈추는 문제입니다. 이 문제를 해결하기 위해 메모리를 지우기 전에 성능 측정 도구를 먼저 멈추도록 수정되었습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: perf: Fix sample vs do_exit() Baisheng Gao reported an ARM64 crash, which Mark decoded as being a synchronous external abort -- most likely due to trying to access MMIO in bad ways. The crash further shows perf trying to do a user stack sample while in exit_mmap()'s tlb_finish_mmu() -- i.e. while tearing down the address space it is trying to access. It turns out that we stop perf after we tear down the userspace mm; a receipie for disaster, since perf likes to access userspace for various reasons. Flip this order by moving up where we stop perf in do_exit(). Additionally, harden PERF_SAMPLE_CALLCHAIN and PERF_SAMPLE_STACK_USER to abort when the current task does not have an mm (exit_mm() makes sure to set current->mm = NULL; before commencing with the actual teardown). Such that CPU wide events don't trip on this same problem.

📍 영향받는 시스템

Linux Kernel (ARM64 아키텍처 기반 시스템)

⚔️ 공격 벡터

직접적인 외부 공격보다는 특정 프로세스 종료 시 발생하는 시스템 크래시(DoS) 유발 가능성

🛡️ 대응 방법

Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트

🔧 검증 코드

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

Shell / Script
uname -a

📊 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