CVE-2023-52876 (GCVE-0-2023-52876)

Vulnerability from cvelistv5 – Published: 2024-05-21 15:32 – Updated: 2025-05-04 07:44
VLAI?
Title
clk: mediatek: clk-mt7629-eth: Add check for mtk_alloc_clk_data
Summary
In the Linux kernel, the following vulnerability has been resolved: clk: mediatek: clk-mt7629-eth: Add check for mtk_alloc_clk_data Add the check for the return value of mtk_alloc_clk_data() in order to avoid NULL pointer dereference.
Severity ?
No CVSS data available.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: 3b5e748615e714711220b2a95d19bd25a037db09 , < cfa68e0ac5dcde43577adadf6f0f26f3b365ad68 (git)
Affected: 3b5e748615e714711220b2a95d19bd25a037db09 , < 96e9544a0c4faca616b3f9f4034dcd83a14e7f22 (git)
Affected: 3b5e748615e714711220b2a95d19bd25a037db09 , < c4070ada5d5155c8d4d17ea64bd246949889f25b (git)
Affected: 3b5e748615e714711220b2a95d19bd25a037db09 , < a540ca0aeae83c2f3964bcb4e383f64ce2ec1783 (git)
Affected: 3b5e748615e714711220b2a95d19bd25a037db09 , < b20cfe007a46f8c165d42a05c50a8d3d893e6592 (git)
Affected: 3b5e748615e714711220b2a95d19bd25a037db09 , < 1639072f6260babd017556e9f236ca2ad589d1e7 (git)
Affected: 3b5e748615e714711220b2a95d19bd25a037db09 , < 0884393c63cc9a1772f7121a6645ba7bd76feeb9 (git)
Create a notification for this product.
    Linux Linux Affected: 5.0
Unaffected: 0 , < 5.0 (semver)
Unaffected: 5.4.261 , ≤ 5.4.* (semver)
Unaffected: 5.10.201 , ≤ 5.10.* (semver)
Unaffected: 5.15.139 , ≤ 5.15.* (semver)
Unaffected: 6.1.63 , ≤ 6.1.* (semver)
Unaffected: 6.5.12 , ≤ 6.5.* (semver)
Unaffected: 6.6.2 , ≤ 6.6.* (semver)
Unaffected: 6.7 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2023-52876",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2024-05-22T18:20:33.699635Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2024-06-04T17:23:18.864Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      },
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-02T23:11:36.122Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/cfa68e0ac5dcde43577adadf6f0f26f3b365ad68"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/96e9544a0c4faca616b3f9f4034dcd83a14e7f22"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/c4070ada5d5155c8d4d17ea64bd246949889f25b"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/a540ca0aeae83c2f3964bcb4e383f64ce2ec1783"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/b20cfe007a46f8c165d42a05c50a8d3d893e6592"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/1639072f6260babd017556e9f236ca2ad589d1e7"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/0884393c63cc9a1772f7121a6645ba7bd76feeb9"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/clk/mediatek/clk-mt7629-eth.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "cfa68e0ac5dcde43577adadf6f0f26f3b365ad68",
              "status": "affected",
              "version": "3b5e748615e714711220b2a95d19bd25a037db09",
              "versionType": "git"
            },
            {
              "lessThan": "96e9544a0c4faca616b3f9f4034dcd83a14e7f22",
              "status": "affected",
              "version": "3b5e748615e714711220b2a95d19bd25a037db09",
              "versionType": "git"
            },
            {
              "lessThan": "c4070ada5d5155c8d4d17ea64bd246949889f25b",
              "status": "affected",
              "version": "3b5e748615e714711220b2a95d19bd25a037db09",
              "versionType": "git"
            },
            {
              "lessThan": "a540ca0aeae83c2f3964bcb4e383f64ce2ec1783",
              "status": "affected",
              "version": "3b5e748615e714711220b2a95d19bd25a037db09",
              "versionType": "git"
            },
            {
              "lessThan": "b20cfe007a46f8c165d42a05c50a8d3d893e6592",
              "status": "affected",
              "version": "3b5e748615e714711220b2a95d19bd25a037db09",
              "versionType": "git"
            },
            {
              "lessThan": "1639072f6260babd017556e9f236ca2ad589d1e7",
              "status": "affected",
              "version": "3b5e748615e714711220b2a95d19bd25a037db09",
              "versionType": "git"
            },
            {
              "lessThan": "0884393c63cc9a1772f7121a6645ba7bd76feeb9",
              "status": "affected",
              "version": "3b5e748615e714711220b2a95d19bd25a037db09",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/clk/mediatek/clk-mt7629-eth.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.0"
            },
            {
              "lessThan": "5.0",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.261",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.201",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.139",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.63",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.5.*",
              "status": "unaffected",
              "version": "6.5.12",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.2",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.7",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.261",
                  "versionStartIncluding": "5.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.201",
                  "versionStartIncluding": "5.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.139",
                  "versionStartIncluding": "5.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.63",
                  "versionStartIncluding": "5.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.5.12",
                  "versionStartIncluding": "5.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.2",
                  "versionStartIncluding": "5.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.7",
                  "versionStartIncluding": "5.0",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nclk: mediatek: clk-mt7629-eth: Add check for mtk_alloc_clk_data\n\nAdd the check for the return value of mtk_alloc_clk_data() in order to\navoid NULL pointer dereference."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-05-04T07:44:58.429Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/cfa68e0ac5dcde43577adadf6f0f26f3b365ad68"
        },
        {
          "url": "https://git.kernel.org/stable/c/96e9544a0c4faca616b3f9f4034dcd83a14e7f22"
        },
        {
          "url": "https://git.kernel.org/stable/c/c4070ada5d5155c8d4d17ea64bd246949889f25b"
        },
        {
          "url": "https://git.kernel.org/stable/c/a540ca0aeae83c2f3964bcb4e383f64ce2ec1783"
        },
        {
          "url": "https://git.kernel.org/stable/c/b20cfe007a46f8c165d42a05c50a8d3d893e6592"
        },
        {
          "url": "https://git.kernel.org/stable/c/1639072f6260babd017556e9f236ca2ad589d1e7"
        },
        {
          "url": "https://git.kernel.org/stable/c/0884393c63cc9a1772f7121a6645ba7bd76feeb9"
        }
      ],
      "title": "clk: mediatek: clk-mt7629-eth: Add check for mtk_alloc_clk_data",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2023-52876",
    "datePublished": "2024-05-21T15:32:09.269Z",
    "dateReserved": "2024-05-21T15:19:24.264Z",
    "dateUpdated": "2025-05-04T07:44:58.429Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CVE Program Container\", \"references\": [{\"url\": \"https://git.kernel.org/stable/c/cfa68e0ac5dcde43577adadf6f0f26f3b365ad68\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/96e9544a0c4faca616b3f9f4034dcd83a14e7f22\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/c4070ada5d5155c8d4d17ea64bd246949889f25b\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/a540ca0aeae83c2f3964bcb4e383f64ce2ec1783\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/b20cfe007a46f8c165d42a05c50a8d3d893e6592\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/1639072f6260babd017556e9f236ca2ad589d1e7\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/0884393c63cc9a1772f7121a6645ba7bd76feeb9\", \"tags\": [\"x_transferred\"]}], \"providerMetadata\": {\"orgId\": \"af854a3a-2127-422b-91ae-364da2661108\", \"shortName\": \"CVE\", \"dateUpdated\": \"2024-08-02T23:11:36.122Z\"}}, {\"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2023-52876\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2024-05-22T18:20:33.699635Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-05-23T19:01:25.612Z\"}, \"title\": \"CISA ADP Vulnrichment\"}], \"cna\": {\"title\": \"clk: mediatek: clk-mt7629-eth: Add check for mtk_alloc_clk_data\", \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"3b5e748615e714711220b2a95d19bd25a037db09\", \"lessThan\": \"cfa68e0ac5dcde43577adadf6f0f26f3b365ad68\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"3b5e748615e714711220b2a95d19bd25a037db09\", \"lessThan\": \"96e9544a0c4faca616b3f9f4034dcd83a14e7f22\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"3b5e748615e714711220b2a95d19bd25a037db09\", \"lessThan\": \"c4070ada5d5155c8d4d17ea64bd246949889f25b\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"3b5e748615e714711220b2a95d19bd25a037db09\", \"lessThan\": \"a540ca0aeae83c2f3964bcb4e383f64ce2ec1783\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"3b5e748615e714711220b2a95d19bd25a037db09\", \"lessThan\": \"b20cfe007a46f8c165d42a05c50a8d3d893e6592\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"3b5e748615e714711220b2a95d19bd25a037db09\", \"lessThan\": \"1639072f6260babd017556e9f236ca2ad589d1e7\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"3b5e748615e714711220b2a95d19bd25a037db09\", \"lessThan\": \"0884393c63cc9a1772f7121a6645ba7bd76feeb9\", \"versionType\": \"git\"}], \"programFiles\": [\"drivers/clk/mediatek/clk-mt7629-eth.c\"], \"defaultStatus\": \"unaffected\"}, {\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"5.0\"}, {\"status\": \"unaffected\", \"version\": \"0\", \"lessThan\": \"5.0\", \"versionType\": \"semver\"}, {\"status\": \"unaffected\", \"version\": \"5.4.261\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.4.*\"}, {\"status\": \"unaffected\", \"version\": \"5.10.201\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.10.*\"}, {\"status\": \"unaffected\", \"version\": \"5.15.139\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.15.*\"}, {\"status\": \"unaffected\", \"version\": \"6.1.63\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.1.*\"}, {\"status\": \"unaffected\", \"version\": \"6.5.12\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.5.*\"}, {\"status\": \"unaffected\", \"version\": \"6.6.2\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.6.*\"}, {\"status\": \"unaffected\", \"version\": \"6.7\", \"versionType\": \"original_commit_for_fix\", \"lessThanOrEqual\": \"*\"}], \"programFiles\": [\"drivers/clk/mediatek/clk-mt7629-eth.c\"], \"defaultStatus\": \"affected\"}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/cfa68e0ac5dcde43577adadf6f0f26f3b365ad68\"}, {\"url\": \"https://git.kernel.org/stable/c/96e9544a0c4faca616b3f9f4034dcd83a14e7f22\"}, {\"url\": \"https://git.kernel.org/stable/c/c4070ada5d5155c8d4d17ea64bd246949889f25b\"}, {\"url\": \"https://git.kernel.org/stable/c/a540ca0aeae83c2f3964bcb4e383f64ce2ec1783\"}, {\"url\": \"https://git.kernel.org/stable/c/b20cfe007a46f8c165d42a05c50a8d3d893e6592\"}, {\"url\": \"https://git.kernel.org/stable/c/1639072f6260babd017556e9f236ca2ad589d1e7\"}, {\"url\": \"https://git.kernel.org/stable/c/0884393c63cc9a1772f7121a6645ba7bd76feeb9\"}], \"x_generator\": {\"engine\": \"bippy-5f407fcff5a0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\nclk: mediatek: clk-mt7629-eth: Add check for mtk_alloc_clk_data\\n\\nAdd the check for the return value of mtk_alloc_clk_data() in order to\\navoid NULL pointer dereference.\"}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2024-12-19T08:27:43.032Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2023-52876\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2024-12-19T08:27:43.032Z\", \"dateReserved\": \"2024-05-21T15:19:24.264Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2024-05-21T15:32:09.269Z\", \"assignerShortName\": \"Linux\"}",
      "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…