🔍 CVE-2026-45900

5.5
CVSS Score
MEDIUM
2026-05-27
2026-06-24 16:35
✅ 완료

🇰🇷 한글 설명

Linux 커널의 CAAM 드라이버에서 dpaa2_caam_probe 과정 중 오류가 발생할 경우 netdev 메모리가 해제되지 않는 메모리 누수 취약점이 발견되었습니다. DPIO 장치가 준비되지 않아 프로브가 실패할 때 할당된 netdev 구조체가 적절히 정리되지 않아 시스템 메모리가 점진적으로 소모됩니다.

💡 쉬운 설명

컴퓨터의 하드웨어를 준비하는 과정에서 오류가 생겼을 때, 사용했던 메모리를 다시 돌려주지 않고 계속 붙잡고 있는 문제입니다. 이 문제가 반복되면 시스템의 메모리가 부족해질 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: crypto: caam - fix netdev memory leak in dpaa2_caam_probe When commit 0e1a4d427f58 ("crypto: caam: Unembed net_dev structure in dpaa2") converted embedded net_device to dynamically allocated pointers, it added cleanup in dpaa2_dpseci_disable() but missed adding cleanup in dpaa2_dpseci_free() for error paths. This causes memory leaks when dpaa2_dpseci_dpio_setup() fails during probe due to DPIO devices not being ready yet. The kernel's deferred probe mechanism handles the retry successfully, but the netdevs allocated during the failed probe attempt are never freed, resulting in kmemleak reports showing multiple leaked netdev-related allocations all traced back to dpaa2_caam_probe(). Fix this by preserving the CPU mask of allocated netdevs during setup and using it for cleanup in dpaa2_dpseci_free(). This approach ensures that only the CPUs that actually had netdevs allocated will be cleaned up, avoiding potential issues with CPU hotplug scenarios.

📍 영향받는 시스템

Linux kernel (CAAM/DPAA2 driver components)

⚔️ 공격 벡터

직접적인 공격은 어려우나, 하드웨어 프로브 실패를 유도하여 시스템 가용성을 저하시키는 DoS(서비스 거부) 가능성 존재

🛡️ 대응 방법

커널 패치(commit 0e1a4d427f58 관련 수정 사항)를 적용하여 dpaa2_dpseci_free()에서 메모리 해제 로직을 보완해야 함

🔧 검증 코드

현재 커널 버전을 확인하고, 해당 드라이버 소스 코드 내에 수정된 함수가 포함되어 있는지 확인합니다.

Shell / Script
uname -r && grep -r 'dpaa2_caam_probe' /lib/modules/$(uname -r)/kernel/drivers/crypto/ 2>/dev/null

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Linux Kernel