CVE-2025-68238 (GCVE-0-2025-68238)
Vulnerability from cvelistv5
Published
2025-12-16 14:08
Modified
2025-12-16 14:08
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: mtd: rawnand: cadence: fix DMA device NULL pointer dereference The DMA device pointer `dma_dev` was being dereferenced before ensuring that `cdns_ctrl->dmac` is properly initialized. Move the assignment of `dma_dev` after successfully acquiring the DMA channel to ensure the pointer is valid before use.
Impacted products
Vendor Product Version
Linux Linux Version: 0cae7c285f4771a9927ef592899234d307aea5d4
Version: 099a316518508be7c57de4134ef919b2dea948ce
Version: e630d32162a8aab92d4aaebae0a8d93039257593
Version: ad9393467fbd788ac2b8a01e492e45ab1b68a1b1
Version: 0ce5416863965ddd86e066484a306867cf1e01a8
Version: d76d22b5096c5b05208fd982b153b3f182350b19
Version: d76d22b5096c5b05208fd982b153b3f182350b19
Version: a33c7492dcdf804b705b6c21018a481414d48038
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/mtd/nand/raw/cadence-nand-controller.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "2178b0255eae108bb10e5e99658b28641bc06f43",
              "status": "affected",
              "version": "0cae7c285f4771a9927ef592899234d307aea5d4",
              "versionType": "git"
            },
            {
              "lessThan": "9c58c64ec41290c12490ca7e1df45013fbbb41fd",
              "status": "affected",
              "version": "099a316518508be7c57de4134ef919b2dea948ce",
              "versionType": "git"
            },
            {
              "lessThan": "e282a4fdf3c6ee842a720010a8b5f7d77bedd126",
              "status": "affected",
              "version": "e630d32162a8aab92d4aaebae0a8d93039257593",
              "versionType": "git"
            },
            {
              "lessThan": "b146e0b085d9d6bfe838e0a15481cba7d093c67f",
              "status": "affected",
              "version": "ad9393467fbd788ac2b8a01e492e45ab1b68a1b1",
              "versionType": "git"
            },
            {
              "lessThan": "0c635241a62f2f5da1b48bfffae226d1f86a76ef",
              "status": "affected",
              "version": "0ce5416863965ddd86e066484a306867cf1e01a8",
              "versionType": "git"
            },
            {
              "lessThan": "0c2a43cb43786011b48eeab6093db14888258c6b",
              "status": "affected",
              "version": "d76d22b5096c5b05208fd982b153b3f182350b19",
              "versionType": "git"
            },
            {
              "lessThan": "5c56bf214af85ca042bf97f8584aab2151035840",
              "status": "affected",
              "version": "d76d22b5096c5b05208fd982b153b3f182350b19",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "a33c7492dcdf804b705b6c21018a481414d48038",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/mtd/nand/raw/cadence-nand-controller.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.14"
            },
            {
              "lessThan": "6.14",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.247",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.197",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.159",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.118",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.60",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.17.*",
              "status": "unaffected",
              "version": "6.17.10",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.18",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.247",
                  "versionStartIncluding": "5.10.235",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.197",
                  "versionStartIncluding": "5.15.179",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.159",
                  "versionStartIncluding": "6.1.130",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.118",
                  "versionStartIncluding": "6.6.80",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.60",
                  "versionStartIncluding": "6.12.17",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.17.10",
                  "versionStartIncluding": "6.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18",
                  "versionStartIncluding": "6.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "6.13.5",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nmtd: rawnand: cadence: fix DMA device NULL pointer dereference\n\nThe DMA device pointer `dma_dev` was being dereferenced before ensuring\nthat `cdns_ctrl-\u003edmac` is properly initialized.\n\nMove the assignment of `dma_dev` after successfully acquiring the DMA\nchannel to ensure the pointer is valid before use."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-12-16T14:08:31.672Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/2178b0255eae108bb10e5e99658b28641bc06f43"
        },
        {
          "url": "https://git.kernel.org/stable/c/9c58c64ec41290c12490ca7e1df45013fbbb41fd"
        },
        {
          "url": "https://git.kernel.org/stable/c/e282a4fdf3c6ee842a720010a8b5f7d77bedd126"
        },
        {
          "url": "https://git.kernel.org/stable/c/b146e0b085d9d6bfe838e0a15481cba7d093c67f"
        },
        {
          "url": "https://git.kernel.org/stable/c/0c635241a62f2f5da1b48bfffae226d1f86a76ef"
        },
        {
          "url": "https://git.kernel.org/stable/c/0c2a43cb43786011b48eeab6093db14888258c6b"
        },
        {
          "url": "https://git.kernel.org/stable/c/5c56bf214af85ca042bf97f8584aab2151035840"
        }
      ],
      "title": "mtd: rawnand: cadence: fix DMA device NULL pointer dereference",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2025-68238",
    "datePublished": "2025-12-16T14:08:31.672Z",
    "dateReserved": "2025-12-16T13:41:40.263Z",
    "dateUpdated": "2025-12-16T14:08:31.672Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2025-68238\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-12-16T14:15:58.977\",\"lastModified\":\"2025-12-18T15:08:06.237\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nmtd: rawnand: cadence: fix DMA device NULL pointer dereference\\n\\nThe DMA device pointer `dma_dev` was being dereferenced before ensuring\\nthat `cdns_ctrl-\u003edmac` is properly initialized.\\n\\nMove the assignment of `dma_dev` after successfully acquiring the DMA\\nchannel to ensure the pointer is valid before use.\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/0c2a43cb43786011b48eeab6093db14888258c6b\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/0c635241a62f2f5da1b48bfffae226d1f86a76ef\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/2178b0255eae108bb10e5e99658b28641bc06f43\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/5c56bf214af85ca042bf97f8584aab2151035840\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/9c58c64ec41290c12490ca7e1df45013fbbb41fd\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/b146e0b085d9d6bfe838e0a15481cba7d093c67f\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/e282a4fdf3c6ee842a720010a8b5f7d77bedd126\",\"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…