CVE-2026-64528

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

State
Published
Severity
Not scored
Published
Jul 25, 2026
Updated
Jul 25, 2026
Reserved
Jul 19, 2026

Read the record on cve.org

Description

In 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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • b497549a035c2a81b71c7a27f2b00c8a16c09423 to before ee9eb72be95490602c493db050c73d925c3a4d74Affected
  • b497549a035c2a81b71c7a27f2b00c8a16c09423 to before 10014eb7eee351f7b587f8ac85830f0c9343cb9aAffected
  • b497549a035c2a81b71c7a27f2b00c8a16c09423 to before f4c3e63fa8639aedf96fb200d9939945a9eed51eAffected
  • b497549a035c2a81b71c7a27f2b00c8a16c09423 to before a9c22e0f93ba18322a6623ecdda2f0cd858ca350Affected
  • b497549a035c2a81b71c7a27f2b00c8a16c09423 to before 14143ec10d69f42806b5d7b046f0fd1b835831aeAffected
  • b497549a035c2a81b71c7a27f2b00c8a16c09423 to before 9fd48937046efc9abb89379d63ee9cc5c661d711Affected
  • b497549a035c2a81b71c7a27f2b00c8a16c09423 to before 9c92b42207978559e32903c3098aaf5c5b5788b2Affected
  • b497549a035c2a81b71c7a27f2b00c8a16c09423 to before a3bb136bff5e6a5e48cdd813246c9c4686feaaa9Affected
LinuxLinux
  • 2.6.27Affected
  • before 2.6.27Not affected
  • 5.10.259 through 5.10.*Not affected
  • 5.15.210 through 5.15.*Not affected
  • 6.1.176 through 6.1.*Not affected
  • 6.6.143 through 6.6.*Not affected
  • 6.12.93 through 6.12.*Not affected
  • 6.18.35 through 6.18.*Not affected
  • 7.0.12 through 7.0.*Not affected
  • 7.1 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.