🔍 CVE-2026-53384

9.8
CVSS Score
CRITICAL
2026-07-19
2026-10-19 20:19
✅ 완료

🇰🇷 한글 설명

Linux 커널의 8250_dw 직렬 포트 드라이버에서 clk_notifier_register() 호출 실패 시 등록된 8250 포트를 해제하지 않는 취약점이 발견되었습니다. 이로 인해 포트 슬롯이 점유된 상태에서 드라이버 데이터가 해제되어, 재바인딩 전 해당 포트에 접근할 경우 Use-After-Free(UAF) 위험이 발생할 수 있습니다.

💡 쉬운 설명

장치를 연결하는 과정에서 오류가 발생했을 때, 사용하던 자원을 제대로 정리하지 못해 발생하는 문제입니다. 이로 인해 시스템이 잘못된 메모리 주소를 참조하게 되어 보안 사고나 시스템 충돌이 일어날 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: serial: 8250_dw: unregister 8250 port if clk_notifier_register() fails dw8250_probe() registers the 8250 port via serial8250_register_8250_port() and then, if the device has a clock, registers a clock notifier. If clk_notifier_register() fails, probe returns the error but leaves the 8250 port registered. The matching serial8250_unregister_port() lives in dw8250_remove(), which is not called when probe fails, so the port slot stays occupied until the device is rebound or the system is rebooted. The devm-allocated driver data is freed while the port still references it (via the saved private_data and serial_in/serial_out callbacks), so any access to that port slot before a rebind is a use-after-free hazard. Unregister the port on the clk_notifier_register() error path.

📍 영향받는 시스템

Linux kernel (dw8250 driver component)

⚔️ 공격 벡터

장치 드라이버의 프로브(probe) 과정에서 오류를 유도하여 메모리 해제 후 재사용(Use-After-Free) 취약점 악용

🛡️ 대응 방법

Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 clk_notifier_register() 오류 시 포트 해제 로직을 적용해야 합니다.

🔧 검증 코드

출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인합니다.

Shell / Script
uname -r

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Linux Kernel