nvmem: zynqmp_nvmem: Fix buffer size in DMA and memcpy
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
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.
From the CVE record · Linux
The Linux kernel’s zynqmp_nvmem component uses an incorrect buffer size for DMA allocation and memcpy, which can cause undersized DMA buffer access and possible memory corruption. The input does not specify how an attacker could trigger the issue or whether access or user interaction is required.
Engineers running Linux kernels that include zynqmp_nvmem should check their deployments; affected versions are not specified.