{"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-09-26T03:48:30.923510104Z","published":"2026-09-25T10:23:06.749Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/97xxx/CVE-2026-97963.json","cna_assigner":"Linux"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"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/b1986595cf827c38ff929e22fbc9ca8f76379306"},{"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"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"b60189e0392fa06348911077ef281eb2b1047b6a"},{"fixed":"420315413b29635de1d4ea4142e410e6465260f3"},{"fixed":"25cc0096efba83b4e0e6fa50f03e9543b41e9d3d"},{"fixed":"b1986595cf827c38ff929e22fbc9ca8f76379306"},{"fixed":"0338c68e22abd2ee509ec2e32508a50896618c32"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-97963.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.6.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/cve-osv-conversion/osv-output/CVE-2026-97963.json"}}],"schema_version":"1.9.0"}