🔍 CVE-2026-98757

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

🇰🇷 한글 설명

Linux 커널의 cdns3 드라이버에서 cdns3_gadget_exit() 함수 호출 시 대기 중인 작업(work)들을 기다리지 않아 발생하는 Use-After-Free 취약점입니다. 이로 인해 드라이버가 해제된 후에도 메모리에 접근을 시도하여 시스템 불안정이나 보안 문제를 일으킬 수 있습니다.

💡 쉬운 설명

컴퓨터 부품을 끄는 과정에서 아직 처리 중인 작업이 남아있는데, 작업이 끝나기도 전에 메모리를 먼저 비워버려 발생하는 오류입니다. 이로 인해 시스템이 갑자기 멈추거나 해킹의 통로가 될 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: usb: cdns3: fix use-after-free in cdns3_gadget_exit() cdns3_gadget_start() arms two works on system_freezable_wq: pending_status_wq for the deferred ep0 status stage and aligned_buf_wq for realigned request buffers. Both handlers use the cdns3_device the works are embedded in, and cdns3_pending_setup_status_handler() also calls the ep0 request completion. cdns3_gadget_exit() does not wait for these works. It frees all endpoints and aligned buffers and drops the last reference to the gadget device, which frees priv_dev, so a work queued before the exit can run after the free. Fix this by waiting for both works after the gadget driver is unbound and the IRQ is freed, when no new work can be queued, and before the endpoints and buffers are released. This issue was found by an in-house static analysis tool.

📍 영향받는 시스템

Linux kernel (cdns3 driver 사용 시스템)

⚔️ 공격 벡터

USB 가젯 드라이버의 종료 과정을 유도하여 메모리 오류를 발생시키는 로컬 또는 물리적 접근 공격

🛡️ 대응 방법

Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.

🔧 검증 코드

출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인하십시오.

Shell / Script
uname -r

💻 영향받는 소프트웨어

Linux Kernel