CVE-2025-40071

published 28 Oct 2025 · updated 17 Nov 2026

tty: n_gsm: Don't block input queue by waiting MSC

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 5.18, Kernel 3cf0b3c243e56bc43be560617416c1d9f301f44c, Kernel 5416e89b81b00443cb03c88df8da097ae091a141 and 8 more.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=5.17.6 <5.18, >=48473802506d2d6151f59e0e764932b33b53cb3b <3cf0b3c243e56bc43be560617416c1d9f301f44c, >=48473802506d2d6151f59e0e764932b33b53cb3b <5416e89b81b00443cb03c88df8da097ae091a141, >=48473802506d2d6151f59e0e764932b33b53cb3b <8fcc22d6b90304d8b7436e101562218ea3faf73b, >=48473802506d2d6151f59e0e764932b33b53cb3b <c36785f9de03df56ff9b8eca30fa681a12b2310d, >=48473802506d2d6151f59e0e764932b33b53cb3b <c5a2791a7f11939f05f95c01f0aec0c55bbf28d5, >=5.15.54 <5.16, =5.18, =920e849b7d23ced84c9d11e11e2449e34973cfb8, =e83b4e1540469babeffcfd44a605cf8a615425985.18, 3cf0b3c243e56bc43be560617416c1d9f301f44c, 5416e89b81b00443cb03c88df8da097ae091a141, 8fcc22d6b90304d8b7436e101562218ea3faf73b, c36785f9de03df56ff9b8eca30fa681a12b2310d, c5a2791a7f11939f05f95c01f0aec0c55bbf28d5, 5.16
linux-kernel: Kernel>=5.17.6 <5.18, >=5.18.0 <6.1.191, >=6.13.0 <6.17.3, >=6.2.0 <6.6.112, >=6.7.0 <6.12.53, >=5.15.54 <5.165.18, 6.1.191, 6.17.3, 6.6.112, 6.12.53, 5.16

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-40071 severity on Zeptric[![CVE-2025-40071](https://zeptric.io/badge/cve/CVE-2025-40071.svg)](https://zeptric.io/cve/CVE-2025-40071)