🔍 CVE-2026-64354

7.8
CVSS Score
HIGH
2026-07-25
2026-10-19 21:17
✅ 완료

🇰🇷 한글 설명

Linux 커널의 BPF 구성 요소에서 BTF 반복 필드 확장 시 정수 오버플로 취약점이 발견되었습니다. 악의적으로 조작된 BTF 데이터를 통해 필드 개수 계산 시 오버플로를 유발하면, 할당된 배열의 범위를 넘어 메모리에 데이터를 쓰는 버퍼 오버플로가 발생할 수 있습니다.

💡 쉬운 설명

컴퓨터가 데이터를 처리할 때 숫자가 너무 커져서 계산 오류가 발생하는 허점을 이용한 공격입니다. 공격자가 특수하게 만든 데이터를 보내면 시스템의 메모리 영역을 넘어서 데이터를 써버려 시스템을 망가뜨릴 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: bpf: Validate BTF repeated field counts before expansion btf_parse_struct_metas() walks user-supplied BTF during BPF_BTF_LOAD, and btf_repeat_fields() expands repeatable fields from array elements into the fixed BTF_FIELDS_MAX scratch array used by btf_parse_fields(). The remaining-capacity check performs the expanded field count calculation in u32. A malformed BTF can wrap that calculation, causing the check to pass even when the expanded field count exceeds the scratch array capacity. The following memcpy() can then write past the end of the array. Use checked addition and multiplication before copying repeated fields and reject impossible counts.

📍 영향받는 시스템

BTF(BPF Type Format)를 사용하는 Linux 커널 버전

⚔️ 공격 벡터

악의적으로 조작된 BTF 데이터를 BPF_BTF_LOAD를 통해 커널에 전달

🛡️ 대응 방법

BTF 필드 확장 시 정수 오버플로를 방지하는 패치가 적용된 최신 Linux 커널로 업데이트

🔧 검증 코드

출력된 커널 버전이 해당 취약점이 해결된 보안 패치 버전인지 배포판 보안 공지를 통해 확인

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