CVE-2026-43495

net: wwan: t7xx: validate port_count against message length in t7xx_port_enum_msg_handler

HIGH
8.8
CVSS Score
Published: May 21, 2026 at 12:12 PM UTC
Updated: August 5, 2026 at 01:24 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH8.8
Exploit prediction
EPSS 0.3%

Description

In the Linux kernel, the following vulnerability has been resolved: net: wwan: t7xx: validate port_count against message length in t7xx_port_enum_msg_handler t7xx_port_enum_msg_handler() uses the modem-supplied port_count field as a loop bound over port_msg->data[] without checking that the message buffer contains sufficient data. A modem sending port_count=65535 in a 12-byte buffer triggers a slab-out-of-bounds read of up to 262140 bytes. Add a sizeof(*port_msg) check before accessing the port message header fields to guard against undersized messages. Add a struct_size() check after extracting port_count and before the loop. In t7xx_parse_host_rt_data(), guard the rt_feature header read with a remaining-buffer check before accessing data_len, validate feat_data_len against the actual remaining buffer to prevent OOB reads and signed integer overflow on offset. Pass msg_len from both call sites: skb->len at the DPMAIF path after skb_pull(), and the validated feat_data_len at the handshake path.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.19 ≤ v < 6.1.1765.19 ≤ v < 6.12.885.19 ≤ v < 6.18.305.19 ≤ v < 6.6.1405.19 ≤ v < 7.0.75.19 ≤ v < 7.16.13 ≤ v < 6.18.306.19 ≤ v < 7.0.76.2 ≤ v < 6.6.1406.7 ≤ v < 6.12.887.1 rc17.1 rc2da45d2566a1d4e260b894ff5d96be64b21c7fa79
Vendor states this is fixed in 0e7c074cfcd9bd93765505f9eb8b42f03ed2a744 (fixed)
Vendor states this is fixed in 2b56d7903ab804481f5233a259d5f341e9fd513c (fixed)
Vendor states this is fixed in 307c5d0f36a5c74042217136da5bfbd9f7504650 (fixed)
Vendor states this is fixed in 9855e063e063158cc5bded576382599dc3133202 (fixed)
Vendor states this is fixed in dd4f4c93c1488d7100b9964f2da4c8b3c29652f1 (fixed)
Vendor states this is fixed in f94450ce5053b36002995b72d1fa1db3bb08c5bf (fixed)
Vendor states this is fixed in 5.19 (unaffected)
Vendor states this is fixed in 6.1.176 (unaffected)
Vendor states this is fixed in 6.12.88 (unaffected)
Vendor states this is fixed in 6.18.30 (unaffected)
Vendor states this is fixed in 6.6.140 (unaffected)
Vendor states this is fixed in 7.0.7 (unaffected)
Vendor states this is fixed in 7.1 (unaffected)

CVSS

8.8HIGHLinux
Vector?

Quick Info

StatusANALYZED
CWE
CWE-125

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card