Skip to content
Heist/ feed
Unrated

net: stmmac: fix rx Scatter-Gather support

Type: advisorySource: Official CVE List1 source record

In the Linux kernel, the following vulnerability has been resolved: net: stmmac: fix rx Scatter-Gather support When a received frame is larger than dma_buf_sz, the DMA scatters it across multiple RX descriptors (rx Scatter-Gather). The secondary RX buffer (sec_page) was only allocated and programmed when split-header (SPH) was active, so for regular frames buffer2 was neither allocated nor backed by a valid mapping. As soon as an incoming frame overflowed buffer1, the DMA wrote the overflow into the unmapped secondary-buffer address, triggering an SMMU translation fault on IOMMU-based platforms: arm-smmu 15000000.iommu: Unhandled context fault: fsr=0x402, iova=0x00000000, fsynr=0x7f0011, cbfrsynra=0x1c90, cb=11 arm-smmu 15000000.iommu: FSR = 00000402 [Format=2 TF], SID=0x1c90 arm-smmu 15000000.iommu: FSYNR0 = 007f0011 [S1CBNDX=127 WNR PLVL=1] Enable scatter-gather for non-SPH frames on cores that can program an independent secondary RX buffer (GMAC4/XGMAC): allocate and mark buffer2 as valid in stmmac_init_rx_buffers() and stmmac_rx_refill(), and account for it in the buffer length computation. Legacy cores have no set_sec_addr op, so they keep buffer2 disabled. Since buffer2 is handed to the DMA at page offset 0, the page pool sync window is widened to cover both buffers in every mode: offset is set to 0 and max_len to dma_buf_sz + stmmac_rx_offset(). The FCS can straddle the buffer1/buffer2 boundary and a descriptor boundary, so it is now stripped from the tail of the assem

Announced Group revision 1
Original source ↗

CVE-2026-98803

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-98803

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "88ebe2cf7f3fc9da95e0f06483fd58da3e67e675",
        "lessThan": "358d5ac5a5d57ce21c3814c4e3e8f3fbcb7304b4",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "88ebe2cf7f3fc9da95e0f06483fd58da3e67e675",
        "lessThan": "a7cff44543f66f3a19151060cb549691d191d44c",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "88ebe2cf7f3fc9da95e0f06483fd58da3e67e675",
        "lessThan": "88095728511e0df9c89528944f5a1762ad298983",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "c4b712d1a814a0535091d99e6cf04d69ac42ef7b",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "5.4.262",
        "lessThan": "5.5",
        "versionType": "semver"
      }
    ],
    "programFiles": [
      "drivers/net/ethernet/stmicro/stmmac/stmmac_main.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "5.5"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "5.5",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "6.18.56",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "7.2.10",
        "versionType": "semver",
        "lessThanOrEqual": "7.2.*"
      },
      {
        "status": "unaffected",
        "version": "7.3",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "drivers/net/ethernet/stmicro/stmmac/stmmac_main.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-98803

Source reference: /cveMetadata/cveId

Publisher severity

No explicit severity was provided.

Event
#38726 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement