{"id":"CVE-2026-74654","aliases":["CVE-2026-74654"],"related":[],"kind":"vulnerability","state":"published","title":"serial: 8250_dma: Clear stale RX state on shutdown","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2026-08-22T15:32:29.263Z","modified":"2026-11-06T17:19:52.583Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"0fcb7901f9d61a325b4c5b88c600383bcbeb97fe","fixed":"bf4fb620e02962b2b52500a4b3d8420f351eb46a","status":"affected"},{"type":"git","introduced":"0fcb7901f9d61a325b4c5b88c600383bcbeb97fe","fixed":"e10f06ee050a08930e2339b6fec7148fd0b2a8f6","status":"affected"},{"type":"git","introduced":"0fcb7901f9d61a325b4c5b88c600383bcbeb97fe","fixed":"d06cfb1add4a2d5b393e9e31f49ebbd168beea49","status":"affected"},{"type":"git","introduced":"0fcb7901f9d61a325b4c5b88c600383bcbeb97fe","fixed":"e7a5d792cf64a2096e18f1d573cc3d01cba15e92","status":"affected"},{"type":"git","introduced":"0fcb7901f9d61a325b4c5b88c600383bcbeb97fe","fixed":"9f2444f4c0e4b06f61bae38da87c9c94c78efa86","status":"affected"},{"type":"git","introduced":"0fcb7901f9d61a325b4c5b88c600383bcbeb97fe","fixed":"ae05d9e50b6b9f246c110b3bdc03676145c2d0d4","status":"affected"},{"type":"git","introduced":"0fcb7901f9d61a325b4c5b88c600383bcbeb97fe","fixed":"e7e3cc6709caa49d1d6ce6c1f7cb305e38675cc9","status":"affected"},{"type":"git","introduced":"0fcb7901f9d61a325b4c5b88c600383bcbeb97fe","fixed":"e2fe6a0efecbef00e3ecc2db64dd5afa8c212b41","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.19","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.19","status":"unaffected"},{"type":"semver","introduced":"5.10.265","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.216","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.183","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.152","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.104","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.45","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.9","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","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/bf4fb620e02962b2b52500a4b3d8420f351eb46a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e10f06ee050a08930e2339b6fec7148fd0b2a8f6","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d06cfb1add4a2d5b393e9e31f49ebbd168beea49","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e7a5d792cf64a2096e18f1d573cc3d01cba15e92","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9f2444f4c0e4b06f61bae38da87c9c94c78efa86","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ae05d9e50b6b9f246c110b3bdc03676145c2d0d4","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e7e3cc6709caa49d1d6ce6c1f7cb305e38675cc9","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e2fe6a0efecbef00e3ecc2db64dd5afa8c212b41","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-06T17:00:25.809Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-74654","url":"https://www.cve.org/CVERecord?id=CVE-2026-74654","licence":"CVE Terms of Use","modified":"2026-11-06T17:05:49.864Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-74654","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-74654","licence":"Public domain","modified":"2026-11-06T17:19:52.583Z"}],"updatedAt":"2026-11-25T22:59:34.918Z","epss":{"score":0.00177,"percentile":0.07635,"date":"2026-12-01T12:00:22.000Z"}}