🔍 CVE-2026-64447

7.8
CVSS Score
HIGH
2026-07-25
2026-09-03 15:37
✅ 완료

🇰🇷 한글 설명

Linux 커널의 ipu7 드라이버에서 오류 처리 과정 중 메모리가 중복 해제(Double-free)되거나 해제된 메모리를 참조(Use-after-free)하는 취약점이 발견되었습니다. 특정 초기화 실패 시 장치 해제 함수가 이미 메모리를 해제했음에도 불구하고 추가로 해제를 시도하거나, 이미 해제된 포인터를 사용하여 오류 코드를 반환하는 문제가 있습니다.

💡 쉬운 설명

컴퓨터의 부품을 작동시키는 소프트웨어에서 메모리 정리 규칙을 어겨 발생하는 오류입니다. 이로 인해 시스템이 갑자기 멈추거나 해커가 시스템 권한을 탈취할 수 있는 위험이 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: staging: media: ipu7: fix double-free and use-after-free in error paths In both ipu7_isys_init() and ipu7_psys_init(), pdata is allocated and then passed to ipu7_bus_initialize_device(), which stores it in adev->pdata. The ipu7_bus_release() function frees adev->pdata when the device's reference count drops to zero. Two error paths incorrectly call kfree(pdata) after the device teardown has already freed it: 1. When ipu7_mmu_init() fails: put_device() is called, which drops the reference count to zero and triggers ipu7_bus_release() -> kfree(pdata). The subsequent kfree(pdata) is a double-free. 2. When ipu7_bus_add_device() fails: it calls auxiliary_device_uninit() internally, which calls put_device() -> ipu7_bus_release() -> kfree(pdata). The subsequent kfree(pdata) is again a double-free. Note that the kfree(pdata) when ipu7_bus_initialize_device() itself fails is correct, because in that case auxiliary_device_init() failed and the release function was never set up, so pdata must be freed manually. Additionally, the error code was not saved before calling put_device(), causing ERR_CAST() to dereference the already-freed adev pointer when constructing the return value. Fix this by saving the error from dev_err_probe() before put_device() and returning ERR_PTR() instead. Remove the redundant kfree(pdata) calls and fix the use-after-free in the return values of the two affected error paths.

📍 영향받는 시스템

Linux kernel (staging: media: ipu7 driver 포함 버전)

⚔️ 공격 벡터

특정 하드웨어 초기화 과정에서 의도적으로 오류를 유발하여 메모리 손상 유도

🛡️ 대응 방법

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