🔍 CVE-2026-68222

7.8
CVSS Score
HIGH
2026-08-10
2026-08-19 17:20
✅ 완료

🇰🇷 한글 설명

Linux 커널의 msi2500 미디어 드라이버에서 start_streaming() 함수 호출 실패 시 큐에 대기 중인 버퍼를 적절히 반환하지 못해 발생하는 메모리 누수 취약점입니다. 여러 오류 경로에서 에러 코드가 덮어씌워지거나 버퍼 해제 로직이 누락되어 시스템 자원이 고갈될 수 있습니다.

💡 쉬운 설명

동영상 장치를 시작하려다 오류가 발생했을 때, 사용하던 메모리를 제대로 돌려주지 않고 잃어버리는 버그입니다. 이 문제가 반복되면 컴퓨터의 메모리가 부족해질 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: media: msi2500: Return queued buffers on start_streaming() failure The vb2 framework hands buffers to the driver via buf_queue() before calling start_streaming(). If start_streaming() returns an error without first returning those buffers via vb2_buffer_done(), vb2_start_streaming() fires WARN_ON(owned_by_drv_count) and the queued buffers leak. msi2500_start_streaming() had five error paths that all hit this trap and were further tangled by ret-overwriting between calls: - -ENODEV when the USB device was already disconnected - -ERESTARTSYS when mutex_lock_interruptible() was interrupted - msi2500_set_usb_adc() failure: ret was silently overwritten by the next call (msi2500_isoc_init), so the error was lost entirely - msi2500_isoc_init() failure: cleanup_queued_bufs was called, but the function then fell through to msi2500_ctrl_msg() and again masked the original error by overwriting ret - msi2500_ctrl_msg(CMD_START_STREAMING) failure: no cleanup at all, leaving isoc URBs submitted with no way for the driver to consume them Consolidate the error paths into a small goto chain. Every failure now stops the function, drains the queued-buffer list, and returns the real error code. The ctrl_msg failure path also rolls back the preceding msi2500_isoc_init() via msi2500_isoc_cleanup() before unlocking and draining. The cleanup helper takes a vb2_buffer_state argument so that the start_streaming error paths can pass VB2_BUF_STATE_QUEUED (as expected by userspace on start_streaming failure) while stop_streaming keeps its existing VB2_BUF_STATE_ERROR semantics. This mirrors the uvcvideo fix in commit 4cf3b6fd54eb ("media: uvcvideo: Return queued buffers on start_streaming() failure").

📍 영향받는 시스템

Linux kernel (msi2500 driver module)

⚔️ 공격 벡터

USB 장치 연결 해제 또는 하드웨어 오류를 유도하여 드라이버의 에러 경로를 반복적으로 실행함으로써 메모리 누수 유발

🛡️ 대응 방법

Linux 커널을 최신 패치가 적용된 버전으로 업데이트하여 msi2500 드라이버의 에러 처리 로직을 수정해야 합니다.

🔧 검증 코드

출력된 커널 버전을 확인하여 해당 취약점이 해결된 패치 버전인지 확인합니다.

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

💻 영향받는 소프트웨어

NVIDIA vGPU Guest Driver for Linux