🔍 CVE-2023-53094

7.8
CVSS Score
HIGH
2025-05-02
2026-08-04 10:18
✅ 완료

🇰🇷 한글 설명

Linux 커널의 fsl_lpuart 드라이버에서 DMA 종료 과정 중 레이스 컨디션(Race Condition)이 발생할 수 있는 취약점입니다. DMA 종료 중에 인터럽트가 발생하여 타이머가 다시 설정될 경우, NULL 포인터 역참조로 인해 커널 패닉이 발생할 수 있습니다.

💡 쉬운 설명

장치를 끄는 도중에 갑자기 데이터가 들어오면 컴퓨터의 핵심 시스템이 혼란에 빠져 멈춰버릴 수 있는 문제입니다. 이를 방지하기 위해 장치를 끄는 순서를 안전하게 수정했습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: tty: serial: fsl_lpuart: fix race on RX DMA shutdown From time to time DMA completion can come in the middle of DMA shutdown: <process ctx>: <IRQ>: lpuart32_shutdown() lpuart_dma_shutdown() del_timer_sync() lpuart_dma_rx_complete() lpuart_copy_rx_to_tty() mod_timer() lpuart_dma_rx_free() When the timer fires a bit later, sport->dma_rx_desc is NULL: Unable to handle kernel NULL pointer dereference at virtual address 0000000000000004 pc : lpuart_copy_rx_to_tty+0xcc/0x5bc lr : lpuart_timer_func+0x1c/0x2c Call trace: lpuart_copy_rx_to_tty lpuart_timer_func call_timer_fn __run_timers.part.0 run_timer_softirq __do_softirq __irq_exit_rcu irq_exit handle_domain_irq gic_handle_irq call_on_irq_stack do_interrupt_handler ... To fix this fold del_timer_sync() into lpuart_dma_rx_free() after dmaengine_terminate_sync() to make sure timer will not be re-started in lpuart_copy_rx_to_tty() <= lpuart_dma_rx_complete().

📍 영향받는 시스템

Linux Kernel (fsl_lpuart 드라이버를 사용하는 시스템)

⚔️ 공격 벡터

특정 하드웨어 인터럽트 타이밍을 조작하여 커널의 NULL 포인터 역참조 유도 (로컬/하드웨어 제어 필요)

🛡️ 대응 방법

Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.

🔧 검증 코드

출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인하십시오.

Shell / Script
uname -r

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Linux Kernel