🔍 CVE-2026-43330

7.8
CVSS Score
HIGH
2026-05-08
2026-05-18 12:40
✅ 완료

🇰🇷 한글 설명

Linux kernel의 crypto/caam 모듈에서 HMAC 키 길이가 블록 크기를 초과할 때 DMA 캐시 정렬 미처리로 인한 메모리 오버플로우 취약점입니다. kmemdup 함수의 부정확한 사용으로 할당된 메모리 크기(aligned_len)보다 더 많은 바이트를 읽으므로 인접 메모리 영역이 손상될 수 있습니다.

💡 쉬운 설명

Linux 커널에서 매우 긴 암호화 키를 처리할 때 메모리 할당이 제대로 정렬되지 않아 메모리가 손상될 수 있는 문제입니다. 공격자가 이를 악용하여 시스템을 크래시시키거나 커널 권한을 얻을 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: crypto: caam - fix overflow on long hmac keys When a key longer than block size is supplied, it is copied and then hashed into the real key. The memory allocated for the copy needs to be rounded to DMA cache alignment, as otherwise the hashed key may corrupt neighbouring memory. The copying is performed using kmemdup, however this leads to an overflow: reading more bytes (aligned_len - keylen) from the keylen source buffer. Fix this by replacing kmemdup with kmalloc, followed by memcpy.

📍 영향받는 시스템

Linux kernel (CVE 공개 시점 기준 패치 미적용 모든 버전, 특히 crypto/caam 드라이버를 사용하는 임베디드 및 IoT 장치)

⚔️ 공격 벡터

로컬 인증 공격자가 블록 크기를 초과하는 HMAC 키를 사용하여 암호화 작업을 수행함으로써 메모리 오버플로우 유발

🛡️ 대응 방법

Linux kernel을 CVE-2026-43330 패치가 포함된 최신 안정 버전으로 업그레이드 수행

🔧 검증 코드

현재 시스템의 Linux kernel 버전을 확인하여 보안 공지에서 제시한 패치된 버전 이상인지 비교하여 취약성 여부 판단

Shell / Script
uname -r | grep -qE '^[0-9]+\.[0-9]+' && echo 'Kernel version installed' || echo 'Kernel version check failed'

📊 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