High severity · published Jun 21, 2024
CVE-2024-38635
soundwire: cadence: fix invalid PDI offset
7.1
CVSS
0.2%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.2% · higher than 14% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
KE
Kernel · Linux
before 5.4.278; 5.5 before 5.10.219; 5.11 before 5.15.161; 5.16 before 6.1.93; 6.2 before 6.6.33; 6.7 before 6.9.4 · source: NVD
LI
Linux · Linux
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 002364b2d594a9afc0385c09e00994c510b1d089; 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before fd4bcb991ebaf0d1813d81d9983cfa99f9ef5328; 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 902f6d656441a511ac25c6cffce74496db10a078; 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 2ebcaa0e5db9b6044bb487ae1cf41bc601761567; 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 7eeef1e935d23db5265233d92395bd5c648a4021; 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 4e99103f757cdf636c6ee860994a19a346a11785; +7 more · source: vendor
SS
SIMATIC S7-1500 TM MFP - GNU/Linux subsystem · Siemens
before V1.1.1 · source: CISA
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-38635
CVE.org
https://www.cve.org/CVERecord?id=CVE-2024-38635
Patch
https://git.kernel.org/stable/c/002364b2d594a9afc0385c09e00994c510b1d089
Patch
https://git.kernel.org/stable/c/2ebcaa0e5db9b6044bb487ae1cf41bc601761567
Patch
https://git.kernel.org/stable/c/4e99103f757cdf636c6ee860994a19a346a11785
Patch
https://git.kernel.org/stable/c/7eeef1e935d23db5265233d92395bd5c648a4021
Patch
https://git.kernel.org/stable/c/8ee1b439b1540ae543149b15a2a61b9dff937d91
Patch
https://git.kernel.org/stable/c/902f6d656441a511ac25c6cffce74496db10a078
More from Kernel
9.8
CVE-2025-39682
tls: fix handling of zero-length records on the rx_list
8.8
CVE-2026-53266
netfilter: bridge: make ebt_snat ARP rewrite writable
8.8
CVE-2013-6282
Linux Kernel Improper Input Validation Vulnerability
8.4
CVE-2022-0185
Linux Kernel Heap-Based Buffer Overflow Vulnerability
8.4
CVE-2013-2094
Linux Kernel Privilege Escalation Vulnerability
