🔍 CVE-2026-98772

0.0
CVSS Score
UNKNOWN
2026-10-18
2026-10-21 13:21
✅ 완료

🇰🇷 한글 설명

리눅스 커널의 USB 시리얼 드라이버에서 포트 해제 시 Use-After-Free 취약점이 발견되었습니다. 멀티포트 장치의 연결 해제 과정에서 I/O가 완전히 중단되기 전에 드라이버 데이터가 해제되어 발생하는 레이스 컨디션 문제입니다. 이를 해결하기 위해 모든 포트의 연결이 끊기고 드라이버의 disconnect 콜백이 실행된 후에만 포트 등록 해제가 이루어지도록 순서를 조정했습니다.

💡 쉬운 설명

USB 장치를 컴퓨터에서 뽑을 때, 장치가 사용 중인 데이터가 메모리에서 먼저 사라져서 시스템이 혼란을 겪는 문제입니다. 이로 인해 시스템이 멈추거나 보안 문제가 생길 수 있는데, 장치가 완전히 꺼진 것을 확인한 후 데이터를 지우도록 수정되었습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: USB: serial: fix port tear down use-after-free Some drivers for multiport devices access port driver data from completion handlers of shared URBs submitted at attach() or first open() and stopped at disconnect() or last close(), respectively. A simple NULL check before accessing the driver data makes sure that a port state container has at least been allocated, but a completion handler can still race with port tear down. Reorder the disconnect handling so that ports are not deregistered (and their driver data freed) until after all ports have been hung up and the driver disconnect() callback has run so that all I/O has been stopped.

📍 영향받는 시스템

USB 시리얼 드라이버를 사용하는 리눅스 커널 버전

⚔️ 공격 벡터

USB 멀티포트 장치의 연결 및 해제 과정을 조작하여 메모리 오류를 유도하는 레이스 컨디션 공격

🛡️ 대응 방법

해당 취약점이 수정된 최신 리눅스 커널 버전으로 업데이트

🔧 검증 코드

출력된 커널 버전이 해당 패치가 적용된 보안 업데이트 버전인지 확인

Shell / Script
uname -r

💻 영향받는 소프트웨어

Linux Kernel