CVE Catalog

CVE-2026-97963

Unknown
Published: Translated: NVD NIST

Summary

In the Linux kernel net: stmmac driver, ptp_lock was initialized only during PTP registration, but used also when the interface is down, leading to undefined behavior. The fix moves initialization to __stmmac_dvr_probe().

Risk Assessment

The risk includes undefined behavior and potential system crashes during TAPRIO configuration on a down interface.

Recommendation

Apply the Linux kernel update containing this fix to ensure proper ptp_lock initialization.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS