🔍 CVE-2026-46228

5.5
CVSS Score
MEDIUM
2026-05-28
2026-10-21 13:19
✅ 완료

🇰🇷 한글 설명

리눅스 커널의 SPI ch341 드라이버에서 장치 관리 리소스의 수명 주기가 잘못 연결되어 있어 드라이버 언바인드 시 메모리 누수가 발생하는 취약점입니다. 이 문제는 리소스가 부모 USB 장치 대신 인터페이스에 종속되도록 수정하여 해결되었습니다.

💡 쉬운 설명

USB 장치를 분리하지 않고 드라이버만 비활성화할 때 메모리가 제대로 정리되지 않는 버그입니다. 이제 드라이버를 비활성화하면 관련 메모리가 올바르게 해제됩니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: spi: ch341: fix devres lifetime USB drivers bind to USB interfaces and any device managed resources should have their lifetime tied to the interface rather than parent USB device. This avoids issues like memory leaks when drivers are unbound without their devices being physically disconnected (e.g. on probe deferral or configuration changes). Fix the controller and driver data lifetime so that they are released on driver unbind. Note that this also makes sure that the SPI controller is placed correctly under the USB interface in the device tree.

📍 영향받는 시스템

Linux kernel (spi: ch341 드라이버가 포함된 모든 버전)

⚔️ 공격 벡터

로컬 드라이버 언바인드 또는 프로브 지연 상황에서의 메모리 누수

🛡️ 대응 방법

리눅스 커널을 최신 안정 버전으로 업데이트하거나 해당 패치를 적용합니다.

🔧 검증 코드

명령어 실행 시 ch341 모듈이 존재하면 해당 커널 버전에서 패치 적용 여부를 확인해야 합니다.

Shell / Script
grep -r 'ch341' /lib/modules/$(uname -r)/kernel/drivers/spi/ 2>/dev/null | head -n 1

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

💻 영향받는 소프트웨어

Linux Kernel