CVE-2026-74654

serial: 8250_dma: Clear stale RX state on shutdown

State
Published
Severity
Not scored
Published
Aug 22, 2026
Updated
Aug 22, 2026
Reserved
Aug 15, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 0fcb7901f9d61a325b4c5b88c600383bcbeb97fe to before bf4fb620e02962b2b52500a4b3d8420f351eb46aAffected
  • 0fcb7901f9d61a325b4c5b88c600383bcbeb97fe to before e10f06ee050a08930e2339b6fec7148fd0b2a8f6Affected
  • 0fcb7901f9d61a325b4c5b88c600383bcbeb97fe to before d06cfb1add4a2d5b393e9e31f49ebbd168beea49Affected
  • 0fcb7901f9d61a325b4c5b88c600383bcbeb97fe to before e7a5d792cf64a2096e18f1d573cc3d01cba15e92Affected
  • 0fcb7901f9d61a325b4c5b88c600383bcbeb97fe to before 9f2444f4c0e4b06f61bae38da87c9c94c78efa86Affected
  • 0fcb7901f9d61a325b4c5b88c600383bcbeb97fe to before ae05d9e50b6b9f246c110b3bdc03676145c2d0d4Affected
  • 0fcb7901f9d61a325b4c5b88c600383bcbeb97fe to before e7e3cc6709caa49d1d6ce6c1f7cb305e38675cc9Affected
  • 0fcb7901f9d61a325b4c5b88c600383bcbeb97fe to before e2fe6a0efecbef00e3ecc2db64dd5afa8c212b41Affected
LinuxLinux
  • 3.19Affected
  • before 3.19Not affected
  • 5.10.265 through 5.10.*Not affected
  • 5.15.216 through 5.15.*Not affected
  • 6.1.183 through 6.1.*Not affected
  • 6.6.152 through 6.6.*Not affected
  • 6.12.104 through 6.12.*Not affected
  • 6.18.45 through 6.18.*Not affected
  • 7.1.9 through 7.1.*Not affected
  • 7.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.