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

- Priority: **Routine**
- Reason: Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-06-21 · Modified: 2026-10-15
- Aliases: UBUNTU-CVE-2024-38635, DEBIAN-CVE-2024-38635
- Record: https://cvemate.com/vulnerability/CVE-2024-38635 · JSON: https://cvemate.com/vulnerability/CVE-2024-38635/json

## Description

```text
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.
```

## Signals

- CVSS: 7.8 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.235%, percentile 15.376%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 133)

- debian linux (Debian): \< 6.1.94-1 \| \< 6.9.7-1
- ubuntu linux (Ubuntu): All versions (No fix recorded) \| \< 5.4.0-192.212 \| \< 5.15.0-121.131 \| \< 6.8.0-44.44
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): All versions (No fix recorded) \| \< 5.4.0-1130.140 \| \< 5.15.0-1069.75 \| \< 6.8.0-1015.16
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1069.75~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): \< 5.4.0-1130.140~18.04.1
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): \< 6.8.0-1015.16~22.04.1
- ubuntu linux-aws-fips (Ubuntu): \< 5.4.0-1130.140+fips1 \| All versions (No fix recorded) \| \< 5.15.0-1069.75+fips1
- ubuntu linux-aws-hwe (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure (Ubuntu): All versions (No fix recorded) \| \< 5.4.0-1135.142 \| \< 5.15.0-1072.81 \| \< 6.8.0-1014.16
- ubuntu linux-azure-4.15 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)

## References (first 20 of 32)

- <https://git.kernel.org/stable/c/002364b2d594a9afc0385c09e00994c510b1d089>
- <https://git.kernel.org/stable/c/fd4bcb991ebaf0d1813d81d9983cfa99f9ef5328>
- <https://git.kernel.org/stable/c/902f6d656441a511ac25c6cffce74496db10a078>
- <https://git.kernel.org/stable/c/2ebcaa0e5db9b6044bb487ae1cf41bc601761567>
- <https://git.kernel.org/stable/c/7eeef1e935d23db5265233d92395bd5c648a4021>
- <https://git.kernel.org/stable/c/4e99103f757cdf636c6ee860994a19a346a11785>
- <https://git.kernel.org/stable/c/8ee1b439b1540ae543149b15a2a61b9dff937d91>
- <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>
- <https://ubuntu.com/security/CVE-2024-38635>
- <https://www.cve.org/CVERecord?id=CVE-2024-38635>
- <https://git.kernel.org/linus/8ee1b439b1540ae543149b15a2a61b9dff937d91>
- <https://ubuntu.com/security/notices/USN-6951-1>
- <https://ubuntu.com/security/notices/USN-6953-1>
- <https://ubuntu.com/security/notices/USN-6951-2>
- <https://ubuntu.com/security/notices/USN-6951-3>
- <https://ubuntu.com/security/notices/USN-6951-4>
- <https://ubuntu.com/security/notices/USN-6979-1>
- <https://ubuntu.com/security/notices/USN-6999-1>
- <https://ubuntu.com/security/notices/USN-7004-1>
- <https://ubuntu.com/security/notices/USN-7005-1>

---

Data as of 2026-12-05T04:23:27.433Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
