kcve.ai취약점 정보 · 내 자산 확인

CVE-2026-89887 media: i2c: ov7740: fix use-after-destroy in remove

설명

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.

영향 받는 제품 제품 1개

  • Linux

    Linux

    해결 버전 있음

    영향 받는 버전

    • 4.16

    해결 버전

    • 4.16 미만
    • 5.10.270 이상
    • 5.15.221 이상
    • 6.1.188 이상
    • 6.6.157 이상
    • 6.12.110 이상
    • 6.18.51 이상
    • 7.2.5 이상

참고 자료 8건

‹ 목록

점검 지원 범위 문의

도입 문의