CVE-2023-53225 (GCVE-0-2023-53225)
Vulnerability from cvelistv5
Published
2025-09-15 14:21
Modified
2025-09-15 14:21
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: spi: imx: Don't skip cleanup in remove's error path Returning early in a platform driver's remove callback is wrong. In this case the dma resources are not released in the error path. this is never retried later and so this is a permanent leak. To fix this, only skip hardware disabling if waking the device fails.
Impacted products
Vendor Product Version
Linux Linux Version: d593574aff0ab846136190b1729c151c736727ec
Version: d593574aff0ab846136190b1729c151c736727ec
Version: d593574aff0ab846136190b1729c151c736727ec
Version: d593574aff0ab846136190b1729c151c736727ec
Version: d593574aff0ab846136190b1729c151c736727ec
Version: d593574aff0ab846136190b1729c151c736727ec
Version: fc58a98f1c98b22d31c53913cca38d5c43807cb4
Version: 28ae79a518421348abfc2a2dffd6a6b6e3699476
Version: b6aaaaed67b170a9841f0f598cd45ccbfe76e15e
Version: f84a8d446a16379df5844bc2bd50f0b7431a4718
Version: 1333c3e996eb799286ee2ef2c01752da45bf926f
Version: cfd96cbd607ab5d63a33cd63673221f4d572ea8c
Version: bac4bf53ca7c65d6c06808aab70c6caa0b9c78b9
Create a notification for this product.
   Linux Linux Version: 4.16
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/spi/spi-imx.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "aa93a46f998a9069368026ac52bba96868c59157",
              "status": "affected",
              "version": "d593574aff0ab846136190b1729c151c736727ec",
              "versionType": "git"
            },
            {
              "lessThan": "f90822ad63d11301e425311dac0c8e12ca1737b8",
              "status": "affected",
              "version": "d593574aff0ab846136190b1729c151c736727ec",
              "versionType": "git"
            },
            {
              "lessThan": "6d16305a1535873e0a8a8ae92ea2d9106ec2d7df",
              "status": "affected",
              "version": "d593574aff0ab846136190b1729c151c736727ec",
              "versionType": "git"
            },
            {
              "lessThan": "57a463226638f1ceabbb029cbd21b0c94640f1b5",
              "status": "affected",
              "version": "d593574aff0ab846136190b1729c151c736727ec",
              "versionType": "git"
            },
            {
              "lessThan": "b64cb3f085fed296103c91f0db6acad30a021b36",
              "status": "affected",
              "version": "d593574aff0ab846136190b1729c151c736727ec",
              "versionType": "git"
            },
            {
              "lessThan": "11951c9e3f364d7ae3b568a0e52c8335d43066b5",
              "status": "affected",
              "version": "d593574aff0ab846136190b1729c151c736727ec",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "fc58a98f1c98b22d31c53913cca38d5c43807cb4",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "28ae79a518421348abfc2a2dffd6a6b6e3699476",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "b6aaaaed67b170a9841f0f598cd45ccbfe76e15e",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "f84a8d446a16379df5844bc2bd50f0b7431a4718",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "1333c3e996eb799286ee2ef2c01752da45bf926f",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "cfd96cbd607ab5d63a33cd63673221f4d572ea8c",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "bac4bf53ca7c65d6c06808aab70c6caa0b9c78b9",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/spi/spi-imx.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4.16"
            },
            {
              "lessThan": "4.16",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.180",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.111",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.28",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.2.*",
              "status": "unaffected",
              "version": "6.2.15",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.3.*",
              "status": "unaffected",
              "version": "6.3.2",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.4",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.180",
                  "versionStartIncluding": "4.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.111",
                  "versionStartIncluding": "4.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.28",
                  "versionStartIncluding": "4.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.2.15",
                  "versionStartIncluding": "4.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.3.2",
                  "versionStartIncluding": "4.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.4",
                  "versionStartIncluding": "4.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "3.16.57",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "3.18.94",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "4.1.50",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "4.4.115",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "4.9.80",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "4.14.17",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "4.15.1",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nspi: imx: Don\u0027t skip cleanup in remove\u0027s error path\n\nReturning early in a platform driver\u0027s remove callback is wrong. In this\ncase the dma resources are not released in the error path. this is never\nretried later and so this is a permanent leak. To fix this, only skip\nhardware disabling if waking the device fails."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-09-15T14:21:54.138Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/aa93a46f998a9069368026ac52bba96868c59157"
        },
        {
          "url": "https://git.kernel.org/stable/c/f90822ad63d11301e425311dac0c8e12ca1737b8"
        },
        {
          "url": "https://git.kernel.org/stable/c/6d16305a1535873e0a8a8ae92ea2d9106ec2d7df"
        },
        {
          "url": "https://git.kernel.org/stable/c/57a463226638f1ceabbb029cbd21b0c94640f1b5"
        },
        {
          "url": "https://git.kernel.org/stable/c/b64cb3f085fed296103c91f0db6acad30a021b36"
        },
        {
          "url": "https://git.kernel.org/stable/c/11951c9e3f364d7ae3b568a0e52c8335d43066b5"
        }
      ],
      "title": "spi: imx: Don\u0027t skip cleanup in remove\u0027s error path",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2023-53225",
    "datePublished": "2025-09-15T14:21:54.138Z",
    "dateReserved": "2025-09-15T14:19:21.846Z",
    "dateUpdated": "2025-09-15T14:21:54.138Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2023-53225\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-09-15T15:15:49.363\",\"lastModified\":\"2025-09-15T15:22:27.090\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nspi: imx: Don\u0027t skip cleanup in remove\u0027s error path\\n\\nReturning early in a platform driver\u0027s remove callback is wrong. In this\\ncase the dma resources are not released in the error path. this is never\\nretried later and so this is a permanent leak. To fix this, only skip\\nhardware disabling if waking the device fails.\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/11951c9e3f364d7ae3b568a0e52c8335d43066b5\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/57a463226638f1ceabbb029cbd21b0c94640f1b5\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/6d16305a1535873e0a8a8ae92ea2d9106ec2d7df\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/aa93a46f998a9069368026ac52bba96868c59157\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/b64cb3f085fed296103c91f0db6acad30a021b36\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/f90822ad63d11301e425311dac0c8e12ca1737b8\",\"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.
  • 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…