🔍 CVE-2024-57980

7.8
CVSS Score
HIGH
2025-02-27
2026-11-05 21:17
✅ 완료

🇰🇷 한글 설명

Linux 커널의 uvcvideo 드라이버에서 오류 처리 과정 중 메모리 이중 해제(Double Free) 취약점이 발견되었습니다. uvc_status_init() 함수가 메모리 할당에 실패할 경우, 이미 해제된 dev->status 포인터를 NULL로 초기화하지 않아 uvc_status_cleanup()에서 동일한 메모리를 다시 해제하려고 시도합니다.

💡 쉬운 설명

컴퓨터가 이미 사용을 마친 메모리 공간을 실수로 두 번 지우려고 시도하면서 발생하는 오류입니다. 이 과정에서 시스템이 충돌하거나 보안상 취약점이 생길 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: media: uvcvideo: Fix double free in error path If the uvc_status_init() function fails to allocate the int_urb, it will free the dev->status pointer but doesn't reset the pointer to NULL. This results in the kfree() call in uvc_status_cleanup() trying to double-free the memory. Fix it by resetting the dev->status pointer to NULL after freeing it. Reviewed by: Ricardo Ribalda <[email protected]>

📍 영향받는 시스템

Linux Kernel (uvcvideo 드라이버를 사용하는 시스템)

⚔️ 공격 벡터

USB 비디오 클래스(UVC) 장치를 연결하거나 조작하여 특정 오류 경로를 유도함으로써 발생 가능

🛡️ 대응 방법

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