← Back to CVE Explorer

CVE-2026-74654

Full vulnerability record from the local CVENow database.

Description

In the Linux kernel, the following vulnerability has been resolved: serial: 8250_dma: Clear stale RX state on shutdown serial8250_release_dma() terminates RX DMA and releases the channel, but leaves rx_running set. If the port is closed while an RX transfer is active, the stale state remains while rxchan is NULL until the channel is requested again on the next open. The DesignWare BUSY workaround added by commit a7b9ce39fbe4 ("serial: 8250_dw: Ensure BUSY is deasserted") calls serial8250_rx_dma_flush() from the LCR write path during startup. This happens before serial8250_request_dma() obtains a new RX channel. On reopen, the stale rx_running state therefore makes the flush path pass a NULL channel to dmaengine_pause(), causing a kernel Oops. Clear rx_running after terminating RX DMA, matching the TX cleanup. Also make the flush helper return if the DMA object or RX channel is not available so startup and teardown paths cannot pass a NULL channel to the DMAengine API.

Severity
Not scored
CVSS score
Not available
Vulnerability status
Received
Source identifier
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Published
2026-08-22 16:16:38.937000
Last modified
2026-11-06 17:19:52.583000
View original CVE JSON
{
  "id": "CVE-2026-74654",
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
  "published": "2026-08-22T16:16:38.937",
  "lastModified": "2026-11-06T17:19:52.583",
  "vulnStatus": "Received",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nserial: 8250_dma: Clear stale RX state on shutdown\n\nserial8250_release_dma() terminates RX DMA and releases the channel, but\nleaves rx_running set.  If the port is closed while an RX transfer is\nactive, the stale state remains while rxchan is NULL until the channel is\nrequested again on the next open.\n\nThe DesignWare BUSY workaround added by commit a7b9ce39fbe4\n(\"serial: 8250_dw: Ensure BUSY is deasserted\") calls\nserial8250_rx_dma_flush() from the LCR write path during startup.  This\nhappens before serial8250_request_dma() obtains a new RX channel.  On\nreopen, the stale rx_running state therefore makes the flush path pass a\nNULL channel to dmaengine_pause(), causing a kernel Oops.\n\nClear rx_running after terminating RX DMA, matching the TX cleanup.  Also\nmake the flush helper return if the DMA object or RX channel is not\navailable so startup and teardown paths cannot pass a NULL channel to the\nDMAengine API."
    },
    {
      "lang": "es",
      "value": "En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nserial: 8250_dma: Borrar estado RX obsoleto al apagarse\n\nserial8250_release_dma() termina el DMA RX y libera el canal, pero deja rx_running establecido. Si el puerto se cierra mientras una transferencia RX está activa, el estado obsoleto permanece mientras rxchan es NULL hasta que el canal es solicitado de nuevo en la siguiente apertura.\n\nLa solución alternativa DesignWare BUSY añadida por el commit a7b9ce39fbe4 ('serial: 8250_dw: Ensure BUSY is deasserted') llama a serial8250_rx_dma_flush() desde la ruta de escritura LCR durante el inicio. Esto ocurre antes de que serial8250_request_dma() obtenga un nuevo canal RX. Al reabrir, el estado rx_running obsoleto, por lo tanto, hace que la ruta de vaciado pase un canal NULL a dmaengine_pause(), causando un Oops del kernel.\n\nBorrar rx_running después de terminar el DMA RX, coincidiendo con la limpieza TX. También hacer que la función auxiliar de vaciado retorne si el objeto DMA o el canal RX no está disponible para que las rutas de inicio y de desmontaje no puedan pasar un canal NULL a la API de DMAengine."
    }
  ],
  "affected": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "affectedData": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "programFiles": [
            "drivers/tty/serial/8250/8250_dma.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "0fcb7901f9d61a325b4c5b88c600383bcbeb97fe",
              "lessThan": "bf4fb620e02962b2b52500a4b3d8420f351eb46a",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "0fcb7901f9d61a325b4c5b88c600383bcbeb97fe",
              "lessThan": "e10f06ee050a08930e2339b6fec7148fd0b2a8f6",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "0fcb7901f9d61a325b4c5b88c600383bcbeb97fe",
              "lessThan": "d06cfb1add4a2d5b393e9e31f49ebbd168beea49",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "0fcb7901f9d61a325b4c5b88c600383bcbeb97fe",
              "lessThan": "e7a5d792cf64a2096e18f1d573cc3d01cba15e92",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "0fcb7901f9d61a325b4c5b88c600383bcbeb97fe",
              "lessThan": "9f2444f4c0e4b06f61bae38da87c9c94c78efa86",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "0fcb7901f9d61a325b4c5b88c600383bcbeb97fe",
              "lessThan": "ae05d9e50b6b9f246c110b3bdc03676145c2d0d4",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "0fcb7901f9d61a325b4c5b88c600383bcbeb97fe",
              "lessThan": "e7e3cc6709caa49d1d6ce6c1f7cb305e38675cc9",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "0fcb7901f9d61a325b4c5b88c600383bcbeb97fe",
              "lessThan": "e2fe6a0efecbef00e3ecc2db64dd5afa8c212b41",
              "versionType": "git",
              "status": "affected"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "programFiles": [
            "drivers/tty/serial/8250/8250_dma.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "3.19",
              "status": "affected"
            },
            {
              "version": "0",
              "lessThan": "3.19",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "5.10.265",
              "lessThanOrEqual": "5.10.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "5.15.216",
              "lessThanOrEqual": "5.15.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.1.183",
              "lessThanOrEqual": "6.1.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.6.152",
              "lessThanOrEqual": "6.6.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.12.104",
              "lessThanOrEqual": "6.12.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.18.45",
              "lessThanOrEqual": "6.18.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "7.1.9",
              "lessThanOrEqual": "7.1.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "7.2",
              "lessThanOrEqual": "*",
              "versionType": "original_commit_for_fix",
              "status": "unaffected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {
    "ssvcV203": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "ssvcData": {
          "timestamp": "2026-11-06T17:00:25.809181Z",
          "id": "CVE-2026-74654",
          "options": [
            {
              "exploitation": "none"
            },
            {
              "automatable": "no"
            },
            {
              "technicalImpact": "partial"
            }
          ],
          "role": "CISA Coordinator",
          "version": "2.0.3"
        }
      }
    ]
  },
  "references": [
    {
      "url": "https://git.kernel.org/stable/c/9f2444f4c0e4b06f61bae38da87c9c94c78efa86",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/ae05d9e50b6b9f246c110b3bdc03676145c2d0d4",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/bf4fb620e02962b2b52500a4b3d8420f351eb46a",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/d06cfb1add4a2d5b393e9e31f49ebbd168beea49",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/e10f06ee050a08930e2339b6fec7148fd0b2a8f6",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/e2fe6a0efecbef00e3ecc2db64dd5afa8c212b41",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/e7a5d792cf64a2096e18f1d573cc3d01cba15e92",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/e7e3cc6709caa49d1d6ce6c1f7cb305e38675cc9",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    }
  ]
}