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

Medium 5.5 Published Updated

A null pointer dereference in the Linux kernel's at_xdmac driver can cause a system crash, requiring a kernel patch to fix.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2024-56767?

CVE-2024-56767 is a medium-severity vulnerability in Linux kernel, published on 6 Jan 2025. It can only be exploited from the same machine or local network, with no action from the victim.

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

Weakness: CWE-476

Which versions are affected by CVE-2024-56767?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-56767?

Apply the vendor's patch.

Is CVE-2024-56767 being exploited?

There is no known exploitation of CVE-2024-56767 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as AZL-55050, AZL-55103, BELL-CVE-2024-56767, DEBIAN-CVE-2024-56767, GHSA-c9h3-5qgq-g7wx, UBUNTU-CVE-2024-56767.

Is CVE-2024-56767 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free