Skip to content
Heist/ feed
High

net: wwan: t7xx: fix potential skb->frags overflow in RX path

Type: advisorySource: Official CVE List1 source record

In the Linux kernel, the following vulnerability has been resolved: net: wwan: t7xx: fix potential skb->frags overflow in RX path When receiving data in the DPMAIF RX path, the t7xx_dpmaif_set_frag_to_skb() function adds page fragments to an skb without checking if the number of fragments has exceeded MAX_SKB_FRAGS. This could lead to a buffer overflow in skb_shinfo(skb)->frags[] array, corrupting adjacent memory and potentially causing kernel crashes or other undefined behavior. This issue was identified through static code analysis by comparing with a similar vulnerability fixed in the mt76 driver commit b102f0c522cf ("mt76: fix array overflow on receiving too many fragments for a packet"). The vulnerability could be triggered if the modem firmware sends packets with excessive fragments. While under normal protocol conditions (MTU 3080 bytes, BAT buffer 3584 bytes), a single packet should not require additional fragments, the kernel should not blindly trust firmware behavior. Malicious, buggy, or compromised firmware could potentially craft packets with more fragments than the kernel expects. Fix this by adding a bounds check before calling skb_add_rx_frag() to ensure nr_frags does not exceed MAX_SKB_FRAGS. The check must be performed before unmapping to avoid a page leak and double DMA unmap during device teardown.

Announced Source revision 1
Original source ↗

CVE-2026-23172

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-23172

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": "d642b012df70a76dd5723f2d426b40bffe83ac49",
        "lessThan": "f9747a7521a48afded5bff2faf1f2dcfff48c577",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "d642b012df70a76dd5723f2d426b40bffe83ac49",
        "lessThan": "2a0522f564acd34442652ea083091c329fa7c5d5",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "d642b012df70a76dd5723f2d426b40bffe83ac49",
        "lessThan": "af4b8577d0b388cc3d0039eb0cdd9ca5bbbc9276",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "d642b012df70a76dd5723f2d426b40bffe83ac49",
        "lessThan": "2c0fb0f60bc1545c52da61bc6bd4855c1e7814ba",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "d642b012df70a76dd5723f2d426b40bffe83ac49",
        "lessThan": "f0813bcd2d9d97fdbdf2efb9532ab03ae92e99e6",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "drivers/net/wwan/t7xx/t7xx_hif_dpmaif_rx.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.19"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "5.19",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "6.1.162",
        "versionType": "semver",
        "lessThanOrEqual": "6.1.*"
      },
      {
        "status": "unaffected",
        "version": "6.6.123",
        "versionType": "semver",
        "lessThanOrEqual": "6.6.*"
      },
      {
        "status": "unaffected",
        "version": "6.12.69",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.18.9",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "6.19",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "drivers/net/wwan/t7xx/t7xx_hif_dpmaif_rx.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-23172

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

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