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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.33% (percentile 18, 2026-11-26)
- **CWE:** CWE-125
- **Published:** 2024-06-21T10:18:24.244Z
- **Modified:** 2026-10-15T01:18:32.300Z

## Who should check

- Anyone running Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 002364b2d594a9afc0385c09e00994c510b1d089; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< fd4bcb991ebaf0d1813d81d9983cfa99f9ef5328; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 902f6d656441a511ac25c6cffce74496db10a078; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 2ebcaa0e5db9b6044bb487ae1cf41bc601761567; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 7eeef1e935d23db5265233d92395bd5c648a4021; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 4e99103f757cdf636c6ee860994a19a346a11785; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 8ee1b439b1540ae543149b15a2a61b9dff937d91; \< 5.4.278; \< 5.10.219; \< 5.15.161; …
- Anyone running Linux all versions

## 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 and fixed versions

- Linux: \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 002364b2d594a9afc0385c09e00994c510b1d089; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< fd4bcb991ebaf0d1813d81d9983cfa99f9ef5328; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 902f6d656441a511ac25c6cffce74496db10a078; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 2ebcaa0e5db9b6044bb487ae1cf41bc601761567; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 7eeef1e935d23db5265233d92395bd5c648a4021; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 4e99103f757cdf636c6ee860994a19a346a11785; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 8ee1b439b1540ae543149b15a2a61b9dff937d91; \< 5.4.278; \< 5.10.219; \< 5.15.161; … (cvelist)
- Linux: all versions (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-38635. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-38635.md
Affected: Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 002364b2d594a9afc0385c09e00994c510b1d089; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < fd4bcb991ebaf0d1813d81d9983cfa99f9ef5328; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 902f6d656441a511ac25c6cffce74496db10a078; >= 1da177e4c3f41524e886b7f…
Fixed in: Linux 002364b2d594a9afc0385c09e00994c510b1d089, Linux 902f6d656441a511ac25c6cffce74496db10a078, Linux 2ebcaa0e5db9b6044bb487ae1cf41bc601761567, Linux 7eeef1e935d23db5265233d92395bd5c648a4021, Linux 4e99103f757cdf636c6ee860994a19a346a11785, Linux 8ee1b439b1540ae543149b15a2a61b9dff937d91, Linux 5.4.2…

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-38635 being exploited?

There is no confirmed exploitation: CVE-2024-38635 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.33% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-38635?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-38635?

Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 002364b2d594a9afc0385c09e00994c510b1d089; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< fd4bcb991ebaf0d1813d81d9983cfa99f9ef5328; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 902f6d656441a511ac25c6cffce74496db10a078; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 2ebcaa0e5db9b6044bb487ae1cf41bc601761567; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 7eeef1e935d23db5265233d92395bd5c648a4021; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 4e99103f757cdf636c6ee860994a19a346a11785; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 8ee1b439b1540ae543149b15a2a61b9dff937d91; \< 5.4.278; \< 5.10.219; \< 5.15.161; …; Linux all versions.

### Is there a fix for CVE-2024-38635?

Yes. Fixed in Linux 002364b2d594a9afc0385c09e00994c510b1d089, Linux 902f6d656441a511ac25c6cffce74496db10a078, Linux 2ebcaa0e5db9b6044bb487ae1cf41bc601761567, Linux 7eeef1e935d23db5265233d92395bd5c648a4021, Linux 4e99103f757cdf636c6ee860994a19a346a11785, Linux 8ee1b439b1540ae543149b15a2a61b9dff937d91, Linux 5.4.278, Linux 5.10.219, Linux 5.15.161. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2024-38635?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <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>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-38635>

HTML: <https://flawdb.com/CVE-2024-38635> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-38635>
