CyberAlerts is shutting down on June 30th, 2025. Thank you for your support!

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

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.

Classification

CVE ID: CVE-2024-56767

Affected Products

Vendor: Linux

Product: Linux

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.04% (probability of being exploited)

EPSS Percentile: 5.08% (scored less or equal to compared to others)

EPSS Date: 2025-02-04 (when was this score calculated)

References

https://git.kernel.org/stable/c/fdba6d5e455388377ec7e82a5913ddfcc7edd93b
https://git.kernel.org/stable/c/e658f1c133b854b2ae799147301d82dddb8f3162
https://git.kernel.org/stable/c/54376d8d26596f98ed7432a788314bb9154bf3e3
https://git.kernel.org/stable/c/c43ec96e8d34399bd9dab2f2dc316b904892133f

Timeline