AZL-117905: CVE-2026-142996 affecting package kernel 6.6.161.1-1
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
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
In s3c24xx_serial_rx_chars_dma(), drop the tty reference on both the receive-timeout and finish paths.
Event History
Frequently Asked Questions
Which systems are exposed to the leak condition?
Systems using the Samsung serial driver with receive DMA enabled are exposed when receive-timeout interrupts cause the port to switch from DMA to PIO and later return to DMA on a subsequent data burst.
What activity triggers the resource leak?
A receive timeout ends a burst and switches the port to PIO; when the next burst starts, the driver switches back to DMA. On that return path, a tty reference is acquired and not released, so repeated bursts accumulate references.
What is the operational impact of repeated triggering?
The tty structure is not freed after the port is closed for the last time because leaked references remain. Continued qualifying receive bursts can therefore retain tty resources.
How can I determine whether the listed package is relevant to my system?
Check whether the system is running the azure-linux/kernel package version 6.6.161.1-1 and whether the affected Samsung serial receive-DMA path is in use. The issue specifically depends on RX DMA operation and receive-timeout transitions.