🔍 CVE-2026-64340

7.8
CVSS Score
HIGH
2026-07-25
2026-09-03 16:01
✅ 완료

🇰🇷 한글 설명

Linux 커널의 legousbtower 드라이버에서 연결 해제 시 발생하는 레이스 컨디션으로 인해 Use-After-Free 취약점이 발생합니다. mutex_unlock() 호출 시 뮤텍스 구조체에 접근하는 과정에서 객체의 수명 관리가 적절히 이루어지지 않아 메모리 오류가 발생할 수 있습니다.

💡 쉬운 설명

USB 장치를 연결하거나 해제할 때 프로그램이 메모리를 잘못 관리하여 시스템이 충돌하거나 보안 문제가 생길 수 있는 결함입니다. 장치를 갑자기 뽑는 상황에서 컴퓨터 내부의 데이터 처리 순서가 꼬이면서 발생합니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: USB: legousbtower: fix use-after-free on disconnect race mutex_unlock() may access the mutex structure after releasing the lock and therefore cannot be used to manage lifetime of objects directly (unlike spinlocks and refcounts). [1][2] Use a kref to release the driver data to avoid use-after-free in mutex_unlock() when release() races with disconnect(). [1] a51749ab34d9 ("locking/mutex: Document that mutex_unlock() is non-atomic") [2] 2b9d9e0a9ba0 ("locking/mutex: Clarify that mutex_unlock(), and most other sleeping locks, can still use the lock object after it's unlocked")

📍 영향받는 시스템

Linux kernel (legousbtower 드라이버를 사용하는 시스템)

⚔️ 공격 벡터

USB 장치의 연결 및 해제 과정을 정밀하게 조작하여 메모리 오류 유도

🛡️ 대응 방법

kref를 사용하여 드라이버 데이터의 수명을 관리하도록 커널 패치 적용

🔧 검증 코드

현재 실행 중인 커널 버전을 확인하여 해당 취약점이 해결된 패치 버전인지 확인합니다.

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