Linux
nvmem: zynqmp_nvmem: Fix buffer size in DMA and memcpy
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 737c0c8d07b5f671c0a33cec95965fcb2d2ea893, < 2f6e5b9964d0a63a5ba84fca2642876afb70a662
- >= 737c0c8d07b5f671c0a33cec95965fcb2d2ea893, < 784ed4abded1ca4b525fa4cade8b02f8c5d2a087
- >= 737c0c8d07b5f671c0a33cec95965fcb2d2ea893, < 6c01e7f11f5e5f22285d19510a9643e2506e13c3
- >= 737c0c8d07b5f671c0a33cec95965fcb2d2ea893, < f9b88613ff402aa6fe8fd020573cb95867ae947e
Fixed in 2f6e5b9964d0a63a5ba84fca2642876afb70a662, 784ed4abded1ca4b525fa4cade8b02f8c5d2a087, 6c01e7f11f5e5f22285d19510a9643e2506e13c3, f9b88613ff402aa6fe8fd020573cb95867ae947e
- 6.9
Fixed in 0, 6.12.81, 6.18.22, 6.19.12, 7.0
Mitigation
Upgrade Linux to 2f6e5b9964d0a63a5ba84fca2642876afb70a662 or 784ed4abded1ca4b525fa4cade8b02f8c5d2a087 or 6c01e7f11f5e5f22285d19510a9643e2506e13c3 or f9b88613ff402aa6fe8fd020573cb95867ae947e or later.
Upgrade Linux to 0 or 6.12.81 or 6.18.22 or 6.19.12 or 7.0 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.