summaryrefslogtreecommitdiff
path: root/fs/devfs/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorIvan Vera <ivanverasantos@gmail.com>2026-03-27 13:16:45 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-04-02 16:44:40 +0200
commitf9b88613ff402aa6fe8fd020573cb95867ae947e (patch)
tree22f913f9c2f2e62fb5823ec8af65c50d44780048 /fs/devfs/git@git.tavy.me:linux.git
parent48b5163c957548f5854f14c90bfdedc33afbea3c (diff)
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: 737c0c8d07b5 ("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>
Diffstat (limited to 'fs/devfs/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions