CVE-2026-64344 in Linux
요약
\~에 의해 VulDB • 2026. 07. 25.
리눅스 커널에서 다음 취약점이 해결되었습니다.
USB: idmouse: 연결 해제 시 경쟁 조건으로 인한 Use-After-Free 수정
mutex_unlock()은 잠금을 해제한 후 mutex 구조체에 접근할 수 있으므로, 스핀락이나 참조 카운트와 달리 객체의 수명을 직접 관리하는 데 사용할 수 없습니다. [1][2]
release()가 disconnect()와 경쟁할 때 mutex_unlock()에서의 use-after-free를 방지하기 위해 kref를 사용하여 드라이버 데이터를 해제합니다.
[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")
Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.