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

CVE-2026-53297 net: mana: Guard mana_remove against double invocation

설명

In the Linux kernel, the following vulnerability has been resolved: net: mana: Guard mana_remove against double invocation If PM resume fails (e.g., mana_attach() returns an error), mana_probe() calls mana_remove(), which tears down the device and sets gd->gdma_context = NULL and gd->driver_data = NULL. However, a failed resume callback does not automatically unbind the driver. When the device is eventually unbound, mana_remove() is invoked a second time. Without a NULL check, it dereferences gc->dev with gc == NULL, causing a kernel panic. Add an early return if gdma_context or driver_data is NULL so the second invocation is harmless. Move the dev = gc->dev assignment after the guard so it cannot dereference NULL.

영향 받는 제품 제품 1개

  • Linux

    Linux

    해결 버전 있음

    영향 받는 버전

    • 5.16

    해결 버전

    • 5.16 미만
    • 6.1.191 이상
    • 6.6.160 이상
    • 6.12.114 이상
    • 6.18.33 이상
    • 7.0.10 이상

참고 자료 6건

‹ 목록

점검 지원 범위 문의

도입 문의