serial: 8250_dma: Clear stale RX state on shutdown

Summary

CVECVE-2026-74654
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-08-22 16:16:38 UTC
Updated2026-08-22 16:16:38 UTC
DescriptionIn 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.

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 0fcb7901f9d61a325b4c5b88c600383bcbeb97fe bf4fb620e02962b2b52500a4b3d8420f351eb46a git Not specified
CNA Linux Linux affected 0fcb7901f9d61a325b4c5b88c600383bcbeb97fe e10f06ee050a08930e2339b6fec7148fd0b2a8f6 git Not specified
CNA Linux Linux affected 0fcb7901f9d61a325b4c5b88c600383bcbeb97fe d06cfb1add4a2d5b393e9e31f49ebbd168beea49 git Not specified
CNA Linux Linux affected 0fcb7901f9d61a325b4c5b88c600383bcbeb97fe e7a5d792cf64a2096e18f1d573cc3d01cba15e92 git Not specified
CNA Linux Linux affected 0fcb7901f9d61a325b4c5b88c600383bcbeb97fe 9f2444f4c0e4b06f61bae38da87c9c94c78efa86 git Not specified
CNA Linux Linux affected 0fcb7901f9d61a325b4c5b88c600383bcbeb97fe ae05d9e50b6b9f246c110b3bdc03676145c2d0d4 git Not specified
CNA Linux Linux affected 0fcb7901f9d61a325b4c5b88c600383bcbeb97fe e7e3cc6709caa49d1d6ce6c1f7cb305e38675cc9 git Not specified
CNA Linux Linux affected 0fcb7901f9d61a325b4c5b88c600383bcbeb97fe e2fe6a0efecbef00e3ecc2db64dd5afa8c212b41 git Not specified
CNA Linux Linux affected 3.19 Not specified
CNA Linux Linux unaffected 3.19 semver Not specified
CNA Linux Linux unaffected 5.10.265 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.216 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.183 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.152 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.104 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.45 6.18.* semver Not specified
CNA Linux Linux unaffected 7.1.9 7.1.* semver Not specified
CNA Linux Linux unaffected 7.2 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/e2fe6a0efecbef00e3ecc2db64dd5afa8c212b41 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/9f2444f4c0e4b06f61bae38da87c9c94c78efa86 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/bf4fb620e02962b2b52500a4b3d8420f351eb46a 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/ae05d9e50b6b9f246c110b3bdc03676145c2d0d4 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/d06cfb1add4a2d5b393e9e31f49ebbd168beea49 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/e7a5d792cf64a2096e18f1d573cc3d01cba15e92 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/e7e3cc6709caa49d1d6ce6c1f7cb305e38675cc9 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/e10f06ee050a08930e2339b6fec7148fd0b2a8f6 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report