← Back to CVE Explorer

CVE-2025-40071

Full vulnerability record from the local CVENow database.

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.

Severity
Not scored
CVSS score
Not available
Vulnerability status
Deferred
Source identifier
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Published
2025-10-28 12:15:41.613000
Last modified
2026-10-30 13:18:13.077000
View original CVE JSON
{
  "id": "CVE-2025-40071",
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
  "published": "2025-10-28T12:15:41.613",
  "lastModified": "2026-10-30T13:18:13.077",
  "vulnStatus": "Deferred",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "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."
    },
    {
      "lang": "es",
      "value": "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."
    }
  ],
  "affected": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "affectedData": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "programFiles": [
            "drivers/tty/n_gsm.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "48473802506d2d6151f59e0e764932b33b53cb3b",
              "lessThan": "8fcc22d6b90304d8b7436e101562218ea3faf73b",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "48473802506d2d6151f59e0e764932b33b53cb3b",
              "lessThan": "c36785f9de03df56ff9b8eca30fa681a12b2310d",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "48473802506d2d6151f59e0e764932b33b53cb3b",
              "lessThan": "5416e89b81b00443cb03c88df8da097ae091a141",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "48473802506d2d6151f59e0e764932b33b53cb3b",
              "lessThan": "c5a2791a7f11939f05f95c01f0aec0c55bbf28d5",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "48473802506d2d6151f59e0e764932b33b53cb3b",
              "lessThan": "3cf0b3c243e56bc43be560617416c1d9f301f44c",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "920e849b7d23ced84c9d11e11e2449e34973cfb8",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "e83b4e1540469babeffcfd44a605cf8a61542598",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "5.15.54",
              "lessThan": "5.16",
              "versionType": "semver",
              "status": "affected"
            },
            {
              "version": "5.17.6",
              "lessThan": "5.18",
              "versionType": "semver",
              "status": "affected"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "programFiles": [
            "drivers/tty/n_gsm.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "5.18",
              "status": "affected"
            },
            {
              "version": "0",
              "lessThan": "5.18",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.1.191",
              "lessThanOrEqual": "6.1.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.6.112",
              "lessThanOrEqual": "6.6.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.12.53",
              "lessThanOrEqual": "6.12.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.17.3",
              "lessThanOrEqual": "6.17.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.18",
              "lessThanOrEqual": "*",
              "versionType": "original_commit_for_fix",
              "status": "unaffected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {},
  "references": [
    {
      "url": "https://git.kernel.org/stable/c/3cf0b3c243e56bc43be560617416c1d9f301f44c",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/5416e89b81b00443cb03c88df8da097ae091a141",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/8fcc22d6b90304d8b7436e101562218ea3faf73b",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/c36785f9de03df56ff9b8eca30fa681a12b2310d",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/c5a2791a7f11939f05f95c01f0aec0c55bbf28d5",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    }
  ]
}