CVE-2023-54101 (GCVE-0-2023-54101)
Vulnerability from cvelistv5
Published
2025-12-24 13:06
Modified
2025-12-24 13:06
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: driver: soc: xilinx: use _safe loop iterator to avoid a use after free The hash_for_each_possible() loop dereferences "eve_data" to get the next item on the list. However the loop frees eve_data so it leads to a use after free. Use hash_for_each_possible_safe() instead.
Impacted products
Vendor Product Version
Linux Linux Version: c7fdb2404f66131bc9c22e06f712717288826487
Version: c7fdb2404f66131bc9c22e06f712717288826487
Version: c7fdb2404f66131bc9c22e06f712717288826487
Version: c7fdb2404f66131bc9c22e06f712717288826487
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/soc/xilinx/xlnx_event_manager.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "49fca83f6f3f0cafe5bf5b43e8ee81cf73c2d5e0",
              "status": "affected",
              "version": "c7fdb2404f66131bc9c22e06f712717288826487",
              "versionType": "git"
            },
            {
              "lessThan": "f16599e638073ef0b2828bb64f5e99138e9381b5",
              "status": "affected",
              "version": "c7fdb2404f66131bc9c22e06f712717288826487",
              "versionType": "git"
            },
            {
              "lessThan": "256aace3a5d8c987183ba4832dffb36f48ea7d3b",
              "status": "affected",
              "version": "c7fdb2404f66131bc9c22e06f712717288826487",
              "versionType": "git"
            },
            {
              "lessThan": "c58da0ba3e5c86e51e2c1557afaf6f71e00c4533",
              "status": "affected",
              "version": "c7fdb2404f66131bc9c22e06f712717288826487",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/soc/xilinx/xlnx_event_manager.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.17"
            },
            {
              "lessThan": "5.17",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.39",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.3.*",
              "status": "unaffected",
              "version": "6.3.13",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.4.*",
              "status": "unaffected",
              "version": "6.4.4",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.5",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.39",
                  "versionStartIncluding": "5.17",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.3.13",
                  "versionStartIncluding": "5.17",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.4.4",
                  "versionStartIncluding": "5.17",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.5",
                  "versionStartIncluding": "5.17",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndriver: soc: xilinx: use _safe loop iterator to avoid a use after free\n\nThe hash_for_each_possible() loop dereferences \"eve_data\" to get the\nnext item on the list.  However the loop frees eve_data so it leads to\na use after free.  Use hash_for_each_possible_safe() instead."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-12-24T13:06:27.234Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/49fca83f6f3f0cafe5bf5b43e8ee81cf73c2d5e0"
        },
        {
          "url": "https://git.kernel.org/stable/c/f16599e638073ef0b2828bb64f5e99138e9381b5"
        },
        {
          "url": "https://git.kernel.org/stable/c/256aace3a5d8c987183ba4832dffb36f48ea7d3b"
        },
        {
          "url": "https://git.kernel.org/stable/c/c58da0ba3e5c86e51e2c1557afaf6f71e00c4533"
        }
      ],
      "title": "driver: soc: xilinx: use _safe loop iterator to avoid a use after free",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2023-54101",
    "datePublished": "2025-12-24T13:06:27.234Z",
    "dateReserved": "2025-12-24T13:02:52.517Z",
    "dateUpdated": "2025-12-24T13:06:27.234Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2023-54101\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-12-24T13:16:11.997\",\"lastModified\":\"2025-12-24T13:16:11.997\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\ndriver: soc: xilinx: use _safe loop iterator to avoid a use after free\\n\\nThe hash_for_each_possible() loop dereferences \\\"eve_data\\\" to get the\\nnext item on the list.  However the loop frees eve_data so it leads to\\na use after free.  Use hash_for_each_possible_safe() instead.\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/256aace3a5d8c987183ba4832dffb36f48ea7d3b\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/49fca83f6f3f0cafe5bf5b43e8ee81cf73c2d5e0\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/c58da0ba3e5c86e51e2c1557afaf6f71e00c4533\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/f16599e638073ef0b2828bb64f5e99138e9381b5\",\"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 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…