tty: serial: pch_uart: add check for dma_alloc_coherent()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 3c6a483275f47a2ef7119309ad3d791c10cf30da · < 66f8bfea055b23719b4fd6ce207c44de37d82a59| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
tty: serial: pch_uart: add check for dma_alloc_coherent()
Add a check for dma_alloc_coherent() failure to prevent a potential NULL pointer dereference in dma_handle_rx(). Properly release DMA channels and the PCI device reference using a goto ladder if the allocation fails.
From the CVE record · Linux
The Linux kernel's pch_uart serial driver could dereference a NULL pointer in dma_handle_rx() if dma_alloc_coherent() fails. The input does not specify whether this is exploitable, or any network, authentication, or user-interaction conditions.
Engineers running Linux kernels with the pch_uart serial driver should check their installations; affected versions are not specified.