CVE-2026-98298

dmaengine: mmp_pdma: fix wrong sg length in mmp_pdma_prep_slave_sg()

Description

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.

Key facts

Published
6 Oct 2026
Last changed
19 Oct 2026
Assigned by
Linux
EPSS
0.184% likely to be exploited in the next 30 days, higher than 8.118% of CVEs (scores for 17 Nov 2026)

Historical context and remediation

This reference retains the original CVE publication date. A recent record update does not mean a new attack occurred.

No separately sourced impact summary is available on this page yet. Consult the description, version data and dated exploitation evidence.

No explicit remediation statement is available on this page yet. Consult the original record and vendor references before choosing a fix.

Version statuses below come from the CNA. An “unaffected” version is not necessarily a currently supported release or proof of a patch date. EPSS is a dated risk estimate, not a count of historical attacks.

Read the original CVE record.

Affected products

VendorProductVersions
LinuxLinux
  • Default status: unaffected
  • c8acd6aa6bed3c0fd7898202f4ebc534db9085f2 up to but excluding f448a5f5bd10d792440a1b08cf2e8f311767032d (affected)
  • c8acd6aa6bed3c0fd7898202f4ebc534db9085f2 up to but excluding 2148db529f082d6e3ca95413bf943442f4ef30cc (affected)
  • c8acd6aa6bed3c0fd7898202f4ebc534db9085f2 up to but excluding d920c07aa6d89ec11afdb6976aafaee9563a5234 (affected)
  • c8acd6aa6bed3c0fd7898202f4ebc534db9085f2 up to but excluding 4a33886057e6d127555efb022879c583e966acc5 (affected)
  • c8acd6aa6bed3c0fd7898202f4ebc534db9085f2 up to but excluding 88a505330eb06128f7ce79a4c5e4832b7601b3d1 (affected)
  • c8acd6aa6bed3c0fd7898202f4ebc534db9085f2 up to but excluding bae65e4925928f77824ca0103122e2ed20ef5802 (affected)
  • c8acd6aa6bed3c0fd7898202f4ebc534db9085f2 up to but excluding 54ccc01012a240476edf641bf1a2b8bff54fe6ae (affected)
  • c8acd6aa6bed3c0fd7898202f4ebc534db9085f2 up to but excluding 075bc7b1d3dde5ed43fbaabbc1a69f09b7fc3a47 (affected)
LinuxLinux
  • Default status: affected
  • 3.7 (affected)
  • 0 up to but excluding 3.7 (unaffected)
  • 5.10.271 up to and including 5.10.* (unaffected)
  • 5.15.222 up to and including 5.15.* (unaffected)
  • 6.1.189 up to and including 6.1.* (unaffected)
  • 6.6.158 up to and including 6.6.* (unaffected)
  • 6.12.112 up to and including 6.12.* (unaffected)
  • 6.18.54 up to and including 6.18.* (unaffected)
  • 7.2.8 up to and including 7.2.* (unaffected)
  • 7.3 up to and including * (unaffected)

Timeline

  1. 6 Oct 2026 Published

References