Skip to content
Heist/ feed
Back to feed
UnratedFix available

serial: 8250_dma: Clear stale RX state on shutdown

Type: advisorySources: OSV

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.

Products
Kernel
Affected versions
Not specified
Fixed versions
5.10.265, 5.15.216, 6.1.183, 6.12.104, 6.18.45, 6.6.152, 7.1.9
CVEs
CVE-2026-74654
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 20:51 UTC · Revision 1

Source evidence

serial: 8250_dma: Clear stale RX state on shutdown

core-osv · Original source

Published 22 Aug 2026, 15:32 UTC

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.

osv:CVE-2026-74654

Kernel

Fixed versions: 5.10.265, 5.15.216, 6.1.183, 6.6.152, 6.12.104, 6.18.45, 7.1.9

Complete source record
{
  "id": "627cb1d2705be78158dab1398b2ae0366142a7f525193137c6a316039f011c2c",
  "url": "https://osv.dev/vulnerability/CVE-2026-74654",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "serial: 8250_dma: Clear stale RX state on shutdown",
    "summary": "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.",
    "evidence": "osv:CVE-2026-74654",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.10.265",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.216",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.183",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.152",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.12.104",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.18.45",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "7.1.9",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2026-74654",
      "aliases": [
        "CVE-2026-74654"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0fcb7901f9d61a325b4c5b88c600383bcbeb97fe"
                },
                {
                  "fixed": "bf4fb620e02962b2b52500a4b3d8420f351eb46a"
                },
                {
                  "fixed": "e10f06ee050a08930e2339b6fec7148fd0b2a8f6"
                },
                {
                  "fixed": "d06cfb1add4a2d5b393e9e31f49ebbd168beea49"
                },
                {
                  "fixed": "e7a5d792cf64a2096e18f1d573cc3d01cba15e92"
                },
                {
                  "fixed": "9f2444f4c0e4b06f61bae38da87c9c94c78efa86"
                },
                {
                  "fixed": "ae05d9e50b6b9f246c110b3bdc03676145c2d0d4"
                },
                {
                  "fixed": "e7e3cc6709caa49d1d6ce6c1f7cb305e38675cc9"
                },
                {
                  "fixed": "e2fe6a0efecbef00e3ecc2db64dd5afa8c212b41"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74654.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "3.19.0"
                },
                {
                  "fixed": "5.10.265"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.11.0"
                },
                {
                  "fixed": "5.15.216"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.1.183"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.152"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.12.104"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.18.45"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.19.0"
                },
                {
                  "fixed": "7.1.9"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74654.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:39.823441416Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/9f2444f4c0e4b06f61bae38da87c9c94c78efa86",
        "https://git.kernel.org/stable/c/ae05d9e50b6b9f246c110b3bdc03676145c2d0d4",
        "https://git.kernel.org/stable/c/bf4fb620e02962b2b52500a4b3d8420f351eb46a",
        "https://git.kernel.org/stable/c/d06cfb1add4a2d5b393e9e31f49ebbd168beea49",
        "https://git.kernel.org/stable/c/e10f06ee050a08930e2339b6fec7148fd0b2a8f6",
        "https://git.kernel.org/stable/c/e2fe6a0efecbef00e3ecc2db64dd5afa8c212b41",
        "https://git.kernel.org/stable/c/e7a5d792cf64a2096e18f1d573cc3d01cba15e92",
        "https://git.kernel.org/stable/c/e7e3cc6709caa49d1d6ce6c1f7cb305e38675cc9",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74654.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-74654",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74654.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-74654",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 506890,
  "published_at": "2026-08-22T15:32:29.263+00:00"
}