🔍 CVE-2026-64510

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

🇰🇷 한글 설명

Linux 커널의 ACPI NFIT 초기화 과정에서 오류 발생 시 acpi_desc 객체가 리스트에서 제대로 제거되지 않아 발생하는 Use-After-Free 취약점입니다. 이로 인해 초기화 실패 후 객체가 해제된 상태에서 ACPI Machine Check Exception이 발생하면 dangling pointer를 참조하게 되어 시스템 오류나 보안 문제가 발생할 수 있습니다.

💡 쉬운 설명

컴퓨터의 하드웨어 정보를 관리하는 과정에서, 사용이 끝난 메모리 정보를 제대로 지우지 않아 발생하는 문제입니다. 나중에 시스템이 이미 사라진 정보를 다시 사용하려고 시도할 때 충돌이나 해킹의 위험이 생길 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: ACPI: NFIT: core: Fix acpi_nfit_init() error cleanup If acpi_nfit_init() fails after adding the acpi_desc object to the acpi_descs list, that object is never removed from that list because the acpi_nfit_shutdown() devm action is not added for the NFIT device in that case. Next, the acpi_nfit_init() failure causes acpi_nfit_probe() to fail, the acpi_desc object is freed, and a dangling pointer is left behind in the acpi_descs. Any subsequent ACPI Machine Check Exception will trigger nfit_handle_mce() which iterates over acpi_descs and so a use-after-free will occur. Moreover, if acpi_nfit_probe() returns 0 after installing a notify handler for the NFIT device and without allocating the acpi_desc object and setting the NFIT device's driver data pointer, the acpi_desc object will be allocated by acpi_nfit_update_notify() and acpi_nfit_init() will be called to initialize it. Regardless of whether or not acpi_nfit_init() fails in that case, the acpi_nfit_shutdown() devm action is not added for the NFIT device and acpi_desc is never removed from the acpi_descs list. If the acpi_desc object is freed subsequently on driver removal, any subsequent ACPI MCE will lead to a use-after-free like in the previous case. To address the first issue mentioned above, make acpi_nfit_probe() call acpi_nfit_shutdown() directly on acpi_nfit_init() failures and to address the other one, add a remove callback to the driver and make it call acpi_nfit_shutdown(). Also, since it is now possible to pass NULL to acpi_nfit_shutdown() or the acpi_desc object passed to it may not have been initialized, add checks against NULL for acpi_desc and its nvdimm_bus field to that function and make acpi_nfit_unregister() clear the latter after unregistering the NVDIMM bus.

📍 영향받는 시스템

Linux Kernel (ACPI NFIT 관련 모듈 사용 시스템)

⚔️ 공격 벡터

ACPI Machine Check Exception(MCE)을 유도하여 해제된 메모리 영역에 접근하는 방식

🛡️ 대응 방법

Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 acpi_nfit_init() 및 acpi_nfit_probe()의 오류 처리 로직을 수정해야 합니다.

🔧 검증 코드

출력된 커널 버전을 확인하여 해당 취약점이 해결된 패치 버전 이상인지 확인합니다.

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