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

CVE-2025-21820 tty: xilinx_uartps: split sysrq handling

설명

In the Linux kernel, the following vulnerability has been resolved: tty: xilinx_uartps: split sysrq handling lockdep detects the following circular locking dependency: CPU 0 CPU 1 ========================== ============================ cdns_uart_isr() printk() uart_port_lock(port) console_lock() cdns_uart_console_write() if (!port->sysrq) uart_port_lock(port) uart_handle_break() port->sysrq = ... uart_handle_sysrq_char() printk() console_lock() The fixed commit attempts to avoid this situation by only taking the port lock in cdns_uart_console_write if port->sysrq unset. However, if (as shown above) cdns_uart_console_write runs before port->sysrq is set, then it will try to take the port lock anyway. This may result in a deadlock. Fix this by splitting sysrq handling into two parts. We use the prepare helper under the port lock and defer handling until we release the lock.

영향 받는 제품 제품 1개

  • Linux

    Linux

    해결 버전 있음

    영향 받는 버전

    • 4.6

    해결 버전

    • 4.6 미만
    • 5.15.179 이상
    • 6.1.129 이상
    • 6.6.78 이상
    • 6.12.14 이상
    • 6.13.3 이상

참고 자료 6건

‹ 목록

점검 지원 범위 문의

도입 문의