{"id":"CVE-2025-40071","aliases":["CVE-2025-40071"],"related":[],"kind":"vulnerability","state":"published","title":"tty: n_gsm: Don't block input queue by waiting MSC","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ntty: n_gsm: Don't block input queue by waiting MSC\n\nCurrently gsm_queue() processes incoming frames and when opening\na DLC channel it calls gsm_dlci_open() which calls gsm_modem_update().\nIf basic mode is used it calls gsm_modem_upd_via_msc() and it\ncannot block the input queue by waiting the response to come\ninto the same input queue.\n\nInstead allow sending Modem Status Command without waiting for remote\nend to respond. Define a new function gsm_modem_send_initial_msc()\nfor this purpose. As MSC is only valid for basic encoding, it does\nnot do anything for advanced or when convergence layer type 2 is used.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ntty: n_gsm: Don't block input queue by waiting MSC\n\nCurrently gsm_queue() processes incoming frames and when opening\na DLC channel it calls gsm_dlci_open() which calls gsm_modem_update().\nIf basic mode is used it calls gsm_modem_upd_via_msc() and it\ncannot block the input queue by waiting the response to come\ninto the same input queue.\n\nInstead allow sending Modem Status Command without waiting for remote\nend to respond. Define a new function gsm_modem_send_initial_msc()\nfor this purpose. As MSC is only valid for basic encoding, it does\nnot do anything for advanced or when convergence layer type 2 is used.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\ntty: n_gsm: No bloquear la cola de entrada al esperar MSC\n\nActualmente, gsm_queue() procesa las tramas entrantes y al abrir un canal DLC llama a gsm_dlci_open(), que a su vez llama a gsm_modem_update(). Si se utiliza el modo básico, llama a gsm_modem_upd_via_msc() y no puede bloquear la cola de entrada al esperar que la respuesta llegue a la misma cola de entrada.\n\nEn su lugar, permitir el envío del Comando de Estado del Módem sin esperar a que el extremo remoto responda. Definir una nueva función gsm_modem_send_initial_msc() para este propósito. Como MSC solo es válido para la codificación básica, no hace nada para avanzado o cuando se utiliza la capa de convergencia tipo 2.","source":"nvd"}],"published":"2025-10-28T11:48:39.417Z","modified":"2026-10-30T13:18:13.077Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"48473802506d2d6151f59e0e764932b33b53cb3b","fixed":"8fcc22d6b90304d8b7436e101562218ea3faf73b","status":"affected"},{"type":"git","introduced":"48473802506d2d6151f59e0e764932b33b53cb3b","fixed":"c36785f9de03df56ff9b8eca30fa681a12b2310d","status":"affected"},{"type":"git","introduced":"48473802506d2d6151f59e0e764932b33b53cb3b","fixed":"5416e89b81b00443cb03c88df8da097ae091a141","status":"affected"},{"type":"git","introduced":"48473802506d2d6151f59e0e764932b33b53cb3b","fixed":"c5a2791a7f11939f05f95c01f0aec0c55bbf28d5","status":"affected"},{"type":"git","introduced":"48473802506d2d6151f59e0e764932b33b53cb3b","fixed":"3cf0b3c243e56bc43be560617416c1d9f301f44c","status":"affected"},{"type":"git","version":"920e849b7d23ced84c9d11e11e2449e34973cfb8","status":"affected"},{"type":"git","version":"e83b4e1540469babeffcfd44a605cf8a61542598","status":"affected"},{"type":"semver","introduced":"5.15.54","fixed":"5.16","status":"affected"},{"type":"semver","introduced":"5.17.6","fixed":"5.18","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.18","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.18","status":"unaffected"},{"type":"semver","introduced":"6.1.191","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.112","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.53","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.17.3","lastAffected":"6.17.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.18","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/8fcc22d6b90304d8b7436e101562218ea3faf73b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c36785f9de03df56ff9b8eca30fa681a12b2310d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5416e89b81b00443cb03c88df8da097ae091a141","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c5a2791a7f11939f05f95c01f0aec0c55bbf28d5","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3cf0b3c243e56bc43be560617416c1d9f301f44c","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-40071","url":"https://www.cve.org/CVERecord?id=CVE-2025-40071","licence":"CVE Terms of Use","modified":"2026-10-30T12:22:47.159Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-40071","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-40071","licence":"Public domain","modified":"2026-10-30T13:18:13.077Z"}],"updatedAt":"2026-11-25T22:59:06.944Z","epss":{"score":0.00207,"percentile":0.11365,"date":"2026-12-01T12:00:22.000Z"}}