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

CVE-2026-97963 net: stmmac: initialize ptp_lock at probe time

설명

In the Linux kernel, the following vulnerability has been resolved: net: stmmac: initialize ptp_lock at probe time priv->ptp_lock is only initialized in stmmac_ptp_register(), which runs during __stmmac_open(). However, the lock is also used while the interface is down and has never been opened: tc_taprio_configure() invokes the PTP gettime64() callback to compute the EST base time when offloading a TAPRIO schedule, and stmmac_get_time() takes priv->ptp_lock. Using an uninitialized rwlock is undefined behaviour. Move the rwlock_init() to __stmmac_dvr_probe(), together with the other private locks, so that ptp_lock is always valid regardless of the interface state.

영향 받는 제품 제품 1개

  • Linux

    Linux

    해결 버전 있음

    영향 받는 버전

    • 5.6

    해결 버전

    • 5.6 미만
    • 5.15.222 이상
    • 6.1.189 이상
    • 6.6.158 이상
    • 6.12.111 이상
    • 6.18.53 이상
    • 7.2.7 이상

참고 자료 7건

‹ 목록

점검 지원 범위 문의

도입 문의