# CVE-2024-56767: dmaengine: at_xdmac: avoid null_prt_deref in at_xdmac_prep_dma_memset

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/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.22%, higher than 12% of CVEs (2026-12-01)
- Published: 2025-01-06T16:20:45.430Z
- Modified: 2026-06-17T08:12:56.600Z
- Weaknesses: CWE-476
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

dmaengine: at_xdmac: avoid null_prt_deref in at_xdmac_prep_dma_memset

The at_xdmac_memset_create_desc may return NULL, which will lead to a
null pointer dereference. For example, the len input is error, or the
atchan->free_descs_list is empty and memory is exhausted. Therefore, add
check to avoid this.

(As written by CVE List.)

## Affected

- Linux Linux: from b206d9a23ac71cb905f5fb6e0cd813406f89b678 before 3d229600c54e9e0909080ecaf1aab0642aefa5f0; from b206d9a23ac71cb905f5fb6e0cd813406f89b678 before ed1a8aaa344522c0c349ac9042db27ad130ef913; from b206d9a23ac71cb905f5fb6e0cd813406f89b678 before 8d364597de9ce2a5f52714224bfe6c2e7a29b303; from b206d9a23ac71cb905f5fb6e0cd813406f89b678 before fdba6d5e455388377ec7e82a5913ddfcc7edd93b; from b206d9a23ac71cb905f5fb6e0cd813406f89b678 before e658f1c133b854b2ae799147301d82dddb8f3162; from b206d9a23ac71cb905f5fb6e0cd813406f89b678 before 54376d8d26596f98ed7432a788314bb9154bf3e3; from b206d9a23ac71cb905f5fb6e0cd813406f89b678 before c43ec96e8d34399bd9dab2f2dc316b904892133f; 4.2 (not affected: before 4.2; from 5.4.289 up to 5.4.*; from 5.10.233 up to 5.10.*; from 5.15.176 up to 5.15.*; from 6.1.123 up to 6.1.*; from 6.6.69 up to 6.6.*; from 6.12.8 up to 6.12.*; from 6.13 up to *)
- linux linux_kernel: from 4.2 before 6.1.123; from 6.2 before 6.6.69; from 6.7 before 6.12.8; 6.13

## References

- <https://git.kernel.org/stable/c/3d229600c54e9e0909080ecaf1aab0642aefa5f0>
- <https://git.kernel.org/stable/c/ed1a8aaa344522c0c349ac9042db27ad130ef913>
- <https://git.kernel.org/stable/c/8d364597de9ce2a5f52714224bfe6c2e7a29b303>
- <https://git.kernel.org/stable/c/fdba6d5e455388377ec7e82a5913ddfcc7edd93b> (patch)
- <https://git.kernel.org/stable/c/e658f1c133b854b2ae799147301d82dddb8f3162> (patch)
- <https://git.kernel.org/stable/c/54376d8d26596f98ed7432a788314bb9154bf3e3> (patch)
- <https://git.kernel.org/stable/c/c43ec96e8d34399bd9dab2f2dc316b904892133f> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html>
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html>

## Sources

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

---

Page: https://cve.day/CVE-2024-56767 · Whole record: https://cve.day/CVE-2024-56767.json · Rebuilt by cve.day 2026-11-25T22:58:50.726Z
