# CVE-2026-31743: nvmem: zynqmp_nvmem: Fix buffer size in DMA and memcpy

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 3% of CVEs (2026-12-01)
- Published: 2026-05-01T14:14:38.154Z
- Modified: 2026-11-11T21:10:00.200Z
- Weaknesses: CWE-787
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 737c0c8d07b5f671c0a33cec95965fcb2d2ea893 before 2f6e5b9964d0a63a5ba84fca2642876afb70a662; from 737c0c8d07b5f671c0a33cec95965fcb2d2ea893 before 784ed4abded1ca4b525fa4cade8b02f8c5d2a087; from 737c0c8d07b5f671c0a33cec95965fcb2d2ea893 before 6c01e7f11f5e5f22285d19510a9643e2506e13c3; from 737c0c8d07b5f671c0a33cec95965fcb2d2ea893 before f9b88613ff402aa6fe8fd020573cb95867ae947e; 6.9 (not affected: before 6.9; from 6.12.81 up to 6.12.*; from 6.18.22 up to 6.18.*; from 6.19.12 up to 6.19.*; from 7.0 up to *)
- linux linux_kernel: from 6.9 before 6.12.81; from 6.13 before 6.18.22; from 6.19 before 6.19.12; 7.0

## References

- <https://git.kernel.org/stable/c/2f6e5b9964d0a63a5ba84fca2642876afb70a662> (patch)
- <https://git.kernel.org/stable/c/784ed4abded1ca4b525fa4cade8b02f8c5d2a087> (patch)
- <https://git.kernel.org/stable/c/6c01e7f11f5e5f22285d19510a9643e2506e13c3> (patch)
- <https://git.kernel.org/stable/c/f9b88613ff402aa6fe8fd020573cb95867ae947e> (patch)

## Sources

- CVE List: [CVE-2026-31743](https://www.cve.org/CVERecord?id=CVE-2026-31743), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2026-31743](https://nvd.nist.gov/vuln/detail/CVE-2026-31743), Public domain, modified 2026-11-11

---

Page: https://cve.day/CVE-2026-31743 · Whole record: https://cve.day/CVE-2026-31743.json · Rebuilt by cve.day 2026-11-25T22:59:20.362Z
