CVE-2023-52987 ASoC: SOF: ipc4-mtrace: prevent underflow in sof_ipc4_priority_mask_dfs_write()
A local attacker can trigger an array underflow in the Linux kernel's SOF IPC4 mtrace driver by providing a negative ID, potentially leading to code execution or privilege escalation.
- 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-2023-52987?
CVE-2023-52987 is a high-severity vulnerability in Linux kernel, published on 27 Mar 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:
ASoC: SOF: ipc4-mtrace: prevent underflow in sof_ipc4_priority_mask_dfs_write()
The "id" comes from the user. Change the type to unsigned to prevent an array underflow.
Weakness: CWE-129
Which versions are affected by CVE-2023-52987?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2023-52987?
Apply the vendor's patch.
Is CVE-2023-52987 being exploited?
There is no known exploitation of CVE-2023-52987 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2023-52987, DEBIAN-CVE-2023-52987, GHSA-wvmw-32m8-fcpg, UBUNTU-CVE-2023-52987.