🔍 CVE-2026-43486

5.5
CVSS Score
MEDIUM
2026-05-13
2026-06-26 19:23
✅ 완료

🇰🇷 한글 설명

Linux 커널의 arm64 아키텍처에서 contpte 모듈의 set_access_flags() 함수가 SMMU/ATS 결함 시 no-op 체크를 잘못 수행하는 취약점이 발견되었습니다. 특정 조건에서 하드웨어의 PTE_RDONLY 비트가 여전히 설정되어 있음에도 불구하고 함수가 작업을 완료한 것으로 오판하여, 페이지 테이블 워커가 무한 결함 루프에 빠질 수 있습니다.

💡 쉬운 설명

컴퓨터의 메모리 관리 과정에서 특정 설정이 이미 적용되었다고 착각하여 실제로는 수정되지 않은 상태로 남는 문제입니다. 이로 인해 시스템이 특정 작업을 반복하려다 무한 루프에 빠져 멈출 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: arm64: contpte: fix set_access_flags() no-op check for SMMU/ATS faults contpte_ptep_set_access_flags() compared the gathered ptep_get() value against the requested entry to detect no-ops. ptep_get() ORs AF/dirty from all sub-PTEs in the CONT block, so a dirty sibling can make the target appear already-dirty. When the gathered value matches entry, the function returns 0 even though the target sub-PTE still has PTE_RDONLY set in hardware. For a CPU with FEAT_HAFDBS this gathered view is fine, since hardware may set AF/dirty on any sub-PTE and CPU TLB behavior is effectively gathered across the CONT range. But page-table walkers that evaluate each descriptor individually (e.g. a CPU without DBM support, or an SMMU without HTTU, or with HA/HD disabled in CD.TCR) can keep faulting on the unchanged target sub-PTE, causing an infinite fault loop. Gathering can therefore cause false no-ops when only a sibling has been updated: - write faults: target still has PTE_RDONLY (needs PTE_RDONLY cleared) - read faults: target still lacks PTE_AF Fix by checking each sub-PTE against the requested AF/dirty/write state (the same bits consumed by __ptep_set_access_flags()), using raw per-PTE values rather than the gathered ptep_get() view, before returning no-op. Keep using the raw target PTE for the write-bit unfold decision. Per Arm ARM (DDI 0487) D8.7.1 ("The Contiguous bit"), any sub-PTE in a CONT range may become the effective cached translation and software must maintain consistent attributes across the range.

📍 영향받는 시스템

Linux kernel (arm64 architecture using CONT blocks, specifically affecting systems without FEAT_HAFDBS or certain SMMU configurations)

⚔️ 공격 벡터

로컬 공격자가 특정 메모리 관리 상황을 유도하여 시스템을 무한 루프 상태로 만들어 서비스 거부(DoS)를 유발할 수 있음

🛡️ 대응 방법

Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 contpte의 set_access_flags() 로직을 수정해야 함

🔧 검증 코드

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

Shell / Script
uname -r

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Linux Kernel