CVE-2023-53019 (GCVE-0-2023-53019)

Vulnerability from cvelistv5 – Published: 2025-03-27 16:43 – Updated: 2025-05-04 07:47
VLAI?
Title
net: mdio: validate parameter addr in mdiobus_get_phy()
Summary
In the Linux kernel, the following vulnerability has been resolved: net: mdio: validate parameter addr in mdiobus_get_phy() The caller may pass any value as addr, what may result in an out-of-bounds access to array mdio_map. One existing case is stmmac_init_phy() that may pass -1 as addr. Therefore validate addr before using it.
Severity ?
No CVSS data available.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: 7f854420fbfe9d49afe2ffb1df052cfe8e215541 , < 1d80c259dfbadefa61b7ea334dfce5cb57f8c72f (git)
Affected: 7f854420fbfe9d49afe2ffb1df052cfe8e215541 , < c431a3d642593bbdb99e8a9e3eed608b730db6f8 (git)
Affected: 7f854420fbfe9d49afe2ffb1df052cfe8e215541 , < 8a7b9560a3a8eb8724888c426e05926752f73aa0 (git)
Affected: 7f854420fbfe9d49afe2ffb1df052cfe8e215541 , < 4bc5f1f6bc94e695dfd912122af96e7115a0ddb8 (git)
Affected: 7f854420fbfe9d49afe2ffb1df052cfe8e215541 , < ad67de330d83e8078372b52af18ffe8d39e26c85 (git)
Affected: 7f854420fbfe9d49afe2ffb1df052cfe8e215541 , < 7879626296e6ffd838ae0f2af1ab49ee46354973 (git)
Affected: 7f854420fbfe9d49afe2ffb1df052cfe8e215541 , < 867dbe784c5010a466f00a7d1467c1c5ea569c75 (git)
Create a notification for this product.
    Linux Linux Affected: 4.5
Unaffected: 0 , < 4.5 (semver)
Unaffected: 4.14.305 , ≤ 4.14.* (semver)
Unaffected: 4.19.272 , ≤ 4.19.* (semver)
Unaffected: 5.4.231 , ≤ 5.4.* (semver)
Unaffected: 5.10.166 , ≤ 5.10.* (semver)
Unaffected: 5.15.91 , ≤ 5.15.* (semver)
Unaffected: 6.1.9 , ≤ 6.1.* (semver)
Unaffected: 6.2 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/phy/mdio_bus.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "1d80c259dfbadefa61b7ea334dfce5cb57f8c72f",
              "status": "affected",
              "version": "7f854420fbfe9d49afe2ffb1df052cfe8e215541",
              "versionType": "git"
            },
            {
              "lessThan": "c431a3d642593bbdb99e8a9e3eed608b730db6f8",
              "status": "affected",
              "version": "7f854420fbfe9d49afe2ffb1df052cfe8e215541",
              "versionType": "git"
            },
            {
              "lessThan": "8a7b9560a3a8eb8724888c426e05926752f73aa0",
              "status": "affected",
              "version": "7f854420fbfe9d49afe2ffb1df052cfe8e215541",
              "versionType": "git"
            },
            {
              "lessThan": "4bc5f1f6bc94e695dfd912122af96e7115a0ddb8",
              "status": "affected",
              "version": "7f854420fbfe9d49afe2ffb1df052cfe8e215541",
              "versionType": "git"
            },
            {
              "lessThan": "ad67de330d83e8078372b52af18ffe8d39e26c85",
              "status": "affected",
              "version": "7f854420fbfe9d49afe2ffb1df052cfe8e215541",
              "versionType": "git"
            },
            {
              "lessThan": "7879626296e6ffd838ae0f2af1ab49ee46354973",
              "status": "affected",
              "version": "7f854420fbfe9d49afe2ffb1df052cfe8e215541",
              "versionType": "git"
            },
            {
              "lessThan": "867dbe784c5010a466f00a7d1467c1c5ea569c75",
              "status": "affected",
              "version": "7f854420fbfe9d49afe2ffb1df052cfe8e215541",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/phy/mdio_bus.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4.5"
            },
            {
              "lessThan": "4.5",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.14.*",
              "status": "unaffected",
              "version": "4.14.305",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.19.*",
              "status": "unaffected",
              "version": "4.19.272",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.231",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.166",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.91",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.9",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.2",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.14.305",
                  "versionStartIncluding": "4.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.19.272",
                  "versionStartIncluding": "4.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.231",
                  "versionStartIncluding": "4.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.166",
                  "versionStartIncluding": "4.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.91",
                  "versionStartIncluding": "4.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.9",
                  "versionStartIncluding": "4.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.2",
                  "versionStartIncluding": "4.5",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet: mdio: validate parameter addr in mdiobus_get_phy()\n\nThe caller may pass any value as addr, what may result in an out-of-bounds\naccess to array mdio_map. One existing case is stmmac_init_phy() that\nmay pass -1 as addr. Therefore validate addr before using it."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-05-04T07:47:48.426Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/1d80c259dfbadefa61b7ea334dfce5cb57f8c72f"
        },
        {
          "url": "https://git.kernel.org/stable/c/c431a3d642593bbdb99e8a9e3eed608b730db6f8"
        },
        {
          "url": "https://git.kernel.org/stable/c/8a7b9560a3a8eb8724888c426e05926752f73aa0"
        },
        {
          "url": "https://git.kernel.org/stable/c/4bc5f1f6bc94e695dfd912122af96e7115a0ddb8"
        },
        {
          "url": "https://git.kernel.org/stable/c/ad67de330d83e8078372b52af18ffe8d39e26c85"
        },
        {
          "url": "https://git.kernel.org/stable/c/7879626296e6ffd838ae0f2af1ab49ee46354973"
        },
        {
          "url": "https://git.kernel.org/stable/c/867dbe784c5010a466f00a7d1467c1c5ea569c75"
        }
      ],
      "title": "net: mdio: validate parameter addr in mdiobus_get_phy()",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2023-53019",
    "datePublished": "2025-03-27T16:43:46.493Z",
    "dateReserved": "2025-03-27T16:40:15.751Z",
    "dateUpdated": "2025-05-04T07:47:48.426Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1"
}


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…