🔍 CVE-2026-64242

7.8
CVSS Score
HIGH
2026-07-24
2026-08-13 17:22
✅ 완료

🇰🇷 한글 설명

Linux 커널의 usb: gadget: net2280 드라이버에서 프로브 오류 경로 발생 시 double free 취약점이 발견되었습니다. 장치 초기화 실패 시 net2280_remove()가 참조를 해제한 후, 이후에 kfree()를 중복 호출하여 메모리 오류를 유발할 수 있습니다.

💡 쉬운 설명

장치를 연결하는 과정에서 오류가 발생했을 때, 이미 삭제된 메모리 영역을 컴퓨터가 한 번 더 삭제하려고 시도하는 문제입니다. 이로 인해 시스템이 불안정해지거나 보안 문제가 발생할 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: usb: gadget: net2280: Fix double free in probe error path usb_initialize_gadget() installs gadget_release() as the release callback for the embedded gadget device. The struct net2280 instance is therefore released through gadget_release() when the gadget device's last reference is dropped. The probe error path calls net2280_remove(), which tears down the partially initialized device and drops the gadget reference with usb_put_gadget(). Calling kfree(dev) afterwards can free the same object again. Drop the explicit kfree() and let the gadget device release callback handle the final free. This issue was found by a static analysis tool I am developing.

📍 영향받는 시스템

Linux kernel (usb: gadget: net2280 드라이버를 사용하는 시스템)

⚔️ 공격 벡터

로컬 공격자가 특정 USB 가젯 장치를 조작하여 프로브 오류를 유도함으로써 메모리 손상 유발 가능

🛡️ 대응 방법

Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 중복 해제 코드를 제거해야 함

🔧 검증 코드

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

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