CVE-2024-56767

dmaengine: at_xdmac: avoid null_prt_deref in at_xdmac_prep_dma_memset

MEDIUM
5.5
CVSS Score
Published: January 6, 2025 at 04:20 PM UTC
Updated: June 17, 2026 at 08:12 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.2 ≤ v < 5.10.2334.2 ≤ v < 5.15.1764.2 ≤ v < 5.4.2894.2 ≤ v < 6.1.1234.2 ≤ v < 6.12.84.2 ≤ v < 6.134.2 ≤ v < 6.6.696.2 ≤ v < 6.6.696.7 ≤ v < 6.12.86.13 rc16.13 rc26.13 rc36.13 rc4b206d9a23ac71cb905f5fb6e0cd813406f89b678
Vendor states this is fixed in 3d229600c54e9e0909080ecaf1aab0642aefa5f0 (fixed)
Vendor states this is fixed in 54376d8d26596f98ed7432a788314bb9154bf3e3 (fixed)
Vendor states this is fixed in 8d364597de9ce2a5f52714224bfe6c2e7a29b303 (fixed)
Vendor states this is fixed in c43ec96e8d34399bd9dab2f2dc316b904892133f (fixed)
Vendor states this is fixed in e658f1c133b854b2ae799147301d82dddb8f3162 (fixed)
Vendor states this is fixed in ed1a8aaa344522c0c349ac9042db27ad130ef913 (fixed)
Vendor states this is fixed in fdba6d5e455388377ec7e82a5913ddfcc7edd93b (fixed)
Vendor states this is fixed in 4.2 (unaffected)
Vendor states this is fixed in 5.10.233 (unaffected)
Vendor states this is fixed in 5.15.176 (unaffected)
Vendor states this is fixed in 5.4.289 (unaffected)
Vendor states this is fixed in 6.1.123 (unaffected)
Vendor states this is fixed in 6.12.8 (unaffected)
Vendor states this is fixed in 6.13 (unaffected)
Vendor states this is fixed in 6.6.69 (unaffected)

References (9)

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-476

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card