Loading
nvmem: zynqmp_nvmem: Fix buffer size in DMA and memcpy
Buffer size used in dma allocation and memcpy is wrong. It can lead to undersized DMA buffer access and possible memory corruption. use correct buffer size in dma_alloc_coherent and memcpy. Fixes: 737c0c8d ("nvmem: zynqmp_nvmem: Add support to access efuse") Cc: stable@vger.kernel.org Signed-off-by:Ivan Vera <ivanverasantos@gmail.com> Signed-off-by:
Harish Ediga <harish.ediga@amd.com> Signed-off-by:
Harsh Jain <h.jain@amd.com> Signed-off-by:
Srinivas Kandagatla <srini@kernel.org> Link: https://patch.msgid.link/20260327131645.3025781-3-srini@kernel.org Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>