# CVE-2024-38635: soundwire: cadence: fix invalid PDI offset

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 15% of CVEs (2026-12-01)
- Published: 2024-06-21T10:18:24.244Z
- Modified: 2026-10-15T01:18:32.300Z
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- 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; before 5.10.219; before 5.15.161; before 6.1.93; before 6.6.33; and 1 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.*; from 6.10 up to *)
- 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

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.1 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/002364b2d594a9afc0385c09e00994c510b1d089> (patch)
- <https://git.kernel.org/stable/c/fd4bcb991ebaf0d1813d81d9983cfa99f9ef5328> (patch)
- <https://git.kernel.org/stable/c/902f6d656441a511ac25c6cffce74496db10a078> (patch)
- <https://git.kernel.org/stable/c/2ebcaa0e5db9b6044bb487ae1cf41bc601761567> (patch)
- <https://git.kernel.org/stable/c/7eeef1e935d23db5265233d92395bd5c648a4021> (patch)
- <https://git.kernel.org/stable/c/4e99103f757cdf636c6ee860994a19a346a11785> (patch)
- <https://git.kernel.org/stable/c/8ee1b439b1540ae543149b15a2a61b9dff937d91> (patch)
- <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>

## Sources

- CVE List: [CVE-2024-38635](https://www.cve.org/CVERecord?id=CVE-2024-38635), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2024-38635](https://nvd.nist.gov/vuln/detail/CVE-2024-38635), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2024-38635 · Whole record: https://cve.day/CVE-2024-38635.json · Rebuilt by cve.day 2026-11-25T22:58:42.120Z
