🔍 CVE-2026-80659

0.0
CVSS Score
UNKNOWN
2026-08-28
2026-08-28 08:16
✅ 완료

🇰🇷 한글 설명

Linux 커널의 mmc vub300 드라이버에서 명령 응답 대기 중 타임아웃이 발생할 경우, cmd_mutex를 보유한 상태에서 usb_reset_device()를 호출하여 동일한 뮤텍스를 재귀적으로 획득하려 시도하는 데드락 취약점이 존재합니다. 이로 인해 커널 워커 스레드가 무한 대기 상태에 빠질 수 있습니다.

💡 쉬운 설명

장치가 응답하지 않을 때 시스템이 이를 초기화하려다 자기 자신을 기다리며 멈춰버리는 현상이 발생할 수 있습니다. 이로 인해 시스템이 응답하지 않거나 먹통이 될 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: mmc: vub300: defer reset until cmd_mutex is unlocked vub300_cmndwork_thread() holds cmd_mutex while it sends a command and waits for the command response. If the response wait times out, __vub300_command_response() kills the command URBs and then synchronously resets the USB device through usb_reset_device(). That reset path re-enters the driver through vub300_pre_reset(), which also takes cmd_mutex. The worker therefore tries to acquire the same mutex recursively while it is still holding it from the command path. This issue was found by our static analysis tool and then manually reviewed against the current tree. The grounded PoC kept the real worker and timeout/reset carrier: vub300_cmndwork_thread() __vub300_command_response() usb_lock_device_for_reset() usb_reset_device() vub300_pre_reset() Lockdep reported the same-task recursive acquisition on cmd_mutex: WARNING: possible recursive locking detected ... (&test_vub300.cmd_mutex) ... at: usb_reset_device... [vuln_msv] ... (&test_vub300.cmd_mutex) ... at: vub300_cmndwork_thread+0x12/0x20 [vuln_msv] Workqueue: vub300_cmd_wq vub300_cmndwork_thread [vuln_msv] *** DEADLOCK *** Return a flag from __vub300_command_response() when the timeout path needs a device reset, then perform the reset after vub300_cmndwork_thread() has cleared the in-flight command state and dropped cmd_mutex. The reset is still attempted before mmc_request_done(), preserving the existing request completion ordering while avoiding the recursive lock.

📍 영향받는 시스템

Linux kernel (vub300 mmc driver 포함 버전)

⚔️ 공격 벡터

물리적 또는 소프트웨어적 방식으로 vub300 장치의 명령 응답을 지연시켜 타임아웃 및 데드락 유도

🛡️ 대응 방법

커널 패치를 통해 cmd_mutex가 해제된 후 장치 리셋이 수행되도록 드라이버 로직 업데이트

🔧 검증 코드

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

Shell / Script
uname -r

💻 영향받는 소프트웨어

Linux Kernel