CVE-2025-40071
tty: n_gsm: Don't block input queue by waiting MSC
Description
In the Linux kernel, the following vulnerability has been resolved: tty: n_gsm: Don't block input queue by waiting MSC Currently gsm_queue() processes incoming frames and when opening a DLC channel it calls gsm_dlci_open() which calls gsm_modem_update(). If basic mode is used it calls gsm_modem_upd_via_msc() and it cannot block the input queue by waiting the response to come into the same input queue. Instead allow sending Modem Status Command without waiting for remote end to respond. Define a new function gsm_modem_send_initial_msc() for this purpose. As MSC is only valid for basic encoding, it does not do anything for advanced or when convergence layer type 2 is used.
INFO
Published Date :
Oct. 28, 2025, 12:15 p.m.
Last Modified :
Oct. 30, 2026, 1:18 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
- Update the Linux kernel.
- Apply the 'tty: n_gsm: Don't block input queue by waiting MSC' patch.
- Use gsm_modem_send_initial_msc() for sending MSC.
- Ensure basic encoding is used for MSC.
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-2025-40071.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-40071 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-2025-40071
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-2025-40071 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2025-40071 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 Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Oct. 30, 2026
Action Type Old Value New Value Added Affected Affected value modified. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2025/40xxx/CVE-2025-40071.json">CVE-2025-40071</a> Added Reference https://git.kernel.org/stable/c/3cf0b3c243e56bc43be560617416c1d9f301f44c Added Reference https://git.kernel.org/stable/c/5416e89b81b00443cb03c88df8da097ae091a141 Added Reference https://git.kernel.org/stable/c/8fcc22d6b90304d8b7436e101562218ea3faf73b Added Reference https://git.kernel.org/stable/c/c36785f9de03df56ff9b8eca30fa681a12b2310d Added Reference https://git.kernel.org/stable/c/c5a2791a7f11939f05f95c01f0aec0c55bbf28d5 Removed Reference https://git.kernel.org/stable/c/3cf0b3c243e56bc43be560617416c1d9f301f44c Removed Reference https://git.kernel.org/stable/c/5416e89b81b00443cb03c88df8da097ae091a141 Removed Reference https://git.kernel.org/stable/c/c36785f9de03df56ff9b8eca30fa681a12b2310d Removed Reference https://git.kernel.org/stable/c/c5a2791a7f11939f05f95c01f0aec0c55bbf28d5 -
CVE Translated by [email protected]
Oct. 19, 2026
Action Type Old Value New Value Added Translation Title: Linux, Description: En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: tty: n_gsm: No bloquear la cola de entrada al esperar MSC Actualmente, gsm_queue() procesa las tramas entrantes y al abrir un canal DLC llama a gsm_dlci_open(), que a su vez llama a gsm_modem_update(). Si se utiliza el modo básico, llama a gsm_modem_upd_via_msc() y no puede bloquear la cola de entrada al esperar que la respuesta llegue a la misma cola de entrada. En su lugar, permitir el envío del Comando de Estado del Módem sin esperar a que el extremo remoto responda. Definir una nueva función gsm_modem_send_initial_msc() para este propósito. Como MSC solo es válido para la codificación básica, no hace nada para avanzado o cuando se utiliza la capa de convergencia tipo 2. -
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': '48473802506d2d6151f59e0e764932b33b53cb3b', 'lessThan': 'c36785f9de03df56ff9b8eca30fa681a12b2310d', 'versionType': 'git'}, {'status': 'affected', 'version': '48473802506d2d6151f59e0e764932b33b53cb3b', 'lessThan': '5416e89b81b00443cb03c88df8da097ae091a141', 'versionType': 'git'}, {'status': 'affected', 'version': '48473802506d2d6151f59e0e764932b33b53cb3b', 'lessThan': 'c5a2791a7f11939f05f95c01f0aec0c55bbf28d5', 'versionType': 'git'}, {'status': 'affected', 'version': '48473802506d2d6151f59e0e764932b33b53cb3b', 'lessThan': '3cf0b3c243e56bc43be560617416c1d9f301f44c', 'versionType': 'git'}, {'status': 'affected', 'version': '920e849b7d23ced84c9d11e11e2449e34973cfb8', 'versionType': 'git'}, {'status': 'affected', 'version': 'e83b4e1540469babeffcfd44a605cf8a61542598', 'versionType': 'git'}, {'status': 'affected', 'version': '5.15.54', 'lessThan': '5.16', 'versionType': 'semver'}, {'status': 'affected', 'version': '5.17.6', 'lessThan': '5.18', 'versionType': 'semver'}], 'programFiles': ['drivers/tty/n_gsm.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '5.18'}, {'status': 'unaffected', 'version': '0', 'lessThan': '5.18', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.6.112', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.53', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.17.3', 'versionType': 'semver', 'lessThanOrEqual': '6.17.*'}, {'status': 'unaffected', 'version': '6.18', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/tty/n_gsm.c'], 'defaultStatus': 'affected'}] -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Oct. 28, 2025
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: tty: n_gsm: Don't block input queue by waiting MSC Currently gsm_queue() processes incoming frames and when opening a DLC channel it calls gsm_dlci_open() which calls gsm_modem_update(). If basic mode is used it calls gsm_modem_upd_via_msc() and it cannot block the input queue by waiting the response to come into the same input queue. Instead allow sending Modem Status Command without waiting for remote end to respond. Define a new function gsm_modem_send_initial_msc() for this purpose. As MSC is only valid for basic encoding, it does not do anything for advanced or when convergence layer type 2 is used. Added Reference https://git.kernel.org/stable/c/3cf0b3c243e56bc43be560617416c1d9f301f44c Added Reference https://git.kernel.org/stable/c/5416e89b81b00443cb03c88df8da097ae091a141 Added Reference https://git.kernel.org/stable/c/c36785f9de03df56ff9b8eca30fa681a12b2310d Added Reference https://git.kernel.org/stable/c/c5a2791a7f11939f05f95c01f0aec0c55bbf28d5