🔍 CVE-2025-71306

7.1
CVSS Score
HIGH
2026-05-27
2026-10-21 13:18
✅ 완료

🇰🇷 한글 설명

리눅스 커널의 IMA(Integrity Measurement Architecture) 구성 요소 내 is_bprm_creds_for_exec() 함수에서 스택 범위 초과(stack-out-of-bounds) 취약점이 발견되었습니다. 이는 container_of 매크로를 사용하여 파일 포인터의 오프셋을 잘못 계산함으로써 발생하며, 메모리 손상을 유발할 수 있습니다.

💡 쉬운 설명

리눅스 운영체제의 보안 검사 기능에서 메모리 주소를 잘못 계산하는 오류가 발견되었습니다. 이로 인해 시스템의 중요한 데이터가 저장된 메모리 영역을 잘못 건드려 보안 문제가 생길 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: ima: Fix stack-out-of-bounds in is_bprm_creds_for_exec() KASAN reported a stack-out-of-bounds access in ima_appraise_measurement from is_bprm_creds_for_exec: BUG: KASAN: stack-out-of-bounds in ima_appraise_measurement+0x12dc/0x16a0 Read of size 1 at addr ffffc9000160f940 by task sudo/550 The buggy address belongs to stack of task sudo/550 and is located at offset 24 in frame: ima_appraise_measurement+0x0/0x16a0 This frame has 2 objects: [48, 56) 'file' [80, 148) 'hash' This is caused by using container_of on the *file pointer. This offset calculation is what triggers the stack-out-of-bounds error. In order to fix this, pass in a bprm_is_check boolean which can be set depending on how process_measurement is called. If the caller has a linux_binprm pointer and the function is BPRM_CHECK we can determine is_check and set it then. Otherwise set it to false.

📍 영향받는 시스템

IMA 기능이 활성화된 리눅스 커널 버전

⚔️ 공격 벡터

로컬 권한을 가진 사용자가 특정 프로세스 실행 과정을 통해 메모리 오버플로우를 유발할 수 있음

🛡️ 대응 방법

IMA 관련 스택 오버플로우 오류가 수정된 최신 리눅스 커널로 업데이트

🔧 검증 코드

출력된 커널 버전이 보안 패치가 적용된 최신 버전인지 확인

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:N/A:H

💻 영향받는 소프트웨어

Linux Kernel