Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected c19b6d246a35627c3a69b2fa6bdece212b48214b before 6496fb830cbb741d831225cc4e7e5601c6e42970; affected c19b6d246a35627c3a69b2fa6bdece212b48214b before ba8d8429e5d6c36f9a654d2b96b9e043c43d92b4; affected c19b6d246a35627c3a69b2fa6bdece212b48214b before 011ae5dd84dc9f05eb9b8e1adff44252ac776e7b; affected c19b6d246a35627c3a69b2fa6bdece212b48214b before 0f85a9655445e67bb0238cfc983d7c383b54938e; affected c19b6d246a35627c3a69b2fa6bdece212b48214b before 84b932bc9899d43e5829e6cf088b72d73a922b2b; affected c19b6d246a35627c3a69b2fa6bdece212b48214b before d8a522085d09b30aba1016daf1dddac37c0f0285; affected c19b6d246a35627c3a69b2fa6bdece212b48214b before d68994e37ac3b285692559776e0279a88a3b5f8d; affected c19b6d246a35627c3a69b2fa6bdece212b48214b before 36bd7d5deef936c4e1e3cd341598140e5c14c1d3 |
| Linux / Linux | affected 4.8; unaffected 0 before 4.8; unaffected 5.10.252 through 5.10.*; unaffected 5.15.202 through 5.15.*; unaffected 6.1.165 through 6.1.*; unaffected 6.6.128 through 6.6.*; unaffected 6.12.75 through 6.12.*; unaffected 6.18.16 through 6.18.*; unaffected 6.19.6 through 6.19.*; unaffected 7.0 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/6496fb830cbb741d831225cc4e7e5601c6e42970
- https://git.kernel.org/stable/c/ba8d8429e5d6c36f9a654d2b96b9e043c43d92b4
- https://git.kernel.org/stable/c/011ae5dd84dc9f05eb9b8e1adff44252ac776e7b
- https://git.kernel.org/stable/c/0f85a9655445e67bb0238cfc983d7c383b54938e
- https://git.kernel.org/stable/c/84b932bc9899d43e5829e6cf088b72d73a922b2b
- https://git.kernel.org/stable/c/d8a522085d09b30aba1016daf1dddac37c0f0285
- https://git.kernel.org/stable/c/d68994e37ac3b285692559776e0279a88a3b5f8d
- https://git.kernel.org/stable/c/36bd7d5deef936c4e1e3cd341598140e5c14c1d3