{
  "schema_version": "1.6.1",
  "id": "RPI-CVE-2026-97963",
  "modified": "2026-10-07T17:22:01Z",
  "upstream": [
    "CVE-2026-97963"
  ],
  "published": "2026-09-25T10:24:31Z",
  "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->ptp_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->ptp_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.",
  "affected": [
    {
      "package": {
        "ecosystem": "Raspberry Pi OS:12",
        "name": "linux"
      },
      "versions": [
        "1:6.1.47-1+rpt4"
      ],
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-2712",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v6",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v7",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v7l",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v8",
            "binary_version": "1:6.1.47-1+rpt4"
          }
        ]
      },
      "database_specific": {
        "per_version": {
          "1:6.1.47-1+rpt4": {
            "linux_commit": "655fc658a15ae7a6f37103754adb39ba52a9a14e",
            "upstream_version": "6.1.47",
            "assessment": "commit ancestry (strak rule)",
            "upstream_fixed": "6.1.189",
            "compiled_filter": false
          }
        }
      }
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.cve.org/CVERecord?id=CVE-2026-97963"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/ee33e424d4932c70f103b94a46b685923f236f65"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/7ced87834f3a58761d4bbcabf8326478548e6a54"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/79fb5bcc50996964e076dffbdc24b7d2c06bd957"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/420315413b29635de1d4ea4142e410e6465260f3"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/25cc0096efba83b4e0e6fa50f03e9543b41e9d3d"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/b1986595cf827c38ff929e22fbc9ca8f76379306"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/0338c68e22abd2ee509ec2e32508a50896618c32"
    }
  ],
  "database_specific": {
    "source": "https://git.kernel.org/pub/scm/linux/security/vulns.git",
    "upstream_modified": "2026-10-03T11:04:09Z"
  }
}
