net: wan/fsl_ucc_hdlc: Fix dma_free_coherent() in uhdlc_memclean()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ c19b6d246a35627c3a69b2fa6bdece212b48214b · < d8a522085d09b30aba1016daf1dddac37c0f0285| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
net: wan/fsl_ucc_hdlc: Fix dma_free_coherent() in uhdlc_memclean()
The priv->rx_buffer and priv->tx_buffer are alloc'd together as contiguous buffers in uhdlc_init() but freed as two buffers in uhdlc_memclean().
Change the cleanup to only call dma_free_coherent() once on the whole buffer.
From the CVE record · Linux
In the Linux kernel’s fsl_ucc_hdlc driver, uhdlc_memclean() frees receive and transmit buffers separately even though they were allocated as one contiguous buffer. The input does not establish what an attacker could do or whether exploitation requires network or local access, authentication, or user interaction.
Engineers running Linux kernels that include the fsl_ucc_hdlc driver should check their versions; affected versions are not specified.