CVE-2025-40071

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

No CVSS score yet EPSS 0.21%

Published 28 Oct 2025 Updated 30 Oct 2026 CNA: Linux

Check your servers for CVE-2025-40071

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-40071 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.21%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 11.3% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 48473802506d2d6151f59e0e764932b33b53cb3b, before 8fcc22d6b90304d8b7436e101562218ea3faf73b
affected from 48473802506d2d6151f59e0e764932b33b53cb3b, before c36785f9de03df56ff9b8eca30fa681a12b2310d
affected from 48473802506d2d6151f59e0e764932b33b53cb3b, before 5416e89b81b00443cb03c88df8da097ae091a141
affected from 48473802506d2d6151f59e0e764932b33b53cb3b, before c5a2791a7f11939f05f95c01f0aec0c55bbf28d5
affected from 48473802506d2d6151f59e0e764932b33b53cb3b, before 3cf0b3c243e56bc43be560617416c1d9f301f44c
affected 920e849b7d23ced84c9d11e11e2449e34973cfb8
affected e83b4e1540469babeffcfd44a605cf8a61542598
affected from 5.15.54, before 5.16
affected from 5.17.6, before 5.18
Other versions: unaffected
Linux
affected 5.18
unaffected before 5.18
unaffected from 6.1.191 up to and including 6.1.*
unaffected from 6.6.112 up to and including 6.6.*
unaffected from 6.12.53 up to and including 6.12.*
unaffected from 6.17.3 up to and including 6.17.*
unaffected 6.18 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-40071 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-40071

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2025-40071
trivy image --scanners vuln IMAGE | grep CVE-2025-40071

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2025-40071 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.