# CVE-2025-40071: tty: n_gsm: Don't block input queue by waiting MSC

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2025-10-28T11:48:39.417Z
- Modified: 2026-10-30T13:18:13.077Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 48473802506d2d6151f59e0e764932b33b53cb3b before 8fcc22d6b90304d8b7436e101562218ea3faf73b; from 48473802506d2d6151f59e0e764932b33b53cb3b before c36785f9de03df56ff9b8eca30fa681a12b2310d; from 48473802506d2d6151f59e0e764932b33b53cb3b before 5416e89b81b00443cb03c88df8da097ae091a141; from 48473802506d2d6151f59e0e764932b33b53cb3b before c5a2791a7f11939f05f95c01f0aec0c55bbf28d5; from 48473802506d2d6151f59e0e764932b33b53cb3b before 3cf0b3c243e56bc43be560617416c1d9f301f44c; 920e849b7d23ced84c9d11e11e2449e34973cfb8; e83b4e1540469babeffcfd44a605cf8a61542598; from 5.15.54 before 5.16; from 5.17.6 before 5.18; 5.18 (not affected: before 5.18; from 6.1.191 up to 6.1.*; from 6.6.112 up to 6.6.*; from 6.12.53 up to 6.12.*; from 6.17.3 up to 6.17.*; from 6.18 up to *)

## References

- <https://git.kernel.org/stable/c/8fcc22d6b90304d8b7436e101562218ea3faf73b>
- <https://git.kernel.org/stable/c/c36785f9de03df56ff9b8eca30fa681a12b2310d>
- <https://git.kernel.org/stable/c/5416e89b81b00443cb03c88df8da097ae091a141>
- <https://git.kernel.org/stable/c/c5a2791a7f11939f05f95c01f0aec0c55bbf28d5>
- <https://git.kernel.org/stable/c/3cf0b3c243e56bc43be560617416c1d9f301f44c>

## Sources

- CVE List: [CVE-2025-40071](https://www.cve.org/CVERecord?id=CVE-2025-40071), CVE Terms of Use, modified 2026-10-30
- NVD: [CVE-2025-40071](https://nvd.nist.gov/vuln/detail/CVE-2025-40071), Public domain, modified 2026-10-30

---

Page: https://cve.day/CVE-2025-40071 · Whole record: https://cve.day/CVE-2025-40071.json · Rebuilt by cve.day 2026-11-25T22:59:06.944Z
