🔍 CVE-2025-38416

7.8
CVSS Score
HIGH
2025-07-25
2026-07-30 06:23
✅ 완료

🇰🇷 한글 설명

리눅스 커널의 NFC NCI UART 드라이버에서 장치 오픈 과정 중 tty->disc_data를 설정하는 시점이 부적절하여 발생하는 취약점입니다. 장치 오픈이 완전히 성공하기 전에 데이터를 설정함으로써 오류 발생 시 정리 작업이 필요하거나 데이터가 조기에 유입될 수 있는 보안 허점이 존재했습니다.

💡 쉬운 설명

NFC 장치를 연결할 때 준비 과정이 채 끝나기도 전에 데이터를 처리하려고 시도하여 시스템에 혼란을 줄 수 있는 문제입니다. 이로 인해 장치가 오작동하거나 예기치 않은 오류가 발생할 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: NFC: nci: uart: Set tty->disc_data only in success path Setting tty->disc_data before opening the NCI device means we need to clean it up on error paths. This also opens some short window if device starts sending data, even before NCIUARTSETDRIVER IOCTL succeeded (broken hardware?). Close the window by exposing tty->disc_data only on the success path, when opening of the NCI device and try_module_get() succeeds. The code differs in error path in one aspect: tty->disc_data won't be ever assigned thus NULL-ified. This however should not be relevant difference, because of "tty->disc_data=NULL" in nci_uart_tty_open().

📍 영향받는 시스템

NFC NCI UART 드라이버를 사용하는 리눅스 커널 버전

⚔️ 공격 벡터

취약한 드라이버가 로드된 상태에서 조작된 NFC 하드웨어 또는 데이터를 통해 장치 오픈 과정의 오류를 유도함

🛡️ 대응 방법

리눅스 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 NCI UART 드라이버의 수정 사항을 반영해야 함

🔧 검증 코드

출력된 커널 버전을 확인하여 해당 취약점이 해결된 최신 패치 버전인지 확인합니다.

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