🔍 CVE-2026-98324

7.8
CVSS Score
HIGH
2026-10-06
2026-10-19 10:18
✅ 완료

🇰🇷 한글 설명

Linux 커널의 dmaengine pxa 드라이버에서 하드웨어 디스크립터 개수를 중복 계산하는 취약점이 발견되었습니다. 최신 컴파일러(GCC 15.1 이상 등) 사용 시 kzalloc_flex 함수로의 전환 과정에서 카운터가 이중으로 증가하여 메모리 관리 오류를 유발할 수 있습니다.

💡 쉬운 설명

컴퓨터가 메모리를 빌려올 때 빌린 개수를 실제보다 두 배로 잘못 기록하는 버그가 있었습니다. 이로 인해 나중에 메모리를 돌려줄 때 엉뚱한 곳을 건드려 시스템 오류가 발생할 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: dmaengine: pxa: fix double counting of the hw descriptors pxad_alloc_desc() was converted from kzalloc(struct_size(sw_desc, hw_desc, nb_hw_desc), GFP_NOWAIT) to kzalloc_flex(), which sets the __counted_by() counter sw_desc->nb_desc itself - but only where the compiler has __builtin_counted_by_ref(), so from gcc 15.1 or clang 22.1 on. The loop below it still increments nb_desc, which makes it come out doubled there and correct elsewhere. nb_desc is what pxad_free_desc() iterates over and what set_updater_desc() indexes from, so set it explicitly and drop the increment. The error path has to lower it to the number of descriptors allocated so far, otherwise pxad_free_desc() would free entries that were never allocated.

📍 영향받는 시스템

Linux kernel (dmaengine: pxa 드라이버를 사용하는 환경, 특히 GCC 15.1 또는 Clang 22.1 이상 컴파일러 사용 시)

⚔️ 공격 벡터

로컬 공격자가 특정 메모리 할당 시나리오를 유도하여 커널 메모리 손상 또는 시스템 불안정 유발

🛡️ 대응 방법

해당 취약점이 수정된 최신 버전의 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