CVE-2025-40071

Summary

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 Software

VendorProductVersion RangeStatus
LinuxLinux48473802506d2d6151f59e0e764932b33b53cb3b < c36785f9de03df56ff9b8eca30fa681a12b2310daffected
LinuxLinux48473802506d2d6151f59e0e764932b33b53cb3b < 5416e89b81b00443cb03c88df8da097ae091a141affected
LinuxLinux48473802506d2d6151f59e0e764932b33b53cb3b < c5a2791a7f11939f05f95c01f0aec0c55bbf28d5affected
LinuxLinux48473802506d2d6151f59e0e764932b33b53cb3b < 3cf0b3c243e56bc43be560617416c1d9f301f44caffected
LinuxLinux920e849b7d23ced84c9d11e11e2449e34973cfb8affected
LinuxLinuxe83b4e1540469babeffcfd44a605cf8a61542598affected
LinuxLinux5.15.54 < 5.16affected
LinuxLinux5.17.6 < 5.18affected
LinuxLinux5.18affected
LinuxLinux0 < 5.18unaffected
LinuxLinux6.6.112 <= 6.6.*unaffected
LinuxLinux6.12.53 <= 6.12.*unaffected
LinuxLinux6.17.3 <= 6.17.*unaffected
LinuxLinux6.18 <= *unaffected

Weaknesses

References