CVE-2026-23172

Source
https://cve.org/CVERecord?id=CVE-2026-23172
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-23172.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2026-23172
Downstream
Related
Published
2026-02-14T16:01:34.165Z
Modified
2026-04-04T03:01:46.276989Z
Severity
  • 8.4 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
net: wwan: t7xx: fix potential skb->frags overflow in RX path
Details

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 t7xxdpmaifsetfragtoskb() function adds page fragments to an skb without checking if the number of fragments has exceeded MAXSKBFRAGS. This could lead to a buffer overflow in skbshinfo(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 skbaddrxfrag() to ensure nrfrags does not exceed MAXSKBFRAGS.

The check must be performed before unmapping to avoid a page leak and double DMA unmap during device teardown.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/23xxx/CVE-2026-23172.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
d642b012df70a76dd5723f2d426b40bffe83ac49
Fixed
f9747a7521a48afded5bff2faf1f2dcfff48c577
Fixed
2a0522f564acd34442652ea083091c329fa7c5d5
Fixed
af4b8577d0b388cc3d0039eb0cdd9ca5bbbc9276
Fixed
2c0fb0f60bc1545c52da61bc6bd4855c1e7814ba
Fixed
f0813bcd2d9d97fdbdf2efb9532ab03ae92e99e6

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-23172.json"