{"id":"CVE-2026-97963","summary":"net: stmmac: initialize ptp_lock at probe time","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: stmmac: initialize ptp_lock at probe time\n\npriv-\u003eptp_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-\u003eptp_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.","modified":"2026-10-09T17:27:01.328368436Z","published":"2026-09-25T10:23:06.749Z","related":["openSUSE-SU-2026:12074-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/97xxx/CVE-2026-97963.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/0338c68e22abd2ee509ec2e32508a50896618c32"},{"type":"WEB","url":"https://git.kernel.org/stable/c/25cc0096efba83b4e0e6fa50f03e9543b41e9d3d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/420315413b29635de1d4ea4142e410e6465260f3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/79fb5bcc50996964e076dffbdc24b7d2c06bd957"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7ced87834f3a58761d4bbcabf8326478548e6a54"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b1986595cf827c38ff929e22fbc9ca8f76379306"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ee33e424d4932c70f103b94a46b685923f236f65"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/97xxx/CVE-2026-97963.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-97963"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"b60189e0392fa06348911077ef281eb2b1047b6a"},{"fixed":"ee33e424d4932c70f103b94a46b685923f236f65"},{"fixed":"7ced87834f3a58761d4bbcabf8326478548e6a54"},{"fixed":"79fb5bcc50996964e076dffbdc24b7d2c06bd957"},{"fixed":"420315413b29635de1d4ea4142e410e6465260f3"},{"fixed":"25cc0096efba83b4e0e6fa50f03e9543b41e9d3d"},{"fixed":"b1986595cf827c38ff929e22fbc9ca8f76379306"},{"fixed":"0338c68e22abd2ee509ec2e32508a50896618c32"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-97963.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.6.0"},{"fixed":"5.15.222"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.189"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.158"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.111"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.53"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.7"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-97963.json"}}],"schema_version":"1.9.0"}