tty: serial: samsung: Remove redundant port lock acquisition in rx helpers

Summary

CVECVE-2026-64528
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-07-25 10:17:39 UTC
Updated2026-07-25 10:17:39 UTC
DescriptionIn the Linux kernel, the following vulnerability has been resolved: tty: serial: samsung: Remove redundant port lock acquisition in rx helpers Sashiko identified a deadlock when the console flow is engaged [1]. When console flow control is enabled (UPF_CONS_FLOW), s3c24xx_serial_stop_tx() calls s3c24xx_serial_rx_enable() and s3c24xx_serial_start_tx() calls s3c24xx_serial_rx_disable(). The serial core framework invokes the .stop_tx() and .start_tx() callbacks with the port->lock spinlock already held. Furthermore, all internal driver paths that invoke stop_tx (such as the DMA TX completion handler s3c24xx_serial_tx_dma_complete() or the PIO TX IRQ handler s3c24xx_serial_tx_irq()) also acquire port->lock prior to calling it. (Note that s3c24xx_serial_start_tx() is only invoked by the serial core). However, s3c24xx_serial_rx_enable() and s3c24xx_serial_rx_disable() unconditionally attempt to acquire port->lock again using uart_port_lock_irqsave(). Since spinlocks are not recursive, this causes a deadlock on the same CPU when console flow control is engaged. Remove the redundant lock acquisition from both rx helper functions.

Risk And Classification

EPSS: 0.001680000 probability, percentile 0.064010000 (date 2026-07-26)

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected b497549a035c2a81b71c7a27f2b00c8a16c09423 ee9eb72be95490602c493db050c73d925c3a4d74 git Not specified
CNA Linux Linux affected b497549a035c2a81b71c7a27f2b00c8a16c09423 10014eb7eee351f7b587f8ac85830f0c9343cb9a git Not specified
CNA Linux Linux affected b497549a035c2a81b71c7a27f2b00c8a16c09423 f4c3e63fa8639aedf96fb200d9939945a9eed51e git Not specified
CNA Linux Linux affected b497549a035c2a81b71c7a27f2b00c8a16c09423 a9c22e0f93ba18322a6623ecdda2f0cd858ca350 git Not specified
CNA Linux Linux affected b497549a035c2a81b71c7a27f2b00c8a16c09423 14143ec10d69f42806b5d7b046f0fd1b835831ae git Not specified
CNA Linux Linux affected b497549a035c2a81b71c7a27f2b00c8a16c09423 9fd48937046efc9abb89379d63ee9cc5c661d711 git Not specified
CNA Linux Linux affected b497549a035c2a81b71c7a27f2b00c8a16c09423 9c92b42207978559e32903c3098aaf5c5b5788b2 git Not specified
CNA Linux Linux affected b497549a035c2a81b71c7a27f2b00c8a16c09423 a3bb136bff5e6a5e48cdd813246c9c4686feaaa9 git Not specified
CNA Linux Linux affected 2.6.27 Not specified
CNA Linux Linux unaffected 2.6.27 semver Not specified
CNA Linux Linux unaffected 5.10.259 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.210 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.176 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.143 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.93 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.35 6.18.* semver Not specified
CNA Linux Linux unaffected 7.0.12 7.0.* semver Not specified
CNA Linux Linux unaffected 7.1 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/14143ec10d69f42806b5d7b046f0fd1b835831ae 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/9c92b42207978559e32903c3098aaf5c5b5788b2 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/a9c22e0f93ba18322a6623ecdda2f0cd858ca350 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/a3bb136bff5e6a5e48cdd813246c9c4686feaaa9 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/ee9eb72be95490602c493db050c73d925c3a4d74 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/f4c3e63fa8639aedf96fb200d9939945a9eed51e 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/9fd48937046efc9abb89379d63ee9cc5c661d711 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/10014eb7eee351f7b587f8ac85830f0c9343cb9a 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