🔍 CVE-2026-64222

7.0
CVSS Score
HIGH
2026-07-24
2026-10-19 21:17
✅ 완료

🇰🇷 한글 설명

Linux 커널의 octeontx2-pf 및 cn20k_pool_aq_init 과정에서 초기화 실패 시 메모리 스택을 중복 해제하는 취약점이 발견되었습니다. 메모리 할당 실패 시 포인터를 NULL로 설정하지 않아, 이후 정리 과정에서 동일한 메모리 영역을 다시 해제하는 Double Free 오류가 발생합니다.

💡 쉬운 설명

컴퓨터가 메모리를 정리하는 과정에서 이미 지운 메모리를 또 지우려고 시도하는 오류입니다. 이로 인해 시스템이 불안정해지거나 보안 문제가 생길 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: octeontx2-pf: avoid double free of pool->stack on AQ init failure otx2_pool_aq_init() frees pool->stack when mailbox sync or retry allocation fails, but leaves the pointer unchanged. Later, otx2_sq_aura_pool_init() unwinds the partial setup through otx2_aura_pool_free(), which frees pool->stack again. The CN20K-specific cn20k_pool_aq_init() implementation has the same bug in its corresponding error path. Set pool->stack to NULL immediately after the local free so the shared cleanup path does not free the same stack again while cleaning up partially initialized pool state. The bug was first flagged by an experimental analysis tool we are developing for kernel memory-management bugs while analyzing v6.13-rc1. The tool is still under development and is not yet publicly available. Manual inspection confirms that the bug is still present in v7.1-rc3. Runtime validation was not performed because reproducing this path requires OcteonTX2/CN20K hardware.

📍 영향받는 시스템

Linux kernel (v7.1-rc3 포함 OcteonTX2 및 CN20K 하드웨어 사용 시스템)

⚔️ 공격 벡터

특정 하드웨어 초기화 과정에서 오류를 유도하여 메모리 관리 오류를 일으킴

🛡️ 대응 방법

메모리 해제 직후 해당 포인터를 NULL로 설정하도록 커널 패치 적용

🔧 검증 코드

출력된 커널 버전이 취약점이 해결된 패치 버전인지 확인

Shell / Script
uname -r

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Linux Kernel