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.
Published: 2026-09-25
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Uninitialized Kernel Lock Leading to Undefined Behavior
Action: Apply Patch
AI Analysis

Impact

An uninitialized read‑write lock, ptp_lock, is used by the stmmac network driver when the interface is down and has never been opened. The lock is initialized only after the driver is opened, but it is accessed during configuration of TAPRIO schedules that obtain the PTP gettime64() callback. Using an uninitialized lock triggers undefined behaviour in the kernel, which can manifest as a crash, data corruption, or other kernel instability.

Affected Systems

All Linux kernel releases that include the stmmac driver before the fix for this issue. Linux distributions that ship a kernel with this driver and have not yet applied the patch are potentially affected.

Risk and Exploitability

The CVSS score is 5.5 and the EPSS score is <1%, indicating a low probability of exploitation. The vulnerability is not listed in the CISA KEV catalog, so no public exploitation is known. The likely attack vector is local; an attacker would need to manipulate the network interface configuration or trigger a TAPRIO schedule on an interface powered by the stmmac driver. The impact of an exploit would be kernel instability such as a panic or corrupt state, but does not provide a straightforward privilege escalation path.

Generated by OpenCVE AI on October 1, 2026 at 07:19 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the system to a kernel version where the stmmac driver has been patched to initialize ptp_lock during probe.
  • If an upgrade is not immediately possible, disable PTP functionality on affected interfaces or prevent the stmmac driver from loading before the kernel patch is applied.
  • Monitor kernel logs for unexpected panics or PTP‑related errors and apply the patch as soon as it becomes available.

Generated by OpenCVE AI on October 1, 2026 at 07:19 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4817-1 linux-6.12 security update
Debian DLA Debian DLA DLA-4841-1 linux security update
Debian DSA Debian DSA DSA-6528-1 linux security update
Ubuntu USN Ubuntu USN USN-8961-1 Linux kernel vulnerabilities
History

Sat, 03 Oct 2026 11:15:00 +0000


Thu, 01 Oct 2026 05:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-457
CWE-665

Wed, 30 Sep 2026 12:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-908
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Low


Fri, 25 Sep 2026 15:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-457
CWE-665

Fri, 25 Sep 2026 10:30:00 +0000

Type Values Removed Values Added
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.
Title net: stmmac: initialize ptp_lock at probe time
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-10-19T09:11:29.173Z

Reserved: 2026-09-25T10:18:58.206Z

Link: CVE-2026-97963

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-25T11:17:24.080

Modified: 2026-10-19T10:17:47.687

Link: CVE-2026-97963

cve-icon Redhat

Severity : Low

Publid Date: 2026-09-25T00:00:00Z

Links: CVE-2026-97963 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-01T07:30:02Z

Weaknesses
  • CWE-908

    Use of Uninitialized Resource