CVE-2026-98298 (GCVE-0-2026-98298)
Vulnerability from cvelistv5
Published
2026-10-06 08:45
Modified
2026-10-19 09:17
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: dmaengine: mmp_pdma: fix wrong sg length in mmp_pdma_prep_slave_sg() In mmp_pdma_prep_slave_sg(), for_each_sg() iterates the scatterlist putting each entry into 'sg', but the entry length is read from 'sgl' (the list head) instead of 'sg' (the current entry): for_each_sg(sgl, sg, sg_len, i) { addr = sg_dma_address(sg); avail = sg_dma_len(sgl); /* should be 'sg' */ Consequently 'avail' is always the length of the first entry. For multi-sg lists this causes out-of-bounds reads when a later entry is shorter than the first, and silent data loss when it is longer. Single-sg or uniformly-sized lists happen to mask the issue.
Impacted products
Vendor Product Version
Linux Linux Version: c8acd6aa6bed3c0fd7898202f4ebc534db9085f2
Version: c8acd6aa6bed3c0fd7898202f4ebc534db9085f2
Version: c8acd6aa6bed3c0fd7898202f4ebc534db9085f2
Version: c8acd6aa6bed3c0fd7898202f4ebc534db9085f2
Version: c8acd6aa6bed3c0fd7898202f4ebc534db9085f2
Version: c8acd6aa6bed3c0fd7898202f4ebc534db9085f2
Version: c8acd6aa6bed3c0fd7898202f4ebc534db9085f2
Version: c8acd6aa6bed3c0fd7898202f4ebc534db9085f2
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/dma/mmp_pdma.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "f448a5f5bd10d792440a1b08cf2e8f311767032d",
              "status": "affected",
              "version": "c8acd6aa6bed3c0fd7898202f4ebc534db9085f2",
              "versionType": "git"
            },
            {
              "lessThan": "2148db529f082d6e3ca95413bf943442f4ef30cc",
              "status": "affected",
              "version": "c8acd6aa6bed3c0fd7898202f4ebc534db9085f2",
              "versionType": "git"
            },
            {
              "lessThan": "d920c07aa6d89ec11afdb6976aafaee9563a5234",
              "status": "affected",
              "version": "c8acd6aa6bed3c0fd7898202f4ebc534db9085f2",
              "versionType": "git"
            },
            {
              "lessThan": "4a33886057e6d127555efb022879c583e966acc5",
              "status": "affected",
              "version": "c8acd6aa6bed3c0fd7898202f4ebc534db9085f2",
              "versionType": "git"
            },
            {
              "lessThan": "88a505330eb06128f7ce79a4c5e4832b7601b3d1",
              "status": "affected",
              "version": "c8acd6aa6bed3c0fd7898202f4ebc534db9085f2",
              "versionType": "git"
            },
            {
              "lessThan": "bae65e4925928f77824ca0103122e2ed20ef5802",
              "status": "affected",
              "version": "c8acd6aa6bed3c0fd7898202f4ebc534db9085f2",
              "versionType": "git"
            },
            {
              "lessThan": "54ccc01012a240476edf641bf1a2b8bff54fe6ae",
              "status": "affected",
              "version": "c8acd6aa6bed3c0fd7898202f4ebc534db9085f2",
              "versionType": "git"
            },
            {
              "lessThan": "075bc7b1d3dde5ed43fbaabbc1a69f09b7fc3a47",
              "status": "affected",
              "version": "c8acd6aa6bed3c0fd7898202f4ebc534db9085f2",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/dma/mmp_pdma.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "3.7"
            },
            {
              "lessThan": "3.7",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.271",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.222",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.189",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.158",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.112",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.54",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.2.*",
              "status": "unaffected",
              "version": "7.2.8",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.3",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.271",
                  "versionStartIncluding": "3.7",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.222",
                  "versionStartIncluding": "3.7",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.189",
                  "versionStartIncluding": "3.7",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.158",
                  "versionStartIncluding": "3.7",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.112",
                  "versionStartIncluding": "3.7",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.54",
                  "versionStartIncluding": "3.7",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.8",
                  "versionStartIncluding": "3.7",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3",
                  "versionStartIncluding": "3.7",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndmaengine: mmp_pdma: fix wrong sg length in mmp_pdma_prep_slave_sg()\n\nIn mmp_pdma_prep_slave_sg(), for_each_sg() iterates the scatterlist\nputting each entry into \u0027sg\u0027, but the entry length is read from \u0027sgl\u0027\n(the list head) instead of \u0027sg\u0027 (the current entry):\n\n    for_each_sg(sgl, sg, sg_len, i) {\n        addr = sg_dma_address(sg);\n        avail = sg_dma_len(sgl);   /* should be \u0027sg\u0027 */\n\nConsequently \u0027avail\u0027 is always the length of the first entry. For\nmulti-sg lists this causes out-of-bounds reads when a later entry is\nshorter than the first, and silent data loss when it is longer.\nSingle-sg or uniformly-sized lists happen to mask the issue."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-19T09:17:09.166Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/f448a5f5bd10d792440a1b08cf2e8f311767032d"
        },
        {
          "url": "https://git.kernel.org/stable/c/2148db529f082d6e3ca95413bf943442f4ef30cc"
        },
        {
          "url": "https://git.kernel.org/stable/c/d920c07aa6d89ec11afdb6976aafaee9563a5234"
        },
        {
          "url": "https://git.kernel.org/stable/c/4a33886057e6d127555efb022879c583e966acc5"
        },
        {
          "url": "https://git.kernel.org/stable/c/88a505330eb06128f7ce79a4c5e4832b7601b3d1"
        },
        {
          "url": "https://git.kernel.org/stable/c/bae65e4925928f77824ca0103122e2ed20ef5802"
        },
        {
          "url": "https://git.kernel.org/stable/c/54ccc01012a240476edf641bf1a2b8bff54fe6ae"
        },
        {
          "url": "https://git.kernel.org/stable/c/075bc7b1d3dde5ed43fbaabbc1a69f09b7fc3a47"
        }
      ],
      "title": "dmaengine: mmp_pdma: fix wrong sg length in mmp_pdma_prep_slave_sg()",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-98298",
    "datePublished": "2026-10-06T08:45:56.417Z",
    "dateReserved": "2026-09-25T10:25:14.337Z",
    "dateUpdated": "2026-10-19T09:17:09.166Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


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…