CVE-2024-38635: soundwire: cadence: fix invalid PDI offset
In the Linux kernel, the following vulnerability has been resolved:
soundwire: cadence: fix invalid PDI offset
For some reason, we add an offset to the PDI, presumably to skip the PDI0 and PDI1 which are reserved for BPT.
This code is however completely wrong and leads to an out-of-bounds access. We were just lucky so far since we used only a couple of PDIs and remained within the PDI array bounds.
A Fixes: tag is not provided since there are no known platforms where the out-of-bounds would be accessed, and the initial code had problems as well.
A follow-up patch completely removes this useless offset.
Other sources
In the Linux kernel, the following vulnerability has been resolved:
soundwire: cadence: fix invalid PDI offset
The Linux kernel CVE team has assigned CVE-2024-38635 to this issue.
Upstream advisory: https://lore.kernel.org/linux-cve-announce/2024062143-CVE-2024-38635-a3b1@gregkh/T
— Red Hat
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
redhat/kernelto a version that resolves this vulnerability.Fixed in 5.4.278 - Upgrade
Upgrade
redhat/kernelto a version that resolves this vulnerability.Fixed in 5.10.219 - Upgrade
Upgrade
redhat/kernelto a version that resolves this vulnerability.Fixed in 5.15.161 - Upgrade
Upgrade
redhat/kernelto a version that resolves this vulnerability.Fixed in 6.1.93 - Upgrade
Upgrade
redhat/kernelto a version that resolves this vulnerability.Fixed in 6.6.33 - Upgrade
Upgrade
redhat/kernelto a version that resolves this vulnerability.Fixed in 6.9.4 - Upgrade
Upgrade
redhat/kernelto a version that resolves this vulnerability.Fixed in 6.10 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 5.10.223-1Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.25-1Fixed in 6.12.27-1
Event History
Frequently Asked Questions
What is the severity of CVE-2024-38635?
CVE-2024-38635 is classified with a severity level that may lead to potential exploitation in affected Linux kernel versions.
How do I fix CVE-2024-38635?
To resolve CVE-2024-38635, update the Linux kernel to the fixed versions such as 5.4.278, 5.10.219, 5.15.161, 6.1.93, 6.6.33, or later versions.
Which software is affected by CVE-2024-38635?
CVE-2024-38635 affects specific versions of the Linux kernel, including those listed under various Red Hat and Debian packages.
Is a restart required after patching CVE-2024-38635?
Yes, a system restart is typically required after updating the kernel to apply the changes and fix CVE-2024-38635.
What are the potential impacts of CVE-2024-38635 if left unpatched?
If left unpatched, CVE-2024-38635 may result in system instability or an exploitable condition impacting security and functionality.