🔍 CVE-2026-53226

5.5
CVSS Score
MEDIUM
2026-06-25
2026-10-21 13:19
✅ 완료

🇰🇷 한글 설명

Linux 커널의 Rockchip GPIO 드라이버에서 IRQ 도메인 제거 시 제네릭 IRQ 칩이 제대로 해제되지 않는 메모리 누수 취약점이 발견되었습니다. 이로 인해 메모리 누수가 발생할 뿐만 아니라, 제거된 GPIO 뱅크에 대해 콜백이 호출될 경우 Use-After-Free 및 커널 크래시가 발생할 수 있습니다.

💡 쉬운 설명

컴퓨터 부품을 제어하는 소프트웨어에서 사용이 끝난 자원을 제대로 반납하지 않아 발생하는 문제입니다. 이 문제가 방치되면 시스템 메모리가 낭비되거나 갑자기 컴퓨터가 멈추는 현상이 생길 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: gpio: rockchip: fix generic IRQ chip leak on remove The driver allocates domain generic chips using irq_alloc_domain_generic_chips() during probe. However, on driver remove/teardown, the generic chips are not automatically freed when the IRQ domain is removed because the domain flags do not include IRQ_DOMAIN_FLAG_DESTROY_GC. This causes both the domain generic chips structure and the associated generic chips to be leaked. Additionally, the generic chips remain on the global gc_list and may later be visited by generic IRQ chip suspend, resume, or shutdown callbacks after the GPIO bank has been removed, potentially resulting in a use-after-free and kernel crash. Fix the resource leak by explicitly calling irq_domain_remove_generic_chips() before removing the IRQ domain in rockchip_gpio_remove().

📍 영향받는 시스템

Rockchip GPIO 드라이버를 사용하는 Linux 커널 기반 시스템

⚔️ 공격 벡터

로컬 공격자가 드라이버의 로드 및 언로드(remove/teardown) 과정을 반복하여 메모리 누수를 유도하거나 커널 크래시를 유발할 수 있음

🛡️ 대응 방법

rockchip_gpio_remove() 함수 내에서 IRQ 도메인 제거 전 irq_domain_remove_generic_chips()를 호출하도록 커널 패치를 적용해야 함

🔧 검증 코드

현재 실행 중인 커널 버전을 확인하여 해당 취약점이 수정된 최신 보안 패치가 적용된 버전인지 확인합니다.

Shell / Script
uname -r

📊 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