kcve.ai취약점 정보 · 내 자산 확인

CVE-2026-89740 serial: imx: serialize imx_uart_ports[] lifetime

설명

In the Linux kernel, the following vulnerability has been resolved: serial: imx: serialize imx_uart_ports[] lifetime imx_uart_probe() publishes its devm-allocated port in imx_uart_ports[] before uart_add_one_port() because console setup uses the table. The entry is not cleared when adding the port fails or after removal, leaving a dangling pointer. A sibling probe can register the shared console through that stale entry. This was reproduced under KASAN on QEMU mcimx6ul-evk by unbinding a sibling UART, unbinding the console UART and rebinding the sibling. Keep the entry valid through uart_remove_one_port(), then clear it. Protect port addition and removal together with their table updates so sibling operations cannot interleave. Reject an occupied slot rather than clobbering an active port during a duplicate-line probe.

영향 받는 제품 제품 1개

  • Linux

    Linux

    해결 버전 있음

    영향 받는 버전

    • 2.6.27

    해결 버전

    • 2.6.27 미만
    • 5.15.224 이상
    • 6.1.191 이상
    • 6.6.160 이상
    • 6.12.109 이상
    • 6.18.50 이상
    • 7.2.4 이상

참고 자료 7건

‹ 목록

점검 지원 범위 문의

도입 문의