CVE-2026-23172 (GCVE-0-2026-23172)
Vulnerability from cvelistv5
Published
2026-02-14 16:01
Modified
2026-08-05 12:20
Summary
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.
Impacted products
Vendor Product Version
Linux Linux Version: d642b012df70a76dd5723f2d426b40bffe83ac49
Version: d642b012df70a76dd5723f2d426b40bffe83ac49
Version: d642b012df70a76dd5723f2d426b40bffe83ac49
Version: d642b012df70a76dd5723f2d426b40bffe83ac49
Version: d642b012df70a76dd5723f2d426b40bffe83ac49
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/wwan/t7xx/t7xx_hif_dpmaif_rx.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "f9747a7521a48afded5bff2faf1f2dcfff48c577",
              "status": "affected",
              "version": "d642b012df70a76dd5723f2d426b40bffe83ac49",
              "versionType": "git"
            },
            {
              "lessThan": "2a0522f564acd34442652ea083091c329fa7c5d5",
              "status": "affected",
              "version": "d642b012df70a76dd5723f2d426b40bffe83ac49",
              "versionType": "git"
            },
            {
              "lessThan": "af4b8577d0b388cc3d0039eb0cdd9ca5bbbc9276",
              "status": "affected",
              "version": "d642b012df70a76dd5723f2d426b40bffe83ac49",
              "versionType": "git"
            },
            {
              "lessThan": "2c0fb0f60bc1545c52da61bc6bd4855c1e7814ba",
              "status": "affected",
              "version": "d642b012df70a76dd5723f2d426b40bffe83ac49",
              "versionType": "git"
            },
            {
              "lessThan": "f0813bcd2d9d97fdbdf2efb9532ab03ae92e99e6",
              "status": "affected",
              "version": "d642b012df70a76dd5723f2d426b40bffe83ac49",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/wwan/t7xx/t7xx_hif_dpmaif_rx.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.19"
            },
            {
              "lessThan": "5.19",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.162",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.123",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.69",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.9",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.19",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.162",
                  "versionStartIncluding": "5.19",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.123",
                  "versionStartIncluding": "5.19",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.69",
                  "versionStartIncluding": "5.19",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.9",
                  "versionStartIncluding": "5.19",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.19",
                  "versionStartIncluding": "5.19",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet: wwan: t7xx: fix potential skb-\u003efrags overflow in RX path\n\nWhen receiving data in the DPMAIF RX path,\nthe t7xx_dpmaif_set_frag_to_skb() function adds\npage fragments to an skb without checking if the number of\nfragments has exceeded MAX_SKB_FRAGS. This could lead to a buffer overflow\nin skb_shinfo(skb)-\u003efrags[] array, corrupting adjacent memory and\npotentially causing kernel crashes or other undefined behavior.\n\nThis issue was identified through static code analysis by comparing with a\nsimilar vulnerability fixed in the mt76 driver commit b102f0c522cf (\"mt76:\nfix array overflow on receiving too many fragments for a packet\").\n\nThe vulnerability could be triggered if the modem firmware sends packets\nwith excessive fragments. While under normal protocol conditions (MTU 3080\nbytes, BAT buffer 3584 bytes),\na single packet should not require additional\nfragments, the kernel should not blindly trust firmware behavior.\nMalicious, buggy, or compromised firmware could potentially craft packets\nwith more fragments than the kernel expects.\n\nFix this by adding a bounds check before calling skb_add_rx_frag() to\nensure nr_frags does not exceed MAX_SKB_FRAGS.\n\nThe check must be performed before unmapping to avoid a page leak\nand double DMA unmap during device teardown."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 8.4,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - The vulnerability is in a PCIe WWAN modem driver (t7xx). Data originates from the local modem device via DMA. While the modem could theoretically be compromised over cellular, the immediate attack vector is the local PCIe device interface, not a network protocol stack.\nAC:L - Once the modem firmware is compromised, triggering the overflow is straightforward \u2014 simply send a packet with more than MAX_SKB_FRAGS (17) fragment PIT entries. No race conditions, special timing, or non-default configuration required.\nPR:N - No OS-level privileges or authentication are needed. The modem device sends DMA data autonomously without any credential check from the kernel; the entire RX path from IRQ through NAPI poll to the vulnerable function has zero privilege gates.\nUI:N - No user interaction is required. The vulnerability is triggered automatically during packet reception when the modem\u0027s NAPI poll processes incoming DMA data.\nS:U - The impact stays within the kernel\u0027s security authority. There is no crossing of a virtualization, sandbox, or IOMMU boundary.\nC:H - The heap buffer overflow past the frags[] array (last field in skb_shared_info) corrupts adjacent slab objects with attacker-influenced content (page pointers and sizes), potentially enabling arbitrary kernel memory reads.\nI:H - The overflow writes attacker-controlled skb_frag_t entries (page pointers, offsets, sizes) past the slab allocation boundary, corrupting adjacent kernel objects including potentially slab freelist pointers, enabling arbitrary write primitives and code execution.\nA:H - Corrupting slab metadata or adjacent kernel objects will almost certainly cause a kernel crash or panic, as confirmed by the analogous mt76 CVE which explicitly noted freelist pointer corruption."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-05T12:20:27.102Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/f9747a7521a48afded5bff2faf1f2dcfff48c577"
        },
        {
          "url": "https://git.kernel.org/stable/c/2a0522f564acd34442652ea083091c329fa7c5d5"
        },
        {
          "url": "https://git.kernel.org/stable/c/af4b8577d0b388cc3d0039eb0cdd9ca5bbbc9276"
        },
        {
          "url": "https://git.kernel.org/stable/c/2c0fb0f60bc1545c52da61bc6bd4855c1e7814ba"
        },
        {
          "url": "https://git.kernel.org/stable/c/f0813bcd2d9d97fdbdf2efb9532ab03ae92e99e6"
        }
      ],
      "title": "net: wwan: t7xx: fix potential skb-\u003efrags overflow in RX path",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-23172",
    "datePublished": "2026-02-14T16:01:34.165Z",
    "dateReserved": "2026-01-13T15:37:45.983Z",
    "dateUpdated": "2026-08-05T12:20:27.102Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…