# CVE-2026-97963: net: stmmac: initialize ptp_lock at probe time

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 7% of CVEs (2026-11-30)
- Published: 2026-09-25T10:23:06.749Z
- Modified: 2026-10-19T10:17:47.687Z
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from b60189e0392fa06348911077ef281eb2b1047b6a before ee33e424d4932c70f103b94a46b685923f236f65; from b60189e0392fa06348911077ef281eb2b1047b6a before 7ced87834f3a58761d4bbcabf8326478548e6a54; from b60189e0392fa06348911077ef281eb2b1047b6a before 79fb5bcc50996964e076dffbdc24b7d2c06bd957; from b60189e0392fa06348911077ef281eb2b1047b6a before 420315413b29635de1d4ea4142e410e6465260f3; from b60189e0392fa06348911077ef281eb2b1047b6a before 25cc0096efba83b4e0e6fa50f03e9543b41e9d3d; from b60189e0392fa06348911077ef281eb2b1047b6a before b1986595cf827c38ff929e22fbc9ca8f76379306; from b60189e0392fa06348911077ef281eb2b1047b6a before 0338c68e22abd2ee509ec2e32508a50896618c32; 5.6 (not affected: before 5.6; from 5.15.222 up to 5.15.*; from 6.1.189 up to 6.1.*; from 6.6.158 up to 6.6.*; from 6.12.111 up to 6.12.*; from 6.18.53 up to 6.18.*; from 7.2.7 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/ee33e424d4932c70f103b94a46b685923f236f65>
- <https://git.kernel.org/stable/c/7ced87834f3a58761d4bbcabf8326478548e6a54>
- <https://git.kernel.org/stable/c/79fb5bcc50996964e076dffbdc24b7d2c06bd957>
- <https://git.kernel.org/stable/c/420315413b29635de1d4ea4142e410e6465260f3>
- <https://git.kernel.org/stable/c/25cc0096efba83b4e0e6fa50f03e9543b41e9d3d>
- <https://git.kernel.org/stable/c/b1986595cf827c38ff929e22fbc9ca8f76379306>
- <https://git.kernel.org/stable/c/0338c68e22abd2ee509ec2e32508a50896618c32>

## Sources

- CVE List: [CVE-2026-97963](https://www.cve.org/CVERecord?id=CVE-2026-97963), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-97963](https://nvd.nist.gov/vuln/detail/CVE-2026-97963), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-97963 · Whole record: https://cve.day/CVE-2026-97963.json · Rebuilt by cve.day 2026-11-25T22:59:41.005Z
