---
id: CVE-2026-23172
title: 'net: wwan: t7xx: fix potential skb->frags overflow in RX path'
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…
severity: high
cvss: 8.4
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'
cvssSource: cna
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= d642b012df70a76dd5723f2d426b40bffe83ac49 <
    f9747a7521a48afded5bff2faf1f2dcfff48c577
  - >-
    Linux >= d642b012df70a76dd5723f2d426b40bffe83ac49 <
    2a0522f564acd34442652ea083091c329fa7c5d5
  - >-
    Linux >= d642b012df70a76dd5723f2d426b40bffe83ac49 <
    af4b8577d0b388cc3d0039eb0cdd9ca5bbbc9276
  - >-
    Linux >= d642b012df70a76dd5723f2d426b40bffe83ac49 <
    2c0fb0f60bc1545c52da61bc6bd4855c1e7814ba
  - >-
    Linux >= d642b012df70a76dd5723f2d426b40bffe83ac49 <
    f0813bcd2d9d97fdbdf2efb9532ab03ae92e99e6
  - Linux 5.19
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-10-16T15:06:37.759653Z'
published: '2026-02-14'
updated: '2026-10-16'
sourceUpdated: '2026-10-16T15:09:49.897Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-23172'
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'
tags:
  - cve.org
epss: 0.00159
epssPercentile: 0.04578
ingestedAt: '2026-10-16T17:24:46.639Z'
---

## Overview

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.

## Affected

- `Linux >= d642b012df70a76dd5723f2d426b40bffe83ac49 < f9747a7521a48afded5bff2faf1f2dcfff48c577`
- `Linux >= d642b012df70a76dd5723f2d426b40bffe83ac49 < 2a0522f564acd34442652ea083091c329fa7c5d5`
- `Linux >= d642b012df70a76dd5723f2d426b40bffe83ac49 < af4b8577d0b388cc3d0039eb0cdd9ca5bbbc9276`
- `Linux >= d642b012df70a76dd5723f2d426b40bffe83ac49 < 2c0fb0f60bc1545c52da61bc6bd4855c1e7814ba`
- `Linux >= d642b012df70a76dd5723f2d426b40bffe83ac49 < f0813bcd2d9d97fdbdf2efb9532ab03ae92e99e6`
- `Linux 5.19`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
