{"id":"CVE-2026-97963","aliases":["CVE-2026-97963"],"related":[],"kind":"vulnerability","state":"published","title":"net: stmmac: initialize ptp_lock at probe time","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-09-25T10:23:06.749Z","modified":"2026-10-19T10:17:47.687Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"b60189e0392fa06348911077ef281eb2b1047b6a","fixed":"ee33e424d4932c70f103b94a46b685923f236f65","status":"affected"},{"type":"git","introduced":"b60189e0392fa06348911077ef281eb2b1047b6a","fixed":"7ced87834f3a58761d4bbcabf8326478548e6a54","status":"affected"},{"type":"git","introduced":"b60189e0392fa06348911077ef281eb2b1047b6a","fixed":"79fb5bcc50996964e076dffbdc24b7d2c06bd957","status":"affected"},{"type":"git","introduced":"b60189e0392fa06348911077ef281eb2b1047b6a","fixed":"420315413b29635de1d4ea4142e410e6465260f3","status":"affected"},{"type":"git","introduced":"b60189e0392fa06348911077ef281eb2b1047b6a","fixed":"25cc0096efba83b4e0e6fa50f03e9543b41e9d3d","status":"affected"},{"type":"git","introduced":"b60189e0392fa06348911077ef281eb2b1047b6a","fixed":"b1986595cf827c38ff929e22fbc9ca8f76379306","status":"affected"},{"type":"git","introduced":"b60189e0392fa06348911077ef281eb2b1047b6a","fixed":"0338c68e22abd2ee509ec2e32508a50896618c32","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.6","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.6","status":"unaffected"},{"type":"semver","introduced":"5.15.222","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.189","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.158","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.111","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.53","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.7","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/ee33e424d4932c70f103b94a46b685923f236f65","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7ced87834f3a58761d4bbcabf8326478548e6a54","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/79fb5bcc50996964e076dffbdc24b7d2c06bd957","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/420315413b29635de1d4ea4142e410e6465260f3","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/25cc0096efba83b4e0e6fa50f03e9543b41e9d3d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b1986595cf827c38ff929e22fbc9ca8f76379306","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0338c68e22abd2ee509ec2e32508a50896618c32","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-97963","url":"https://www.cve.org/CVERecord?id=CVE-2026-97963","licence":"CVE Terms of Use","modified":"2026-10-19T09:11:29.173Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-97963","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-97963","licence":"Public domain","modified":"2026-10-19T10:17:47.687Z"}],"updatedAt":"2026-11-25T22:59:41.005Z","epss":{"score":0.00215,"percentile":0.06881,"date":"2026-11-30T12:00:22.000Z"}}