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

CVE-2026-80952 i3c: master: Fix info leak and UAF in device unregister path

설명

In the Linux kernel, the following vulnerability has been resolved: i3c: master: Fix info leak and UAF in device unregister path i3c_master_unregister_i3c_devs() clears i3cdev->dev->desc before calling device_unregister(). During device_unregister(), device_del() emits a KOBJ_REMOVE uevent and unbinds the driver while the device descriptor is still expected to be valid. As a result, i3c_device_uevent() and a racing modalias_show() can observe a NULL desc and fall back to an uninitialized stack struct i3c_device_info, leaking kernel stack contents in the generated modalias. Driver .remove() callbacks may also encounter an unexpected NULL desc during unbind. Keep desc valid until device_unregister() has completed. Since device_unregister() drops the device reference and may free the device, take an extra reference with get_device() before unregistering. Clear desc afterwards and release the extra reference with put_device(). This preserves the release-time invariant that desc must be NULL while avoiding both the information leak and a potential use-after-free from writing desc after the device has been released.

영향 받는 제품 제품 1개

  • Linux

    Linux

    해결 버전 있음

    영향 받는 버전

    • 5.0

    해결 버전

    • 5.0 미만
    • 5.10.270 이상
    • 5.15.221 이상
    • 6.1.188 이상
    • 6.6.157 이상
    • 6.12.109 이상
    • 6.18.50 이상
    • 7.2.4 이상

참고 자료 8건

‹ 목록

점검 지원 범위 문의

도입 문의