{"id":"CVE-2026-97963","published":"2026-09-25T10:23:06Z","modified":"2026-10-19T09:11:29Z","title":"net: stmmac: initialize ptp_lock at probe time","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: stmmac: initialize ptp_lock at probe time\n\npriv->ptp_lock is only initialized in stmmac_ptp_register(), which runs\nduring __stmmac_open(). However, the lock is also used while the\ninterface is down and has never been opened: tc_taprio_configure()\ninvokes the PTP gettime64() callback to compute the EST base time when\noffloading a TAPRIO schedule, and stmmac_get_time() takes\npriv->ptp_lock. Using an uninitialized rwlock is undefined behaviour.\nMove the rwlock_init() to __stmmac_dvr_probe(), together with the other\nprivate locks, so that ptp_lock is always valid regardless of the\ninterface state.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00173,"percentile":0.06633,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/ee33e424d4932c70f103b94a46b685923f236f65","tags":[]},{"url":"https://git.kernel.org/stable/c/7ced87834f3a58761d4bbcabf8326478548e6a54","tags":[]},{"url":"https://git.kernel.org/stable/c/79fb5bcc50996964e076dffbdc24b7d2c06bd957","tags":[]},{"url":"https://git.kernel.org/stable/c/420315413b29635de1d4ea4142e410e6465260f3","tags":[]},{"url":"https://git.kernel.org/stable/c/25cc0096efba83b4e0e6fa50f03e9543b41e9d3d","tags":[]},{"url":"https://git.kernel.org/stable/c/b1986595cf827c38ff929e22fbc9ca8f76379306","tags":[]},{"url":"https://git.kernel.org/stable/c/0338c68e22abd2ee509ec2e32508a50896618c32","tags":[]}],"priority":{"score":1.3,"factors":[{"name":"EPSS percentile","points":1.33}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= b60189e0392fa06348911077ef281eb2b1047b6a, < ee33e424d4932c70f103b94a46b685923f236f65",">= b60189e0392fa06348911077ef281eb2b1047b6a, < 7ced87834f3a58761d4bbcabf8326478548e6a54",">= b60189e0392fa06348911077ef281eb2b1047b6a, < 79fb5bcc50996964e076dffbdc24b7d2c06bd957",">= b60189e0392fa06348911077ef281eb2b1047b6a, < 420315413b29635de1d4ea4142e410e6465260f3",">= b60189e0392fa06348911077ef281eb2b1047b6a, < 25cc0096efba83b4e0e6fa50f03e9543b41e9d3d",">= b60189e0392fa06348911077ef281eb2b1047b6a, < b1986595cf827c38ff929e22fbc9ca8f76379306",">= b60189e0392fa06348911077ef281eb2b1047b6a, < 0338c68e22abd2ee509ec2e32508a50896618c32"]},{"vendor":"Linux","product":"Linux","versions":["5.6"]}],"euvd":{"id":"EUVD-2026-86817","exploited":false,"provenance":"source"}}