{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-98298","id":"CVE-2026-98298","title":"dmaengine: mmp_pdma: fix wrong sg length in mmp_pdma_prep_slave_sg()","description":"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 'sg', but the entry length is read from 'sgl'\n(the list head) instead of 'sg' (the current entry):\n\n    for_each_sg(sgl, sg, sg_len, i) {\n        addr = sg_dma_address(s","descriptionLong":"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 'sg', but the entry length is read from 'sgl'\n(the list head) instead of 'sg' (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 'sg' */\n\nConsequently 'avail' 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.","published":"2026-10-06T08:45:56.417Z","updated":"2026-11-18T19:57:27.502894995Z","reserved":"2026-09-25T10:25:14.337Z","status":"Received","rejected":false,"assigner":"Linux","metric":null,"metrics":[],"rating":"unrated","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"c8acd6aa6bed3c0fd7898202f4ebc534db9085f2","lessThan":"f448a5f5bd10d792440a1b08cf2e8f311767032d","status":"affected","versionType":"git"},{"version":"c8acd6aa6bed3c0fd7898202f4ebc534db9085f2","lessThan":"2148db529f082d6e3ca95413bf943442f4ef30cc","status":"affected","versionType":"git"},{"version":"c8acd6aa6bed3c0fd7898202f4ebc534db9085f2","lessThan":"d920c07aa6d89ec11afdb6976aafaee9563a5234","status":"affected","versionType":"git"},{"version":"c8acd6aa6bed3c0fd7898202f4ebc534db9085f2","lessThan":"4a33886057e6d127555efb022879c583e966acc5","status":"affected","versionType":"git"},{"version":"c8acd6aa6bed3c0fd7898202f4ebc534db9085f2","lessThan":"88a505330eb06128f7ce79a4c5e4832b7601b3d1","status":"affected","versionType":"git"},{"version":"c8acd6aa6bed3c0fd7898202f4ebc534db9085f2","lessThan":"bae65e4925928f77824ca0103122e2ed20ef5802","status":"affected","versionType":"git"},{"version":"c8acd6aa6bed3c0fd7898202f4ebc534db9085f2","lessThan":"54ccc01012a240476edf641bf1a2b8bff54fe6ae","status":"affected","versionType":"git"},{"version":"c8acd6aa6bed3c0fd7898202f4ebc534db9085f2","lessThan":"075bc7b1d3dde5ed43fbaabbc1a69f09b7fc3a47","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.7","status":"affected"},{"version":"0","lessThan":"3.7","status":"unaffected","versionType":"semver"},{"version":"5.10.271","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.222","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.189","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.158","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.112","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.54","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.2.8","lessThanOrEqual":"7.2.*","status":"unaffected","versionType":"semver"},{"version":"7.3","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/f448a5f5bd10d792440a1b08cf2e8f311767032d","tags":["web"]},{"url":"https://git.kernel.org/stable/c/2148db529f082d6e3ca95413bf943442f4ef30cc","tags":["web"]},{"url":"https://git.kernel.org/stable/c/d920c07aa6d89ec11afdb6976aafaee9563a5234","tags":["web"]},{"url":"https://git.kernel.org/stable/c/4a33886057e6d127555efb022879c583e966acc5","tags":["web"]},{"url":"https://git.kernel.org/stable/c/88a505330eb06128f7ce79a4c5e4832b7601b3d1","tags":["web"]},{"url":"https://git.kernel.org/stable/c/bae65e4925928f77824ca0103122e2ed20ef5802","tags":["web"]},{"url":"https://git.kernel.org/stable/c/54ccc01012a240476edf641bf1a2b8bff54fe6ae","tags":["web"]},{"url":"https://git.kernel.org/stable/c/075bc7b1d3dde5ed43fbaabbc1a69f09b7fc3a47","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98298.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98298","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00184,"epssPercentile":0.08126,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-98298","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98298","ok":true,"note":"Received"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-98298","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-98298","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}