serial: 8250_dma: Clear stale RX state on shutdown (Linux Linux)

CVE-2026-74654
Not available

At a glance

Source
NVD
EPSS
EPSS 0.18 % · percentile 7 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Received

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.

References

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected 0fcb7901f9d61a325b4c5b88c600383bcbeb97fe < bf4fb620e02962b2b52500a4b3d8420f351eb46a ; affected 0fcb7901f9d61a325b4c5b88c600383bcbeb97fe < e10f06ee050a08930e2339b6fec7148fd0b2a8f6 ; affected 0fcb7901f9d61a325b4c5b88c600383bcbeb97fe < d06cfb1add4a2d5b393e9e31f49ebbd168beea49 ; affected 0fcb7901f9d61a325b4c5b88c600383bcbeb97fe < e7a5d792cf64a2096e18f1d573cc3d01cba15e92 ; affected 0fcb7901f9d61a325b4c5b88c600383bcbeb97fe < 9f2444f4c0e4b06f61bae38da87c9c94c78efa86 ; affected 0fcb7901f9d61a325b4c5b88c600383bcbeb97fe < ae05d9e50b6b9f246c110b3bdc03676145c2d0d4
Linux · Linuxaffected 3.19 ; unaffected 0 < 3.19 ; unaffected 5.10.265 ≤ 5.10.* ; unaffected 5.15.216 ≤ 5.15.* ; unaffected 6.1.183 ≤ 6.1.* ; unaffected 6.6.152 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD