7.8high
soundwire: cadence: fix invalid PDI offset
- Severity
- 7.8high CVSS:3.1 by Linux
- Exploit likelihood
- 0.33% (higher than 18% of CVEs)
- Published
- Last changed
- Assigned by
- Linux
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 002364b2d594a9afc0385c09e00994c510b1d089, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before fd4bcb991ebaf0d1813d81d9983cfa99f9ef5328, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 902f6d656441a511ac25c6cffce74496db10a078, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 2ebcaa0e5db9b6044bb487ae1cf41bc601761567, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 7eeef1e935d23db5265233d92395bd5c648a4021, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 4e99103f757cdf636c6ee860994a19a346a11785, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 8ee1b439b1540ae543149b15a2a61b9dff937d91, before 5.4.278 and 5 more Not affected: from 5.4.278 up to 5.4.*, from 5.10.219 up to 5.10.*, from 5.15.161 up to 5.15.*, from 6.1.93 up to 6.1.*, from 6.6.33 up to 6.6.*, from 6.9.4 up to 6.9.* | CVE List |
| linux linux_kernel | before 5.4.278, from 5.5 before 5.10.219, from 5.11 before 5.15.161, from 5.16 before 6.1.93, from 6.2 before 6.6.33, from 6.7 before 6.9.4 | NVD |
All scores
| Linux | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.1high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, se resolvió la siguiente vulnerabilidad: soundwire: cadencia: corrige el desplazamiento de PDI no válido. Por alguna razón, agregamos un desplazamiento al PDI, presumiblemente para omitir el PDI0 y el PDI1 que están reservados para BPT. Sin embargo, este código es completamente erróneo y conduce a un acceso fuera de los límites. Hasta ahora tuvimos suerte ya que solo usamos un par de PDI y nos mantuvimos dentro de los límites de la matriz de PDI. No se proporciona una etiqueta de Correcciones: ya que no hay plataformas conocidas donde se pueda acceder a los límites, y el código inicial también tenía problemas. Un parche de seguimiento elimina por completo esta compensación inútil.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-38635 changed 2026-10-15 | CVE Terms of Use |
| NVD | CVE-2024-38635 changed 2026-10-15 | Public domain |