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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.28% (percentile 13, 2026-11-26)
- **Published:** 2025-10-28T11:48:39.417Z
- **Modified:** 2026-10-30T13:18:13.077Z

## Who should check

- Anyone running Linux \>= 48473802506d2d6151f59e0e764932b33b53cb3b, \< 8fcc22d6b90304d8b7436e101562218ea3faf73b; \>= 48473802506d2d6151f59e0e764932b33b53cb3b, \< c36785f9de03df56ff9b8eca30fa681a12b2310d; \>= 48473802506d2d6151f59e0e764932b33b53cb3b, \< 5416e89b81b00443cb03c88df8da097ae091a141; \>= 48473802506d2d6151f59e0e764932b33b53cb3b, \< c5a2791a7f11939f05f95c01f0aec0c55bbf28d5; \>= 48473802506d2d6151f59e0e764932b33b53cb3b, \< 3cf0b3c243e56bc43be560617416c1d9f301f44c; 920e849b7d23ced84c9d11e11e2449e34973cfb8; e83b4e1540469babeffcfd44a605cf8a61542598; \>= 5.15.54, \< 5.16; \>= 5.17.6, \< 5.18
- Anyone running Linux 5.18

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

## Affected and fixed versions

- Linux: \>= 48473802506d2d6151f59e0e764932b33b53cb3b, \< 8fcc22d6b90304d8b7436e101562218ea3faf73b; \>= 48473802506d2d6151f59e0e764932b33b53cb3b, \< c36785f9de03df56ff9b8eca30fa681a12b2310d; \>= 48473802506d2d6151f59e0e764932b33b53cb3b, \< 5416e89b81b00443cb03c88df8da097ae091a141; \>= 48473802506d2d6151f59e0e764932b33b53cb3b, \< c5a2791a7f11939f05f95c01f0aec0c55bbf28d5; \>= 48473802506d2d6151f59e0e764932b33b53cb3b, \< 3cf0b3c243e56bc43be560617416c1d9f301f44c; 920e849b7d23ced84c9d11e11e2449e34973cfb8; e83b4e1540469babeffcfd44a605cf8a61542598; \>= 5.15.54, \< 5.16; \>= 5.17.6, \< 5.18 (cvelist)
- Linux: 5.18 (cvelist)

## Mitigation

- Upgrade Linux to 5.18 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-40071. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-40071.md
Affected: Linux >= 48473802506d2d6151f59e0e764932b33b53cb3b, < 8fcc22d6b90304d8b7436e101562218ea3faf73b; >= 48473802506d2d6151f59e0e764932b33b53cb3b, < c36785f9de03df56ff9b8eca30fa681a12b2310d; >= 48473802506d2d6151f59e0e764932b33b53cb3b, < 5416e89b81b00443cb03c88df8da097ae091a141; >= 48473802506d2d6151f59e0…
Fixed in: Linux 8fcc22d6b90304d8b7436e101562218ea3faf73b, Linux 5416e89b81b00443cb03c88df8da097ae091a141, Linux 3cf0b3c243e56bc43be560617416c1d9f301f44c, Linux 5.16, Linux 5.18

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-40071 being exploited?

There is no confirmed exploitation: CVE-2025-40071 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.28% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-40071?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2025-40071?

Linux \>= 48473802506d2d6151f59e0e764932b33b53cb3b, \< 8fcc22d6b90304d8b7436e101562218ea3faf73b; \>= 48473802506d2d6151f59e0e764932b33b53cb3b, \< c36785f9de03df56ff9b8eca30fa681a12b2310d; \>= 48473802506d2d6151f59e0e764932b33b53cb3b, \< 5416e89b81b00443cb03c88df8da097ae091a141; \>= 48473802506d2d6151f59e0e764932b33b53cb3b, \< c5a2791a7f11939f05f95c01f0aec0c55bbf28d5; \>= 48473802506d2d6151f59e0e764932b33b53cb3b, \< 3cf0b3c243e56bc43be560617416c1d9f301f44c; 920e849b7d23ced84c9d11e11e2449e34973cfb8; e83b4e1540469babeffcfd44a605cf8a61542598; \>= 5.15.54, \< 5.16; \>= 5.17.6, \< 5.18; Linux 5.18.

### Is there a fix for CVE-2025-40071?

Yes. Fixed in Linux 8fcc22d6b90304d8b7436e101562218ea3faf73b, Linux 5416e89b81b00443cb03c88df8da097ae091a141, Linux 3cf0b3c243e56bc43be560617416c1d9f301f44c, Linux 5.16, Linux 5.18. Upgrade Linux to 5.18 or later.

### How do I check if I'm affected by CVE-2025-40071?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

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

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-40071>

HTML: <https://flawdb.com/CVE-2025-40071> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-40071>
