CVE-2026-142996: serial: samsung: don't leak the tty on an RX IRQ

Published Dec 3, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

serial: samsung: don't leak the tty on an RX IRQ

s3c24xxserialrxcharsdma() starts by taking a reference to the tty. If the interrupt is not a receive timeout, it switches the port from PIO back to DMA and leaves through the "finish" label, which does not drop the reference.

A port with RX DMA changes to PIO on every receive timeout, that is at the end of every burst of data, and comes back this way when the next burst starts. So each burst takes a reference which is never dropped, and the tty structure is not freed when the port is closed for the last time.

Drop the reference on both paths.

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    In the Linux kernel Samsung serial driver, drop the tty reference on both paths in s3c24xx_serial_rx_chars_dma(), including the path that exits through the finish label.

Event History

Dec 3, 2026
CVE Published
via MITRE·09:17 AM
Data Sourced
via MITRE·09:17 AM
Description

Frequently Asked Questions

1

Which deployments are exposed to this issue?

Systems using the Linux kernel Samsung serial driver on a port configured for RX DMA are affected by the described reference leak.

2

What conditions trigger the leak?

The port must switch from DMA to PIO after a receive timeout and then return to DMA when a subsequent burst begins. Each such burst can retain an additional tty reference.

3

What is the operational impact after closing the serial port?

When the port is closed for the last time, the tty structure may not be freed because retained references remain. Repeated receive bursts can accumulate these unreleased references.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203