{"id":"CVE-2024-44931","aliases":["CVE-2024-44931"],"related":[],"kind":"vulnerability","state":"published","title":"gpio: prevent potential speculation leaks in gpio_device_get_desc()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ngpio: prevent potential speculation leaks in gpio_device_get_desc()\n\nUserspace may trigger a speculative read of an address outside the gpio\ndescriptor array.\nUsers can do that by calling gpio_ioctl() with an offset out of range.\nOffset is copied from user and then used as an array index to get\nthe gpio descriptor without sanitization in gpio_device_get_desc().\n\nThis change ensures that the offset is sanitized by using\narray_index_nospec() to mitigate any possibility of speculative\ninformation leaks.\n\nThis bug was discovered and resolved using Coverity Static Analysis\nSecurity Testing (SAST) by Synopsys, Inc.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ngpio: prevent potential speculation leaks in gpio_device_get_desc()\n\nUserspace may trigger a speculative read of an address outside the gpio\ndescriptor array.\nUsers can do that by calling gpio_ioctl() with an offset out of range.\nOffset is copied from user and then used as an array index to get\nthe gpio descriptor without sanitization in gpio_device_get_desc().\n\nThis change ensures that the offset is sanitized by using\narray_index_nospec() to mitigate any possibility of speculative\ninformation leaks.\n\nThis bug was discovered and resolved using Coverity Static Analysis\nSecurity Testing (SAST) by Synopsys, Inc.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se resolvió la siguiente vulnerabilidad: gpio: evita posibles fugas de especulación en gpio_device_get_desc() El espacio de usuario puede desencadenar una lectura especulativa de una dirección fuera de la matriz de descriptores de gpio. Los usuarios pueden hacerlo llamando a gpio_ioctl() con un desplazamiento fuera de rango. La compensación se copia del usuario y luego se usa como índice de matriz para obtener el descriptor de gpio sin desinfección en gpio_device_get_desc(). Este cambio garantiza que la compensación se desinfecte mediante el uso de array_index_nospec() para mitigar cualquier posibilidad de fugas de información especulativa. Este error fue descubierto y resuelto utilizando Coverity Static Analysis Security Testing (SAST) por Synopsys, Inc.","source":"nvd"}],"published":"2024-08-26T10:11:21.425Z","modified":"2026-06-17T07:53:15.067Z","severity":{"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:N","score":5.5,"rating":"MEDIUM"},"severities":[{"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:N","score":5.5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"521a2ad6f862a28e2e43cb3e254a26bf0f9452e9","fixed":"18504710442671b02d00e6db9804a0ad26c5a479","status":"affected"},{"type":"git","introduced":"521a2ad6f862a28e2e43cb3e254a26bf0f9452e9","fixed":"9ae2d8e75b741dbcb0da374753f972410e83b5f3","status":"affected"},{"type":"git","introduced":"521a2ad6f862a28e2e43cb3e254a26bf0f9452e9","fixed":"9d682e89c44bd5819b01f3fbb45a8e3681a4b6d0","status":"affected"},{"type":"git","introduced":"521a2ad6f862a28e2e43cb3e254a26bf0f9452e9","fixed":"c65ab97efcd438cb4e9f299400f2ea55251f3a67","status":"affected"},{"type":"git","introduced":"521a2ad6f862a28e2e43cb3e254a26bf0f9452e9","fixed":"672c19165fc96dfad531a5458e0b3cdab414aae4","status":"affected"},{"type":"git","introduced":"521a2ad6f862a28e2e43cb3e254a26bf0f9452e9","fixed":"1b955f786a4bcde8c0ccb2b7d519def2acb6f3cc","status":"affected"},{"type":"git","introduced":"521a2ad6f862a28e2e43cb3e254a26bf0f9452e9","fixed":"d776c0486b03a5c4afca65b8ff44573592bf93bb","status":"affected"},{"type":"git","introduced":"521a2ad6f862a28e2e43cb3e254a26bf0f9452e9","fixed":"d795848ecce24a75dfd46481aee066ae6fe39775","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.6","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.6","status":"unaffected"},{"type":"semver","introduced":"4.19.323","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.285","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.227","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.168","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.112","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.46","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.10.5","lastAffected":"6.10.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.11","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":"6.6.46"},{"status":"affected","introduced":"6.7","fixed":"6.10.5"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/18504710442671b02d00e6db9804a0ad26c5a479","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9ae2d8e75b741dbcb0da374753f972410e83b5f3","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9d682e89c44bd5819b01f3fbb45a8e3681a4b6d0","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c65ab97efcd438cb4e9f299400f2ea55251f3a67","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/672c19165fc96dfad531a5458e0b3cdab414aae4","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1b955f786a4bcde8c0ccb2b7d519def2acb6f3cc","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d776c0486b03a5c4afca65b8ff44573592bf93bb","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d795848ecce24a75dfd46481aee066ae6fe39775","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-09-10T15:28:01.219Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-44931","url":"https://www.cve.org/CVERecord?id=CVE-2024-44931","licence":"CVE Terms of Use","modified":"2026-05-11T20:32:14.373Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-44931","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-44931","licence":"Public domain","modified":"2026-06-17T07:53:15.067Z"}],"updatedAt":"2026-11-25T22:58:44.748Z","epss":{"score":0.0025,"percentile":0.17514,"date":"2026-12-01T12:00:22.000Z"}}