🔍 CVE-2026-43258

7.8
CVSS Score
HIGH
2026-05-06
2026-10-30 13:18
✅ 완료

🇰🇷 한글 설명

Linux 커널의 Alpha 아키텍처에서 메모리 컴팩션 활성화 시 유저스페이스 메모리 손상을 야기하는 취약점입니다. TLB shootdown 부족으로 인해 페이지 마이그레이션 중 오래된 메모리 주소 매핑이 남아있어 SIGSEGV 및 힙 손상을 초래합니다.

💡 쉬운 설명

Alpha 프로세서를 사용하는 리눅스 시스템에서 메모리 정리 기능이 켜져 있을 때, 프로그램의 메모리가 손상되어 충돌이 발생하는 문제입니다. 프로세서가 예전 메모리 주소를 잘못 기억해서 새로운 위치의 데이터를 찾지 못하기 때문입니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: alpha: fix user-space corruption during memory compaction Alpha systems can suffer sporadic user-space crashes and heap corruption when memory compaction is enabled. Symptoms include SIGSEGV, glibc allocator failures (e.g. "unaligned tcache chunk"), and compiler internal errors. The failures disappear when compaction is disabled or when using global TLB invalidation. The root cause is insufficient TLB shootdown during page migration. Alpha relies on ASN-based MM context rollover for instruction cache coherency, but this alone is not sufficient to prevent stale data or instruction translations from surviving migration. Fix this by introducing a migration-specific helper that combines: - MM context invalidation (ASN rollover), - immediate per-CPU TLB invalidation (TBI), - synchronous cross-CPU shootdown when required. The helper is used only by migration/compaction paths to avoid changing global TLB semantics. Additionally, update flush_tlb_other(), pte_clear(), to use READ_ONCE()/WRITE_ONCE() for correct SMP memory ordering. This fixes observed crashes on both UP and SMP Alpha systems.

📍 영향받는 시스템

Alpha 아키텍처 기반 Linux 커널 (UP 및 SMP 시스템), 메모리 컴팩션 활성화된 환경

⚔️ 공격 벡터

메모리 컴팩션이 활성화된 Alpha 시스템에서 자동 트리거되는 메모리 마이그레이션 과정 중 TLB 동기화 실패

🛡️ 대응 방법

Linux 커널을 CVE-2026-43258 패치가 포함된 버전으로 업데이트하거나 메모리 컴팩션을 비활성화 (CONFIG_COMPACTION=n)

🔧 검증 코드

커널 부팅 옵션에서 컴팩션 활성화 여부를 확인하고, 활성화되어 있으면 현재 커널 버전을 확인하여 패치 적용 여부를 확인합니다.

Shell / Script
cat /proc/cmdline | grep -q 'compact' && echo 'Compaction enabled' || 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