CVE-2025-71196 (GCVE-0-2025-71196)

Vulnerability from cvelistv5 – Published: 2026-02-04 16:04 – Updated: 2026-02-09 08:36
VLAI?
Title
phy: stm32-usphyc: Fix off by one in probe()
Summary
In the Linux kernel, the following vulnerability has been resolved: phy: stm32-usphyc: Fix off by one in probe() The "index" variable is used as an index into the usbphyc->phys[] array which has usbphyc->nphys elements. So if it is equal to usbphyc->nphys then it is one element out of bounds. The "index" comes from the device tree so it's data that we trust and it's unlikely to be wrong, however it's obviously still worth fixing the bug. Change the > to >=.
Severity ?
No CVSS data available.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: 94c358da3a0545205c6c6a50ae26141f1c73acfa , < a9eec890879731c280697fdf1c50699e905b2fa7 (git)
Affected: 94c358da3a0545205c6c6a50ae26141f1c73acfa , < fb9d513cdf1614bf0f0e785816afb1faae3f81af (git)
Affected: 94c358da3a0545205c6c6a50ae26141f1c73acfa , < c06f13876cbad702582cd67fc77356e5524d02cd (git)
Affected: 94c358da3a0545205c6c6a50ae26141f1c73acfa , < 76b870fdaad82171a24b8aacffe5e4d9e0d2ee2c (git)
Affected: 94c358da3a0545205c6c6a50ae26141f1c73acfa , < b91c9f6bfb04e430adeeac7e7ebc9d80f9d72bad (git)
Affected: 94c358da3a0545205c6c6a50ae26141f1c73acfa , < 7c27eaf183563b86d815ff6e9cca0210b4cfa051 (git)
Affected: 94c358da3a0545205c6c6a50ae26141f1c73acfa , < cabd25b57216ddc132efbcc31f972baa03aad15a (git)
Create a notification for this product.
    Linux Linux Affected: 4.17
Unaffected: 0 , < 4.17 (semver)
Unaffected: 5.10.249 , ≤ 5.10.* (semver)
Unaffected: 5.15.199 , ≤ 5.15.* (semver)
Unaffected: 6.1.162 , ≤ 6.1.* (semver)
Unaffected: 6.6.122 , ≤ 6.6.* (semver)
Unaffected: 6.12.67 , ≤ 6.12.* (semver)
Unaffected: 6.18.7 , ≤ 6.18.* (semver)
Unaffected: 6.19 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/phy/st/phy-stm32-usbphyc.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "a9eec890879731c280697fdf1c50699e905b2fa7",
              "status": "affected",
              "version": "94c358da3a0545205c6c6a50ae26141f1c73acfa",
              "versionType": "git"
            },
            {
              "lessThan": "fb9d513cdf1614bf0f0e785816afb1faae3f81af",
              "status": "affected",
              "version": "94c358da3a0545205c6c6a50ae26141f1c73acfa",
              "versionType": "git"
            },
            {
              "lessThan": "c06f13876cbad702582cd67fc77356e5524d02cd",
              "status": "affected",
              "version": "94c358da3a0545205c6c6a50ae26141f1c73acfa",
              "versionType": "git"
            },
            {
              "lessThan": "76b870fdaad82171a24b8aacffe5e4d9e0d2ee2c",
              "status": "affected",
              "version": "94c358da3a0545205c6c6a50ae26141f1c73acfa",
              "versionType": "git"
            },
            {
              "lessThan": "b91c9f6bfb04e430adeeac7e7ebc9d80f9d72bad",
              "status": "affected",
              "version": "94c358da3a0545205c6c6a50ae26141f1c73acfa",
              "versionType": "git"
            },
            {
              "lessThan": "7c27eaf183563b86d815ff6e9cca0210b4cfa051",
              "status": "affected",
              "version": "94c358da3a0545205c6c6a50ae26141f1c73acfa",
              "versionType": "git"
            },
            {
              "lessThan": "cabd25b57216ddc132efbcc31f972baa03aad15a",
              "status": "affected",
              "version": "94c358da3a0545205c6c6a50ae26141f1c73acfa",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/phy/st/phy-stm32-usbphyc.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4.17"
            },
            {
              "lessThan": "4.17",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.249",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.199",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.162",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.122",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.67",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.7",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.19",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.249",
                  "versionStartIncluding": "4.17",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.199",
                  "versionStartIncluding": "4.17",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.162",
                  "versionStartIncluding": "4.17",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.122",
                  "versionStartIncluding": "4.17",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.67",
                  "versionStartIncluding": "4.17",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.7",
                  "versionStartIncluding": "4.17",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.19",
                  "versionStartIncluding": "4.17",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nphy: stm32-usphyc: Fix off by one in probe()\n\nThe \"index\" variable is used as an index into the usbphyc-\u003ephys[] array\nwhich has usbphyc-\u003enphys elements.  So if it is equal to usbphyc-\u003enphys\nthen it is one element out of bounds.  The \"index\" comes from the\ndevice tree so it\u0027s data that we trust and it\u0027s unlikely to be wrong,\nhowever it\u0027s obviously still worth fixing the bug.  Change the \u003e to \u003e=."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-02-09T08:36:21.876Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/a9eec890879731c280697fdf1c50699e905b2fa7"
        },
        {
          "url": "https://git.kernel.org/stable/c/fb9d513cdf1614bf0f0e785816afb1faae3f81af"
        },
        {
          "url": "https://git.kernel.org/stable/c/c06f13876cbad702582cd67fc77356e5524d02cd"
        },
        {
          "url": "https://git.kernel.org/stable/c/76b870fdaad82171a24b8aacffe5e4d9e0d2ee2c"
        },
        {
          "url": "https://git.kernel.org/stable/c/b91c9f6bfb04e430adeeac7e7ebc9d80f9d72bad"
        },
        {
          "url": "https://git.kernel.org/stable/c/7c27eaf183563b86d815ff6e9cca0210b4cfa051"
        },
        {
          "url": "https://git.kernel.org/stable/c/cabd25b57216ddc132efbcc31f972baa03aad15a"
        }
      ],
      "title": "phy: stm32-usphyc: Fix off by one in probe()",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2025-71196",
    "datePublished": "2026-02-04T16:04:17.141Z",
    "dateReserved": "2026-01-31T11:36:51.191Z",
    "dateUpdated": "2026-02-09T08:36:21.876Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2025-71196\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-02-04T17:16:11.530\",\"lastModified\":\"2026-02-06T17:16:20.073\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nphy: stm32-usphyc: Fix off by one in probe()\\n\\nThe \\\"index\\\" variable is used as an index into the usbphyc-\u003ephys[] array\\nwhich has usbphyc-\u003enphys elements.  So if it is equal to usbphyc-\u003enphys\\nthen it is one element out of bounds.  The \\\"index\\\" comes from the\\ndevice tree so it\u0027s data that we trust and it\u0027s unlikely to be wrong,\\nhowever it\u0027s obviously still worth fixing the bug.  Change the \u003e to \u003e=.\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/76b870fdaad82171a24b8aacffe5e4d9e0d2ee2c\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/7c27eaf183563b86d815ff6e9cca0210b4cfa051\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/a9eec890879731c280697fdf1c50699e905b2fa7\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/b91c9f6bfb04e430adeeac7e7ebc9d80f9d72bad\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/c06f13876cbad702582cd67fc77356e5524d02cd\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/cabd25b57216ddc132efbcc31f972baa03aad15a\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/fb9d513cdf1614bf0f0e785816afb1faae3f81af\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
  }
}


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 observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…