🔍 CVE-2026-53401

7.8
CVSS Score
HIGH
2026-07-19
2026-10-30 13:19
✅ 완료

🇰🇷 한글 설명

Linux 커널의 omapfb_mmap 함수와 OMAPFB_SETUP_PLANE ioctl 간의 레이스 컨디션으로 인해 Use-After-Free 취약점이 발생합니다. 이로 인해 사용자가 해제된 물리 메모리에 매핑된 상태로 접근할 수 있게 됩니다.

💡 쉬운 설명

메모리를 사용하는 과정에서 두 가지 작업이 동시에 일어나면서, 이미 사용이 끝난 메모리 영역을 시스템이 실수로 계속 사용하게 만드는 오류입니다. 이로 인해 해킹 공격자가 시스템의 중요한 정보를 훔쳐보거나 조작할 위험이 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: fbdev: omap2: fix use-after-free in omapfb_mmap omapfb_mmap() has a race condition with OMAPFB_SETUP_PLANE ioctl that can lead to use-after-free: The fb_mmap() entry point holds mm_lock but not lock (fb_info->lock), while ioctl handlers like OMAPFB_SETUP_PLANE hold lock but not mm_lock. This allows concurrent execution. In omapfb_mmap(): 1. rg = omapfb_get_mem_region(ofbi->region); // Get old region ref 2. start = omapfb_get_region_paddr(ofbi); // Read from NEW region 3. len = fix->smem_len; // Read from NEW region 4. vm_iomap_memory(vma, start, len); // Map NEW region memory 5. atomic_inc(&rg->map_count); // Increment OLD region! Concurrently, OMAPFB_SETUP_PLANE can: - Reassign ofbi->region = new_rg - Update fix->smem_len - OMAPFB_SETUP_MEM then checks NEW region's map_count (0!) and frees it This leaves userspace with a mapping to freed physical memory. The fix is to read all required values (start, len) from the same region reference (rg) that will have its map_count incremented, preventing the region from being freed while still mapped.

📍 영향받는 시스템

OMAP 프레임버퍼(omapfb) 드라이버를 사용하는 Linux 커널 시스템

⚔️ 공격 벡터

특수하게 조작된 ioctl 호출을 통해 메모리 매핑과 해제 작업 간의 타이밍 차이를 이용한 공격

🛡️ 대응 방법

Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 omapfb_mmap의 메모리 참조 로직을 수정해야 합니다.

🔧 검증 코드

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

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