🔍 CVE-2026-89735

0.0
CVSS Score
UNKNOWN
2026-09-11
2026-10-19 09:18
✅ 완료

🇰🇷 한글 설명

Linux 커널의 usb: gadget: midi2 구성 요소에서 teardown 과정 중 기본 configfs 그룹을 제거하지 않아 발생하는 메모리 누수 취약점입니다. f_midi2_free_inst() 및 f_midi2_ep_opts_release() 함수에서 configfs_remove_default_groups()가 호출되지 않아 관련 구조체의 참조 횟수가 줄어들지 않습니다.

💡 쉬운 설명

USB 장치 기능을 사용하는 과정에서 사용이 끝난 메모리 자원을 제대로 반환하지 않고 남겨두는 버그입니다. 이 문제가 반복되면 시스템의 메모리가 조금씩 낭비되어 성능 저하나 불안정을 초래할 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: usb: gadget: midi2: remove default configfs groups on teardown f_midi2_alloc_inst() creates default configfs child groups for the default endpoint and default block using configfs_add_default_group(), setting their internal refcount to 1. However, during function teardown in f_midi2_free_inst() or EP cleanup in f_midi2_ep_opts_release(), configfs_remove_default_groups() is never called, therefore never dropping the refcount and leaking struct f_midi2_ep_opts and f_midi2_block_opts. Add the missing configfs_remove_default_groups() in the afformentioned functions to free the structs properly.

📍 영향받는 시스템

Linux kernel (usb: gadget: midi2 관련 모듈 사용 시)

⚔️ 공격 벡터

로컬 공격자가 MIDI2 가젯 기능을 반복적으로 생성하고 해제하여 메모리 누수를 유도할 수 있음

🛡️ 대응 방법

Linux 커널을 최신 패치가 적용된 버전으로 업데이트하여 configfs 그룹 제거 로직을 포함해야 함

🔧 검증 코드

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

Shell / Script
uname -r

💻 영향받는 소프트웨어

Linux Kernel