🔍 CVE-2026-89887

7.8
CVSS Score
HIGH
2026-09-16
2026-10-19 09:18
✅ 완료

🇰🇷 한글 설명

Linux 커널의 ov7740 드라이버에서 리소스 해제 순서 오류로 인해 Use-After-Destroy 및 Double-Free 취약점이 발견되었습니다. ov7740_remove() 함수가 뮤텍스를 먼저 파괴한 후 이를 사용하는 컨트롤 핸들러를 해제하여 커널 패닉을 유발하고, 중복 해제로 인해 시스템 안정성을 해칠 수 있습니다.

💡 쉬운 설명

카메라 부품을 제어하는 소프트웨어가 종료될 때, 사용해야 할 도구를 먼저 버려버리는 실수를 하여 컴퓨터 시스템이 갑자기 멈추거나 오류가 발생하는 문제입니다. 이로 인해 시스템이 충돌하거나 예상치 못한 동작을 할 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: media: i2c: ov7740: fix use-after-destroy in remove The ov7740_remove() function had a severe teardown order bug where it destroyed the driver's mutex before freeing the V4L2 control handler which relies on that mutex, leading to a use-after-destroy kernel panic. Furthermore, the driver explicitly called v4l2_ctrl_handler_free() and mutex_destroy() sequentially, but then called ov7740_free_controls() which invokes both of them a second time, resulting in a double-free. This patch fixes the issue by unregistering the subdevice first, and relying exclusively on ov7740_free_controls() to safely tear down the mutex and control handler in the correct order.

📍 영향받는 시스템

ov7740 드라이버를 사용하는 Linux 커널 기반 시스템

⚔️ 공격 벡터

로컬 권한을 가진 공격자가 드라이버의 제거(remove) 프로세스를 유도하여 커널 패닉 유발

🛡️ 대응 방법

ov7740 드라이버의 리소스 해제 순서가 수정된 최신 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