CVE-2026-97963 (GCVE-0-2026-97963)
Vulnerability from cvelistv5
Published
2026-09-25 10:23
Modified
2026-10-19 09:11
Severity ?
Summary
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.
Impacted products
Vendor Product Version
Linux Linux Version: b60189e0392fa06348911077ef281eb2b1047b6a
Version: b60189e0392fa06348911077ef281eb2b1047b6a
Version: b60189e0392fa06348911077ef281eb2b1047b6a
Version: b60189e0392fa06348911077ef281eb2b1047b6a
Version: b60189e0392fa06348911077ef281eb2b1047b6a
Version: b60189e0392fa06348911077ef281eb2b1047b6a
Version: b60189e0392fa06348911077ef281eb2b1047b6a
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/ethernet/stmicro/stmmac/stmmac_main.c",
            "drivers/net/ethernet/stmicro/stmmac/stmmac_ptp.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "ee33e424d4932c70f103b94a46b685923f236f65",
              "status": "affected",
              "version": "b60189e0392fa06348911077ef281eb2b1047b6a",
              "versionType": "git"
            },
            {
              "lessThan": "7ced87834f3a58761d4bbcabf8326478548e6a54",
              "status": "affected",
              "version": "b60189e0392fa06348911077ef281eb2b1047b6a",
              "versionType": "git"
            },
            {
              "lessThan": "79fb5bcc50996964e076dffbdc24b7d2c06bd957",
              "status": "affected",
              "version": "b60189e0392fa06348911077ef281eb2b1047b6a",
              "versionType": "git"
            },
            {
              "lessThan": "420315413b29635de1d4ea4142e410e6465260f3",
              "status": "affected",
              "version": "b60189e0392fa06348911077ef281eb2b1047b6a",
              "versionType": "git"
            },
            {
              "lessThan": "25cc0096efba83b4e0e6fa50f03e9543b41e9d3d",
              "status": "affected",
              "version": "b60189e0392fa06348911077ef281eb2b1047b6a",
              "versionType": "git"
            },
            {
              "lessThan": "b1986595cf827c38ff929e22fbc9ca8f76379306",
              "status": "affected",
              "version": "b60189e0392fa06348911077ef281eb2b1047b6a",
              "versionType": "git"
            },
            {
              "lessThan": "0338c68e22abd2ee509ec2e32508a50896618c32",
              "status": "affected",
              "version": "b60189e0392fa06348911077ef281eb2b1047b6a",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/ethernet/stmicro/stmmac/stmmac_main.c",
            "drivers/net/ethernet/stmicro/stmmac/stmmac_ptp.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.6"
            },
            {
              "lessThan": "5.6",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.222",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.189",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.158",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.111",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.53",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.2.*",
              "status": "unaffected",
              "version": "7.2.7",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.3",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.222",
                  "versionStartIncluding": "5.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.189",
                  "versionStartIncluding": "5.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.158",
                  "versionStartIncluding": "5.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.111",
                  "versionStartIncluding": "5.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.53",
                  "versionStartIncluding": "5.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.7",
                  "versionStartIncluding": "5.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3",
                  "versionStartIncluding": "5.6",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "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."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-19T09:11:29.173Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/ee33e424d4932c70f103b94a46b685923f236f65"
        },
        {
          "url": "https://git.kernel.org/stable/c/7ced87834f3a58761d4bbcabf8326478548e6a54"
        },
        {
          "url": "https://git.kernel.org/stable/c/79fb5bcc50996964e076dffbdc24b7d2c06bd957"
        },
        {
          "url": "https://git.kernel.org/stable/c/420315413b29635de1d4ea4142e410e6465260f3"
        },
        {
          "url": "https://git.kernel.org/stable/c/25cc0096efba83b4e0e6fa50f03e9543b41e9d3d"
        },
        {
          "url": "https://git.kernel.org/stable/c/b1986595cf827c38ff929e22fbc9ca8f76379306"
        },
        {
          "url": "https://git.kernel.org/stable/c/0338c68e22abd2ee509ec2e32508a50896618c32"
        }
      ],
      "title": "net: stmmac: initialize ptp_lock at probe time",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-97963",
    "datePublished": "2026-09-25T10:23:06.749Z",
    "dateReserved": "2026-09-25T10:18:58.206Z",
    "dateUpdated": "2026-10-19T09:11:29.173Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…