CVE-2026-43495
net: wwan: t7xx: validate port_count against message length in t7xx_port_enum_msg_handler
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.
INFO
Published Date :
May 21, 2026, 1:16 p.m.
Last Modified :
July 23, 2026, 4:10 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | HIGH | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
Solution
- Check message buffer size before accessing header fields.
- Validate port_count against remaining buffer size.
- Guard header reads with remaining-buffer checks.
- Validate data lengths against remaining buffer.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-43495.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-43495 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-43495
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-43495 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-43495 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Translated by [email protected]
Jul. 23, 2026
Action Type Old Value New Value Added Translation Title: el kernel de Linux, Description: En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: net: wwan: t7xx: validar port_count contra la longitud del mensaje en t7xx_port_enum_msg_handler t7xx_port_enum_msg_handler() utiliza el campo port_count suministrado por el módem como límite de bucle sobre port_msg->data[] sin verificar que el búfer del mensaje contenga datos suficientes. Un módem que envía port_count=65535 en un búfer de 12 bytes desencadena una lectura fuera de límites de slab de hasta 262140 bytes. Añadir una verificación sizeof(port_msg) antes de acceder a los campos de la cabecera del mensaje del puerto para proteger contra mensajes de tamaño insuficiente. Añadir una verificación struct_size() después de extraer port_count y antes del bucle. En t7xx_parse_host_rt_data(), proteger la lectura de la cabecera rt_feature con una verificación del búfer restante antes de acceder a data_len, validar feat_data_len contra el búfer restante real para prevenir lecturas OOB y desbordamiento de entero con signo en el desplazamiento. Pasar msg_len desde ambos sitios de llamada: skb->len en la ruta DPMAIF después de skb_pull(), y el feat_data_len validado en la ruta de handshake. -
Initial Analysis by [email protected]
Jun. 26, 2026
Action Type Old Value New Value Added CWE CWE-125 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.13 up to (excluding) 6.18.30 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.19 up to (excluding) 7.0.7 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.12.88 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.140 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.19 up to (excluding) 6.1.176 Added Reference Type kernel.org: https://git.kernel.org/stable/c/0e7c074cfcd9bd93765505f9eb8b42f03ed2a744 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/2b56d7903ab804481f5233a259d5f341e9fd513c Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/307c5d0f36a5c74042217136da5bfbd9f7504650 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/9855e063e063158cc5bded576382599dc3133202 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/dd4f4c93c1488d7100b9964f2da4c8b3c29652f1 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/f94450ce5053b36002995b72d1fa1db3bb08c5bf Types: Patch Added Reference Type CVE: http://www.openwall.com/lists/oss-security/2026/06/18/1 Types: Mailing List -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 19, 2026
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/307c5d0f36a5c74042217136da5bfbd9f7504650 Changed Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': 'da45d2566a1d4e260b894ff5d96be64b21c7fa79', 'lessThan': 'f94450ce5053b36002995b72d1fa1db3bb08c5bf', 'versionType': 'git'}, {'status': 'affected', 'version': 'da45d2566a1d4e260b894ff5d96be64b21c7fa79', 'lessThan': '9855e063e063158cc5bded576382599dc3133202', 'versionType': 'git'}, {'status': 'affected', 'version': 'da45d2566a1d4e260b894ff5d96be64b21c7fa79', 'lessThan': '2b56d7903ab804481f5233a259d5f341e9fd513c', 'versionType': 'git'}, {'status': 'affected', 'version': 'da45d2566a1d4e260b894ff5d96be64b21c7fa79', 'lessThan': 'dd4f4c93c1488d7100b9964f2da4c8b3c29652f1', 'versionType': 'git'}, {'status': 'affected', 'version': 'da45d2566a1d4e260b894ff5d96be64b21c7fa79', 'lessThan': '0e7c074cfcd9bd93765505f9eb8b42f03ed2a744', 'versionType': 'git'}], 'programFiles': ['drivers/net/wwan/t7xx/t7xx_modem_ops.c', 'drivers/net/wwan/t7xx/t7xx_port_ctrl_msg.c', 'drivers/net/wwan/t7xx/t7xx_port_proxy.h'], '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.6.140', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.88', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.30', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.0.7', 'versionType': 'semver', 'lessThanOrEqual': '7.0.*'}, {'status': 'unaffected', 'version': '7.1', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/net/wwan/t7xx/t7xx_modem_ops.c', 'drivers/net/wwan/t7xx/t7xx_port_ctrl_msg.c', 'drivers/net/wwan/t7xx/t7xx_port_proxy.h'], 'defaultStatus': 'affected'}] [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': 'da45d2566a1d4e260b894ff5d96be64b21c7fa79', 'lessThan': '307c5d0f36a5c74042217136da5bfbd9f7504650', 'versionType': 'git'}, {'status': 'affected', 'version': 'da45d2566a1d4e260b894ff5d96be64b21c7fa79', 'lessThan': 'f94450ce5053b36002995b72d1fa1db3bb08c5bf', 'versionType': 'git'}, {'status': 'affected', 'version': 'da45d2566a1d4e260b894ff5d96be64b21c7fa79', 'lessThan': '9855e063e063158cc5bded576382599dc3133202', 'versionType': 'git'}, {'status': 'affected', 'version': 'da45d2566a1d4e260b894ff5d96be64b21c7fa79', 'lessThan': '2b56d7903ab804481f5233a259d5f341e9fd513c', 'versionType': 'git'}, {'status': 'affected', 'version': 'da45d2566a1d4e260b894ff5d96be64b21c7fa79', 'lessThan': 'dd4f4c93c1488d7100b9964f2da4c8b3c29652f1', 'versionType': 'git'}, {'status': 'affected', 'version': 'da45d2566a1d4e260b894ff5d96be64b21c7fa79', 'lessThan': '0e7c074cfcd9bd93765505f9eb8b42f03ed2a744', 'versionType': 'git'}], 'programFiles': ['drivers/net/wwan/t7xx/t7xx_modem_ops.c', 'drivers/net/wwan/t7xx/t7xx_port_ctrl_msg.c', 'drivers/net/wwan/t7xx/t7xx_port_proxy.h'], '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.176', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.140', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.88', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.30', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.0.7', 'versionType': 'semver', 'lessThanOrEqual': '7.0.*'}, {'status': 'unaffected', 'version': '7.1', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/net/wwan/t7xx/t7xx_modem_ops.c', 'drivers/net/wwan/t7xx/t7xx_port_ctrl_msg.c', 'drivers/net/wwan/t7xx/t7xx_port_proxy.h'], 'defaultStatus': 'affected'}] -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Jun. 18, 2026
Action Type Old Value New Value Added Reference http://www.openwall.com/lists/oss-security/2026/06/18/1 -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 17, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': 'da45d2566a1d4e260b894ff5d96be64b21c7fa79', 'lessThan': 'f94450ce5053b36002995b72d1fa1db3bb08c5bf', 'versionType': 'git'}, {'status': 'affected', 'version': 'da45d2566a1d4e260b894ff5d96be64b21c7fa79', 'lessThan': '9855e063e063158cc5bded576382599dc3133202', 'versionType': 'git'}, {'status': 'affected', 'version': 'da45d2566a1d4e260b894ff5d96be64b21c7fa79', 'lessThan': '2b56d7903ab804481f5233a259d5f341e9fd513c', 'versionType': 'git'}, {'status': 'affected', 'version': 'da45d2566a1d4e260b894ff5d96be64b21c7fa79', 'lessThan': 'dd4f4c93c1488d7100b9964f2da4c8b3c29652f1', 'versionType': 'git'}, {'status': 'affected', 'version': 'da45d2566a1d4e260b894ff5d96be64b21c7fa79', 'lessThan': '0e7c074cfcd9bd93765505f9eb8b42f03ed2a744', 'versionType': 'git'}], 'programFiles': ['drivers/net/wwan/t7xx/t7xx_modem_ops.c', 'drivers/net/wwan/t7xx/t7xx_port_ctrl_msg.c', 'drivers/net/wwan/t7xx/t7xx_port_proxy.h'], '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.6.140', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.88', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.30', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.0.7', 'versionType': 'semver', 'lessThanOrEqual': '7.0.*'}, {'status': 'unaffected', 'version': '7.1', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/net/wwan/t7xx/t7xx_modem_ops.c', 'drivers/net/wwan/t7xx/t7xx_port_ctrl_msg.c', 'drivers/net/wwan/t7xx/t7xx_port_proxy.h'], 'defaultStatus': 'affected'}] -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 30, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 21, 2026
Action Type Old Value New Value Added 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. Added Reference https://git.kernel.org/stable/c/0e7c074cfcd9bd93765505f9eb8b42f03ed2a744 Added Reference https://git.kernel.org/stable/c/2b56d7903ab804481f5233a259d5f341e9fd513c Added Reference https://git.kernel.org/stable/c/9855e063e063158cc5bded576382599dc3133202 Added Reference https://git.kernel.org/stable/c/dd4f4c93c1488d7100b9964f2da4c8b3c29652f1 Added Reference https://git.kernel.org/stable/c/f94450ce5053b36002995b72d1fa1db3bb08c5bf