🔍 CVE-2026-64585

7.8
CVSS Score
HIGH
2026-08-06
2026-08-23 13:16
✅ 완료

🇰🇷 한글 설명

Linux 커널의 can: esd_usb 드라이버에서 네트워크 장치를 해제하기 전에 연결된 URB를 먼저 종료하지 않아 발생하는 Use-After-Free 취약점입니다. 장치가 해제된 후 메모리에 접근하여 TX 앵커를 종료하려고 시도함으로써 시스템 불안정성이나 메모리 오류를 유발할 수 있습니다.

💡 쉬운 설명

컴퓨터 부품을 제거할 때, 사용 중인 데이터를 먼저 정리하지 않고 부품부터 바로 버려서 발생하는 오류입니다. 이로 인해 시스템이 갑자기 멈추거나 예상치 못한 동작을 할 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: can: esd_usb: kill anchored URBs before freeing netdevs esd_usb_disconnect() frees each CAN netdev with free_candev() inside its per-netdev loop and only calls unlink_all_urbs(dev) afterwards. The per-netdev private data (struct esd_usb_net_priv) is embedded in the net_device allocation returned by alloc_candev(), so once free_candev() has run, dev->nets[i] points to freed memory. unlink_all_urbs() then dereferences the freed dev->nets[i] to kill the per-netdev TX anchor (usb_kill_anchored_urbs(&priv->tx_submitted)), clear active_tx_jobs, and reset priv->tx_contexts[]. Reorder the teardown so the anchored URBs are killed before the netdevs are freed, matching other CAN/USB drivers in the same directory such as ems_usb, usb_8dev and mcba_usb, which unregister, then unlink, then free: unregister the netdevs first (which stops their TX queues), call unlink_all_urbs(dev) once, then free the netdevs. This issue was found by an in-house static analysis tool.

📍 영향받는 시스템

Linux kernel (esd_usb 드라이버를 사용하는 CAN/USB 장치 환경)

⚔️ 공격 벡터

USB 장치 연결 해제 시 발생하는 메모리 관리 오류를 이용한 로컬 공격

🛡️ 대응 방법

Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 teardown 순서를 수정한 패치를 적용하십시오.

🔧 검증 코드

출력된 커널 버전이 취약점이 해결된 최신 패치 버전인지 확인하십시오.

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