Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-98298 Overview
CVE-2026-98298 is a Linux kernel vulnerability in the Marvell PXA DMA engine driver (mmp_pdma). The flaw resides in mmp_pdma_prep_slave_sg(), which incorrectly reads the scatter-gather entry length from the list head (sgl) instead of the current iterator entry (sg). As a result, every scatterlist entry is treated as if it has the length of the first entry. Multi-entry scatter-gather lists with varying sizes trigger out-of-bounds reads when subsequent entries are shorter than the first, and silent data loss when they are longer. The issue was resolved upstream through multiple stable-kernel backports.
Critical Impact
Incorrect scatter-gather length handling in the mmp_pdma DMA engine driver can cause out-of-bounds memory reads and silent data corruption during DMA transfers on affected Marvell PXA platforms.
Affected Products
- Linux kernel dmaengine subsystem — mmp_pdma driver
- Marvell PXA platforms that use the mmp_pdma DMA controller
- Multiple stable kernel branches (fixed via backports referenced in the kernel.org commits)
Discovery Timeline
- 2026-10-06 - CVE-2026-98298 published to NVD
- 2026-10-06 - Last updated in NVD database
Technical Details for CVE-2026-98298
Vulnerability Analysis
The vulnerability affects mmp_pdma_prep_slave_sg() in the Marvell PXA Peripheral DMA (mmp_pdma) driver. The function prepares a DMA descriptor chain from a caller-provided scatter-gather list. Inside the for_each_sg() loop, the DMA address is correctly retrieved from the current entry sg, but the length is retrieved from the list head sgl. This typographical error causes avail to always equal the length of the first scatterlist entry regardless of iteration position.
When all entries in the scatterlist are the same size, or when only a single entry is submitted, the defect is masked and transfers appear to succeed. The bug surfaces only with heterogeneous multi-entry lists. If a later entry is shorter than the first, the driver programs the hardware to read beyond the mapped buffer boundary, producing an out-of-bounds read. If a later entry is longer than the first, the trailing bytes are never transferred, resulting in silent data loss.
Root Cause
The root cause is a variable misuse defect in which sg_dma_len(sgl) is called inside the loop body instead of sg_dma_len(sg). The iterator variable sg is updated on each pass by for_each_sg(), while sgl continues to reference the list head. This maps to an out-of-bounds read condition and a correctness defect in DMA length computation.
Attack Vector
Exploitation requires a code path that submits a multi-entry scatter-gather list to the mmp_pdma driver with entries of differing sizes. Any kernel subsystem or driver that performs DMA through mmp_pdma — for example, audio, MMC, or SPI peripherals on affected Marvell PXA SoCs — can trigger the condition during normal operation. The primary impact is memory safety and data integrity on the device, rather than a direct remote attack surface.
No verified public exploit code is available. The vulnerability is described in prose based on the upstream patch description. See the referenced Kernel Patch Commit 075bc7b for the authoritative source fix.
Detection Methods for CVE-2026-98298
Indicators of Compromise
- Unexplained DMA transfer failures, truncated buffers, or corrupted peripheral I/O on Marvell PXA hardware using mmp_pdma.
- Kernel log entries referencing DMA errors, KASAN out-of-bounds reports, or slab-out-of-bounds warnings originating from mmp_pdma_prep_slave_sg.
- Checksum mismatches or inconsistent data from devices such as MMC, audio, or SPI that rely on scatter-gather DMA.
Detection Strategies
- Enable Kernel Address Sanitizer (KASAN) on test builds to detect the out-of-bounds read triggered by heterogeneous scatterlists.
- Audit running kernels for the presence of fixes identified by commit hashes 075bc7b, 2148db5, 4a33886, 54ccc01, 88a5053, bae65e4, d920c07, and f448a5f.
- Inventory devices that enable CONFIG_MMP_PDMA and verify kernel versions against upstream stable releases that include the patch.
Monitoring Recommendations
- Centralize kernel logs from Marvell PXA fleet devices and alert on DMA error patterns and KASAN reports.
- Track vendor and distribution security bulletins for backported fixes referencing mmp_pdma.
- Monitor data-integrity metrics on peripherals served by mmp_pdma for anomalies suggestive of silent corruption.
How to Mitigate CVE-2026-98298
Immediate Actions Required
- Apply the upstream Linux kernel fix that replaces sg_dma_len(sgl) with sg_dma_len(sg) inside mmp_pdma_prep_slave_sg().
- Update to a stable kernel release that contains one of the backported commits listed in the kernel.org references.
- For embedded or appliance deployments, coordinate with the device vendor to obtain a patched firmware image.
Patch Information
The fix is available across multiple stable branches. Reference commits include Kernel Patch Commit 075bc7b, Kernel Patch Commit 2148db5, Kernel Patch Commit 4a33886, Kernel Patch Commit 54ccc01, Kernel Patch Commit 88a5053, Kernel Patch Commit bae65e4, Kernel Patch Commit d920c07, and Kernel Patch Commit f448a5f.
Workarounds
- Disable CONFIG_MMP_PDMA where the driver is not required for platform functionality and rebuild the kernel.
- Constrain callers to issue single-entry or uniformly sized scatter-gather lists where feasible, which masks the defect at the cost of throughput and flexibility.
- Avoid deploying unpatched kernels on Marvell PXA hardware that performs mixed-size DMA workloads.
# Verify kernel version and whether the mmp_pdma driver is loaded
uname -r
lsmod | grep mmp_pdma
# Check whether the fix commit is present in the running kernel source tree
git -C /usr/src/linux log --oneline | grep -E '075bc7b|2148db5|4a33886|54ccc01|88a5053|bae65e4|d920c07|f448a5f'
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

