CVE-2024-38635
soundwire: cadence: fix invalid PDI offset
Description
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.
INFO
Published Date :
June 21, 2024, 11:15 a.m.
Last Modified :
Sept. 17, 2025, 5 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | HIGH | [email protected] |
Solution
- Update the affected kernel packages.
- Update the affected packages.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2024-38635.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2024-38635 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2024-38635
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2024-38635 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-38635 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Sep. 17, 2025
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H Added CWE CWE-125 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.33 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.9.4 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 6.1.93 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.161 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.5 up to (excluding) 5.10.219 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions up to (excluding) 5.4.278 Added Reference Type kernel.org: https://git.kernel.org/stable/c/002364b2d594a9afc0385c09e00994c510b1d089 Types: Patch Added Reference Type CVE: https://git.kernel.org/stable/c/002364b2d594a9afc0385c09e00994c510b1d089 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/2ebcaa0e5db9b6044bb487ae1cf41bc601761567 Types: Patch Added Reference Type CVE: https://git.kernel.org/stable/c/2ebcaa0e5db9b6044bb487ae1cf41bc601761567 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/4e99103f757cdf636c6ee860994a19a346a11785 Types: Patch Added Reference Type CVE: https://git.kernel.org/stable/c/4e99103f757cdf636c6ee860994a19a346a11785 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/7eeef1e935d23db5265233d92395bd5c648a4021 Types: Patch Added Reference Type CVE: https://git.kernel.org/stable/c/7eeef1e935d23db5265233d92395bd5c648a4021 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/8ee1b439b1540ae543149b15a2a61b9dff937d91 Types: Patch Added Reference Type CVE: https://git.kernel.org/stable/c/8ee1b439b1540ae543149b15a2a61b9dff937d91 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/902f6d656441a511ac25c6cffce74496db10a078 Types: Patch Added Reference Type CVE: https://git.kernel.org/stable/c/902f6d656441a511ac25c6cffce74496db10a078 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/fd4bcb991ebaf0d1813d81d9983cfa99f9ef5328 Types: Patch Added Reference Type CVE: https://git.kernel.org/stable/c/fd4bcb991ebaf0d1813d81d9983cfa99f9ef5328 Types: Patch -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/002364b2d594a9afc0385c09e00994c510b1d089 Added Reference https://git.kernel.org/stable/c/2ebcaa0e5db9b6044bb487ae1cf41bc601761567 Added Reference https://git.kernel.org/stable/c/4e99103f757cdf636c6ee860994a19a346a11785 Added Reference https://git.kernel.org/stable/c/7eeef1e935d23db5265233d92395bd5c648a4021 Added Reference https://git.kernel.org/stable/c/8ee1b439b1540ae543149b15a2a61b9dff937d91 Added Reference https://git.kernel.org/stable/c/902f6d656441a511ac25c6cffce74496db10a078 Added Reference https://git.kernel.org/stable/c/fd4bcb991ebaf0d1813d81d9983cfa99f9ef5328 -
CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 21, 2024
Action Type Old Value New Value Added Description 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. Added Reference kernel.org https://git.kernel.org/stable/c/002364b2d594a9afc0385c09e00994c510b1d089 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/fd4bcb991ebaf0d1813d81d9983cfa99f9ef5328 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/902f6d656441a511ac25c6cffce74496db10a078 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/2ebcaa0e5db9b6044bb487ae1cf41bc601761567 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/7eeef1e935d23db5265233d92395bd5c648a4021 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/4e99103f757cdf636c6ee860994a19a346a11785 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/8ee1b439b1540ae543149b15a2a61b9dff937d91 [No types assigned]