# CVE-2024-56767: dmaengine: at\_xdmac: avoid null\_prt\_deref in at\_xdmac\_prep\_dma\_memset

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.32% (percentile 17, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2025-01-06T16:20:45.430Z
- **Modified:** 2026-06-17T08:12:56.600Z

## Who should check

- Anyone running Linux \>= b206d9a23ac71cb905f5fb6e0cd813406f89b678, \< 3d229600c54e9e0909080ecaf1aab0642aefa5f0; \>= b206d9a23ac71cb905f5fb6e0cd813406f89b678, \< ed1a8aaa344522c0c349ac9042db27ad130ef913; \>= b206d9a23ac71cb905f5fb6e0cd813406f89b678, \< 8d364597de9ce2a5f52714224bfe6c2e7a29b303; \>= b206d9a23ac71cb905f5fb6e0cd813406f89b678, \< fdba6d5e455388377ec7e82a5913ddfcc7edd93b; \>= b206d9a23ac71cb905f5fb6e0cd813406f89b678, \< e658f1c133b854b2ae799147301d82dddb8f3162; \>= b206d9a23ac71cb905f5fb6e0cd813406f89b678, \< 54376d8d26596f98ed7432a788314bb9154bf3e3; \>= b206d9a23ac71cb905f5fb6e0cd813406f89b678, \< c43ec96e8d34399bd9dab2f2dc316b904892133f
- Anyone running Linux 4.2

## 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.

## Affected and fixed versions

- Linux: \>= b206d9a23ac71cb905f5fb6e0cd813406f89b678, \< 3d229600c54e9e0909080ecaf1aab0642aefa5f0; \>= b206d9a23ac71cb905f5fb6e0cd813406f89b678, \< ed1a8aaa344522c0c349ac9042db27ad130ef913; \>= b206d9a23ac71cb905f5fb6e0cd813406f89b678, \< 8d364597de9ce2a5f52714224bfe6c2e7a29b303; \>= b206d9a23ac71cb905f5fb6e0cd813406f89b678, \< fdba6d5e455388377ec7e82a5913ddfcc7edd93b; \>= b206d9a23ac71cb905f5fb6e0cd813406f89b678, \< e658f1c133b854b2ae799147301d82dddb8f3162; \>= b206d9a23ac71cb905f5fb6e0cd813406f89b678, \< 54376d8d26596f98ed7432a788314bb9154bf3e3; \>= b206d9a23ac71cb905f5fb6e0cd813406f89b678, \< c43ec96e8d34399bd9dab2f2dc316b904892133f (cvelist)
- Linux: 4.2 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-56767. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-56767.md
Affected: Linux >= b206d9a23ac71cb905f5fb6e0cd813406f89b678, < 3d229600c54e9e0909080ecaf1aab0642aefa5f0; >= b206d9a23ac71cb905f5fb6e0cd813406f89b678, < ed1a8aaa344522c0c349ac9042db27ad130ef913; >= b206d9a23ac71cb905f5fb6e0cd813406f89b678, < 8d364597de9ce2a5f52714224bfe6c2e7a29b303; >= b206d9a23ac71cb905f5fb6…
Fixed in: Linux 3d229600c54e9e0909080ecaf1aab0642aefa5f0, Linux 8d364597de9ce2a5f52714224bfe6c2e7a29b303, Linux 54376d8d26596f98ed7432a788314bb9154bf3e3

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-56767 being exploited?

There is no confirmed exploitation: CVE-2024-56767 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.32% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-56767?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-56767?

Linux \>= b206d9a23ac71cb905f5fb6e0cd813406f89b678, \< 3d229600c54e9e0909080ecaf1aab0642aefa5f0; \>= b206d9a23ac71cb905f5fb6e0cd813406f89b678, \< ed1a8aaa344522c0c349ac9042db27ad130ef913; \>= b206d9a23ac71cb905f5fb6e0cd813406f89b678, \< 8d364597de9ce2a5f52714224bfe6c2e7a29b303; \>= b206d9a23ac71cb905f5fb6e0cd813406f89b678, \< fdba6d5e455388377ec7e82a5913ddfcc7edd93b; \>= b206d9a23ac71cb905f5fb6e0cd813406f89b678, \< e658f1c133b854b2ae799147301d82dddb8f3162; \>= b206d9a23ac71cb905f5fb6e0cd813406f89b678, \< 54376d8d26596f98ed7432a788314bb9154bf3e3; \>= b206d9a23ac71cb905f5fb6e0cd813406f89b678, \< c43ec96e8d34399bd9dab2f2dc316b904892133f; Linux 4.2.

### Is there a fix for CVE-2024-56767?

Yes. Fixed in Linux 3d229600c54e9e0909080ecaf1aab0642aefa5f0, Linux 8d364597de9ce2a5f52714224bfe6c2e7a29b303, Linux 54376d8d26596f98ed7432a788314bb9154bf3e3. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2024-56767?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <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>
- other: <https://git.kernel.org/stable/c/3d229600c54e9e0909080ecaf1aab0642aefa5f0>
- other: <https://git.kernel.org/stable/c/ed1a8aaa344522c0c349ac9042db27ad130ef913>
- other: <https://git.kernel.org/stable/c/8d364597de9ce2a5f52714224bfe6c2e7a29b303>
- other: <https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html>
- other: <https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-56767>

HTML: <https://flawdb.com/CVE-2024-56767> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-56767>
