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-98803 Overview
CVE-2026-98803 is a vulnerability in the Linux kernel's stmmac network driver affecting receive (RX) Scatter-Gather handling. The driver failed to allocate a secondary RX buffer (sec_page) for non-split-header (non-SPH) frames. When an incoming frame exceeded dma_buf_sz, the DMA engine wrote the overflow into an unmapped secondary buffer address. On IOMMU-based platforms using the ARM System Memory Management Unit (SMMU), this triggered a context translation fault and disrupted network receive processing.
Critical Impact
Oversized frames received by the Synopsys GMAC4 or XGMAC Ethernet controllers trigger SMMU translation faults, causing network path disruption on IOMMU-enabled Linux systems.
Affected Products
- Linux kernel net/ethernet/stmicro/stmmac driver
- Platforms using Synopsys GMAC4 and XGMAC Ethernet controllers
- IOMMU/SMMU-based ARM platforms running the affected driver
Discovery Timeline
- 2026-10-18 - CVE-2026-98803 published to NVD
- 2026-10-19 - Last updated in NVD database
Technical Details for CVE-2026-98803
Vulnerability Analysis
The stmmac driver supports RX Scatter-Gather, where the DMA engine splits received frames larger than dma_buf_sz across multiple RX descriptors using a primary buffer (buffer1) and a secondary buffer (buffer2). The driver only allocated and programmed buffer2 when split-header (SPH) mode was active. For standard frames, buffer2 was neither allocated nor backed by a valid DMA mapping.
When a received frame overflowed buffer1, the DMA controller attempted to write the remaining data to the unmapped buffer2 address. On platforms with an ARM SMMU, the controller issued an unmapped IOVA write, producing an unhandled context fault with fsr=0x402 (Format=2 Translation Fault). The fault log reports FSYNR0 = 007f0011 with the write-not-read (WNR) bit set.
Root Cause
The root cause is incomplete DMA buffer initialization in stmmac_init_rx_buffers() and stmmac_rx_refill(). The driver assumed Scatter-Gather would only be exercised in SPH mode and omitted secondary-buffer setup for the common case. Additionally, the page pool synchronization window covered only buffer1, and FCS stripping logic did not account for frames straddling the buffer1/buffer2 boundary, which could cause unsigned underflow when a frame overflows a buffer by 1–3 bytes.
Attack Vector
The fault condition is reachable by any oversized Ethernet frame delivered to an affected interface when jumbo frames are enabled on the MAC. The resulting SMMU translation fault interrupts the DMA path and can cause denial of receive service on the affected interface. Native XDP in single-buffer mode and AF_XDP zero-copy RX queues remain exposed because the fix does not extend to those paths; XDP multi-buffer and ZC handling are deferred to follow-up patches.
The vulnerability requires network-adjacent frame delivery and does not require authentication. See the Linux Kernel Commit a7cff44 for the complete fix.
Detection Methods for CVE-2026-98803
Indicators of Compromise
- Kernel log entries reporting arm-smmu unhandled context faults with fsr=0x402 and fsynr=0x7f0011
- SMMU fault messages referencing the stmmac device Stream ID (SID) and context bank index
- Repeated receive-path stalls or dropped frames on GMAC4 or XGMAC interfaces after enabling jumbo frames
Detection Strategies
- Monitor dmesg and /var/log/kern.log for arm-smmu fault signatures correlated with network interface activity
- Audit running kernel versions against the fix commits 358d5ac, 8809572, and a7cff44 across the Linux stable trees
- Correlate interface MTU and jumbo-frame configuration with SMMU-enabled device trees on ARM platforms
Monitoring Recommendations
- Centralize kernel logs from Linux hosts and alert on Unhandled context fault strings scoped to IOMMU devices
- Track RX error, drop, and overrun counters on stmmac-backed interfaces using ethtool -S
- Review platform firmware and device-tree bindings on affected ARM SoCs to confirm SMMU exposure
How to Mitigate CVE-2026-98803
Immediate Actions Required
- Apply the upstream stmmac fix from the Linux stable trees to all affected kernels
- Rebuild and deploy kernels containing commits 358d5ac, 8809572, and a7cff44
- On systems that cannot be patched immediately, disable jumbo frames on stmmac-backed interfaces to keep frames within a single dma_buf_sz buffer
Patch Information
The fix enables secondary-buffer allocation for non-SPH frames on cores that expose set_sec_addr (GMAC4 and XGMAC). It marks buffer2 as valid in stmmac_init_rx_buffers() and stmmac_rx_refill(), widens the page pool sync window to dma_buf_sz + stmmac_rx_offset(), and strips FCS from the assembled frame with pskb_trim() to avoid unsigned underflow. Reference the Linux Kernel Commit 358d5ac and Linux Kernel Commit 8809572 for backport details.
Workarounds
- Set interface MTU to a value that prevents frames from exceeding dma_buf_sz, keeping RX in single-buffer mode
- Avoid relying on native XDP or AF_XDP zero-copy on affected interfaces until follow-up patches land
- Where feasible on non-production systems, disable the SMMU for the affected device to surface the issue without a hard fault; use only for triage, not as a production mitigation
# Reduce MTU to keep received frames within a single DMA buffer
ip link set dev eth0 mtu 1500
# Verify current driver and interface statistics
ethtool -i eth0
ethtool -S eth0 | grep -Ei 'rx_(err|drop|over|fifo)'
# Watch for SMMU translation faults in the kernel ring buffer
dmesg -w | grep -i 'arm-smmu'
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

