CVE-2024-42074 ASoC: amd: acp: add a null check for chip_pdev structure
A missing null check in the AMD ACP driver can cause a kernel crash during resume, leading to denial of service.
- 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-42074?
CVE-2024-42074 is a medium-severity vulnerability in Linux kernel, published on 29 Jul 2024. 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:
ASoC: amd: acp: add a null check for chip_pdev structure
When acp platform device creation is skipped, chip->chip_pdev value will remain NULL. Add NULL check for chip->chip_pdev structure in snd_acp_resume() function to avoid null pointer dereference.
Weakness: CWE-476
Which versions are affected by CVE-2024-42074?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-42074?
Apply the vendor's patch.
Is CVE-2024-42074 being exploited?
There is no known exploitation of CVE-2024-42074 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as AZL-47113, AZL-47201, BELL-CVE-2024-42074, DEBIAN-CVE-2024-42074, GHSA-f53v-x4rw-42rf, UBUNTU-CVE-2024-42074.