{"id":"CVE-2024-38635","aliases":["CVE-2024-38635"],"related":[],"kind":"vulnerability","state":"published","title":"soundwire: cadence: fix invalid PDI offset","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nsoundwire: cadence: fix invalid PDI offset\n\nFor some reason, we add an offset to the PDI, presumably to skip the\nPDI0 and PDI1 which are reserved for BPT.\n\nThis code is however completely wrong and leads to an out-of-bounds\naccess. We were just lucky so far since we used only a couple of PDIs\nand remained within the PDI array bounds.\n\nA Fixes: tag is not provided since there are no known platforms where\nthe out-of-bounds would be accessed, and the initial code had problems\nas well.\n\nA follow-up patch completely removes this useless offset.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nsoundwire: cadence: fix invalid PDI offset\n\nFor some reason, we add an offset to the PDI, presumably to skip the\nPDI0 and PDI1 which are reserved for BPT.\n\nThis code is however completely wrong and leads to an out-of-bounds\naccess. We were just lucky so far since we used only a couple of PDIs\nand remained within the PDI array bounds.\n\nA Fixes: tag is not provided since there are no known platforms where\nthe out-of-bounds would be accessed, and the initial code had problems\nas well.\n\nA follow-up patch completely removes this useless offset.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se resolvió la siguiente vulnerabilidad: soundwire: cadencia: corrige el desplazamiento de PDI no válido. Por alguna razón, agregamos un desplazamiento al PDI, presumiblemente para omitir el PDI0 y el PDI1 que están reservados para BPT. Sin embargo, este código es completamente erróneo y conduce a un acceso fuera de los límites. Hasta ahora tuvimos suerte ya que solo usamos un par de PDI y nos mantuvimos dentro de los límites de la matriz de PDI. No se proporciona una etiqueta de Correcciones: ya que no hay plataformas conocidas donde se pueda acceder a los límites, y el código inicial también tenía problemas. Un parche de seguimiento elimina por completo esta compensación inútil.","source":"nvd"}],"published":"2024-06-21T10:18:24.244Z","modified":"2026-10-15T01:18:32.300Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","score":7.1,"rating":"HIGH"}],"cwes":["CWE-125"],"affected":[{"ranges":[{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"002364b2d594a9afc0385c09e00994c510b1d089","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"fd4bcb991ebaf0d1813d81d9983cfa99f9ef5328","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"902f6d656441a511ac25c6cffce74496db10a078","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"2ebcaa0e5db9b6044bb487ae1cf41bc601761567","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"7eeef1e935d23db5265233d92395bd5c648a4021","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"4e99103f757cdf636c6ee860994a19a346a11785","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"8ee1b439b1540ae543149b15a2a61b9dff937d91","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.4.278","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.10.219","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.15.161","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.1.93","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.6.33","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.9.4","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"5.4.278","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.219","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.161","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.93","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.33","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.9.4","lastAffected":"6.9.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.10","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"5.4.278"},{"status":"affected","introduced":"5.5","fixed":"5.10.219"},{"status":"affected","introduced":"5.11","fixed":"5.15.161"},{"status":"affected","introduced":"5.16","fixed":"6.1.93"},{"status":"affected","introduced":"6.2","fixed":"6.6.33"},{"status":"affected","introduced":"6.7","fixed":"6.9.4"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/002364b2d594a9afc0385c09e00994c510b1d089","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fd4bcb991ebaf0d1813d81d9983cfa99f9ef5328","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/902f6d656441a511ac25c6cffce74496db10a078","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2ebcaa0e5db9b6044bb487ae1cf41bc601761567","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7eeef1e935d23db5265233d92395bd5c648a4021","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4e99103f757cdf636c6ee860994a19a346a11785","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8ee1b439b1540ae543149b15a2a61b9dff937d91","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-265688.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-06-21T13:12:09.388Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-38635","url":"https://www.cve.org/CVERecord?id=CVE-2024-38635","licence":"CVE Terms of Use","modified":"2026-10-15T00:43:50.068Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-38635","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-38635","licence":"Public domain","modified":"2026-10-15T01:18:32.300Z"}],"updatedAt":"2026-11-25T22:58:42.120Z","epss":{"score":0.00327,"percentile":0.18261,"date":"2026-11-30T12:00:22.000Z"}}