Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2024-38635

published high CVSS 3.1 · 7.8

soundwire: cadence: fix invalid PDI offset

Published
21 Jun 2024, 10:18:24 UTC
Updated
15 Oct 2026, 00:43:50 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 002364b2d594a9afc0385c09e00994c510b1d089 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < fd4bcb991ebaf0d1813d81d9983cfa99f9ef5328 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 902f6d656441a511ac25c6cffce74496db10a078 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 2ebcaa0e5db9b6044bb487ae1cf41bc601761567 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 7eeef1e935d23db5265233d92395bd5c648a4021 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 4e99103f757cdf636c6ee860994a19a346a11785 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 8ee1b439b1540ae543149b15a2a61b9dff937d91 · 0 to < 5.4.278 · 0 to < 5.10.219 · 0 to < 5.15.161 · 0 to < 6.1.93 · 0 to < 6.6.33 · 0 to < 6.9.4 · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.4.278 through 5.4.* · 5.10.219 through 5.10.* · 5.15.161 through 5.15.* · 6.1.93 through 6.1.* · 6.6.33 through 6.6.* · 6.9.4 through 6.9.* · 6.10 and later · Other versions: affected Unaffected Not stated Linux
Siemens — SIMATIC S7-1500 TM MFP - GNU/Linux subsystem0 to < V1.1.1 · Other versions: unknown Affected Not stated siemens-SADP
Amazon Linux AL2 Release evaluation Not Affected; No Fix Planned Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Debian bullseye linux Advisory build 5.10.221-1 DSA-5730-1
Oracle Linux 7 kernel-uekaarch64 Advisory build 0:5.4.17-2136.334.6.el7uek ELSA-2024-12581
Red Hat Enterprise Linux RHEL-9 bpftoolaarch64 Advisory build 7.4.0-503.11.1.el9_5 RHSA-2024:9315
Show 97 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Oracle Linux 7 kernel-uekx86_64 Advisory build 0:5.4.17-2136.334.6.el7uek ELSA-2024-12581
Oracle Linux 7 kernel-uek-containerx86_64 Advisory build 0:5.4.17-2136.334.6.el7 ELSA-2024-12585
Oracle Linux 7 kernel-uek-container-debugx86_64 Advisory build 0:5.4.17-2136.334.6.el7 ELSA-2024-12585
Oracle Linux 7 kernel-uek-debugaarch64 Advisory build 0:5.4.17-2136.334.6.el7uek ELSA-2024-12581
Oracle Linux 7 kernel-uek-debugx86_64 Advisory build 0:5.4.17-2136.334.6.el7uek ELSA-2024-12581
Oracle Linux 7 kernel-uek-debug-develaarch64 Advisory build 0:5.4.17-2136.334.6.el7uek ELSA-2024-12581
Oracle Linux 7 kernel-uek-debug-develx86_64 Advisory build 0:5.4.17-2136.334.6.el7uek ELSA-2024-12581
Oracle Linux 7 kernel-uek-develaarch64 Advisory build 0:5.4.17-2136.334.6.el7uek ELSA-2024-12581
Oracle Linux 7 kernel-uek-develx86_64 Advisory build 0:5.4.17-2136.334.6.el7uek ELSA-2024-12581
Oracle Linux 7 kernel-uek-docaarch64 Advisory build 0:5.4.17-2136.334.6.el7uek ELSA-2024-12581
Oracle Linux 7 kernel-uek-docx86_64 Advisory build 0:5.4.17-2136.334.6.el7uek ELSA-2024-12581
Oracle Linux 7 kernel-uek-toolsaarch64 Advisory build 0:5.4.17-2136.334.6.el7uek ELSA-2024-12581
Oracle Linux 7 kernel-uek-toolsx86_64 Advisory build 0:5.4.17-2136.334.6.el7uek ELSA-2024-12581
Oracle Linux 7 kernel-uek-tools-libsaarch64 Advisory build 0:5.4.17-2136.334.6.el7uek ELSA-2024-12581
Oracle Linux 7 perfaarch64 Advisory build 0:5.4.17-2136.334.6.el7uek ELSA-2024-12581
Oracle Linux 7 python-perfaarch64 Advisory build 0:5.4.17-2136.334.6.el7uek ELSA-2024-12581
Oracle Linux 8 kernel-uekaarch64 Advisory build 0:5.4.17-2136.334.6.el8uek ELSA-2024-12581
Oracle Linux 8 kernel-uekx86_64 Advisory build 0:5.4.17-2136.334.6.el8uek ELSA-2024-12581
Oracle Linux 8 kernel-uek-containerx86_64 Advisory build 0:5.4.17-2136.334.6.el8 ELSA-2024-12584
Oracle Linux 8 kernel-uek-container-debugx86_64 Advisory build 0:5.4.17-2136.334.6.el8 ELSA-2024-12584
Oracle Linux 8 kernel-uek-debugaarch64 Advisory build 0:5.4.17-2136.334.6.el8uek ELSA-2024-12581
Oracle Linux 8 kernel-uek-debugx86_64 Advisory build 0:5.4.17-2136.334.6.el8uek ELSA-2024-12581
Oracle Linux 8 kernel-uek-debug-develaarch64 Advisory build 0:5.4.17-2136.334.6.el8uek ELSA-2024-12581
Oracle Linux 8 kernel-uek-debug-develx86_64 Advisory build 0:5.4.17-2136.334.6.el8uek ELSA-2024-12581
Oracle Linux 8 kernel-uek-develaarch64 Advisory build 0:5.4.17-2136.334.6.el8uek ELSA-2024-12581
Oracle Linux 8 kernel-uek-develx86_64 Advisory build 0:5.4.17-2136.334.6.el8uek ELSA-2024-12581
Oracle Linux 8 kernel-uek-docaarch64 Advisory build 0:5.4.17-2136.334.6.el8uek ELSA-2024-12581
Oracle Linux 8 kernel-uek-docx86_64 Advisory build 0:5.4.17-2136.334.6.el8uek ELSA-2024-12581
Oracle Linux 9 bpftoolaarch64 Advisory build 0:7.4.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 bpftoolx86_64 Advisory build 0:7.4.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernelx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-abi-stablelistsx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-corex86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-cross-headersaarch64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-cross-headersx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-debugx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-debug-corex86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-debug-develx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-debug-devel-matchedx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-debug-modulesx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-debug-modules-corex86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-debug-modules-extrax86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-debug-uki-virtx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-develx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-devel-matchedx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-docx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-headersaarch64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-headersx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-modulesx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-modules-corex86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-modules-extrax86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-toolsaarch64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-toolsx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-tools-libsaarch64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-tools-libsx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-tools-libs-develaarch64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-tools-libs-develx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-uki-virtx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-uki-virt-addonsx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 libperfaarch64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 libperfx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 perfaarch64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 perfx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 python3-perfaarch64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 python3-perfx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 rtlaaarch64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 rtlax86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 rvaarch64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 rvx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Red Hat Enterprise Linux RHEL-9 bpftoolppc64le Advisory build 7.4.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 bpftools390x Advisory build 7.4.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 bpftoolx86_64 Advisory build 7.4.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 bpftool-debuginfoaarch64 Advisory build 7.4.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 bpftool-debuginfoppc64le Advisory build 7.4.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 bpftool-debuginfos390x Advisory build 7.4.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 bpftool-debuginfox86_64 Advisory build 7.4.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernelaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernelppc64le Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernels390x Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernelsrc Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernelx86_64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-64kaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-64k-coreaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-64k-debugaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-coreaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-debuginfoaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-develaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-devel-matchedaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-modulesaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-modules-coreaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-modules-extraaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-64k-debuginfoaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-64k-develaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-64k-devel-matchedaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-64k-modulesaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-64k-modules-coreaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-64k-modules-extraaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315

Package entries are limited to the first 100 builds and 100 linked advisories.

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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

38

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The vulnerable code is reached only through the ALSA PCM device node (`/dev/snd/pcmC*D*`) via `SNDRV_PCM_IOCTL_HW_PARAMS`, which funnels into the ASoC DAI `.hw_params` callback `intel_hw_params()` and then `sdw_cdns_alloc_pdi()`. This requires local access to the machine; there is no network or adjacent-network path to a SoundWire manager DAI. AC:L - The out-of-bounds walk is unconditional arithmetic (`i = 2; i < 2 + num_bd`) with no race, no timing window, and no dependency on memory layout to occur — an attacker simply configures hw_params on a bidirectional-PDI DAI and the read past the array happens deterministically. Heap grooming to make the adjacent slab object's first word match the small `dai_id` value, and thus convert the read into the OOB write, is standard and repeatable since the attacker can retry the ioctl arbitrarily many times. PR:L - The attacker needs no capabilities, only the ability to open a PCM device — granted to ordinary desktop users via the `audio` group or logind seat ACLs, and to ordinary apps in Android's audio domain. No CAP_SYS_ADMIN, CAP_SYS_RAWIO, or root check exists anywhere on the path from the ioctl to `cdns_find_pdi()`. UI:N - The attacker performs the entire sequence itself — open the PCM device and issue HW_PARAMS with a chosen channel count — with no victim action, no filesystem mount, and no file opened by another user. S:U - The out-of-bounds read and write both occur in kernel heap memory within the same kernel security authority; nothing crosses a VM, IOMMU, or sandbox boundary. C:H - The loop reads `pdi[num_bd].num` and `pdi[num_bd+1].num` from beyond the `devm_kcalloc()` allocation, and the resulting out-of-bounds pointer is stored in `dai_runtime->pdi` and used to source values (`num`, `intel_alh_id`, `ch_count`) that are programmed into SHIM/ALH/Cadence registers, leaking adjacent kernel heap contents; per kernel guidance, heap memory corruption of this kind is leverageable for information disclosure. I:H - When the out-of-bounds `num` matches `dai_id`, `sdw_cdns_alloc_pdi()` writes five fields (`l_ch_num`, `h_ch_num`, `ch_count`, `dir`, and later `intel_alh_id`) through the out-of-bounds pointer, corrupting roughly 20 bytes of the neighbouring slab object with values partly controlled by the attacker-supplied channel count. A heap out-of-bounds write with attacker-influenced data is a classic primitive for control-flow hijack via heap grooming. A:H - The out-of-bounds access trips KASAN/hardened-usercopy checks and, on production kernels, corrupts adjacent slab metadata or a neighbouring object, readily producing an oops or panic; the stale out-of-bounds `dai_runtime->pdi` pointer is re-dereferenced in `.prepare`, `.trigger`, and `.hw_free`, compounding the crash potential.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 002364b2d594a9afc0385c09e00994c510b1d089 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < fd4bcb991ebaf0d1813d81d9983cfa99f9ef5328 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 902f6d656441a511ac25c6cffce74496db10a078 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 2ebcaa0e5db9b6044bb487ae1cf41bc601761567 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 7eeef1e935d23db5265233d92395bd5c648a4021 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 4e99103f757cdf636c6ee860994a19a346a11785 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 8ee1b439b1540ae543149b15a2a61b9dff937d91 (affected · git)0 to < 5.4.278 (affected · semver)0 to < 5.10.219 (affected · semver)0 to < 5.15.161 (affected · semver)0 to < 6.1.93 (affected · semver)0 to < 6.6.33 (affected · semver)0 to < 6.9.4 (affected · semver)Default: unaffected Linux · cna
Linux Linux 5.4.278 through 5.4.* (unaffected · semver)5.10.219 through 5.10.* (unaffected · semver)5.15.161 through 5.15.* (unaffected · semver)6.1.93 through 6.1.* (unaffected · semver)6.6.33 through 6.6.* (unaffected · semver)6.9.4 through 6.9.* (unaffected · semver)6.10 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna
Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem 0 to < V1.1.1 (affected · custom)Default: unknown siemens-SADP · adp

Weaknesses

0

No weakness assertions.

References

8

Provider assertions

4

Linux · cna

soundwire: cadence: fix invalid PDI offset

siemens-SADP · adp

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
cc996d96a69a18db99ea912a2fe3fed26d476995946f717e9c69286f9e0246bc
Ingested
15 Oct 2026, 13:09:23 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected