{"id":"CVE-2024-44931","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2024-08-26T11:15:05.447","lastModified":"2026-06-17T07:53:15.067","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","value":"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."},{"lang":"es","value":"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."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["drivers/gpio/gpiolib.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"521a2ad6f862a28e2e43cb3e254a26bf0f9452e9","lessThan":"18504710442671b02d00e6db9804a0ad26c5a479","versionType":"git","status":"affected"},{"version":"521a2ad6f862a28e2e43cb3e254a26bf0f9452e9","lessThan":"9ae2d8e75b741dbcb0da374753f972410e83b5f3","versionType":"git","status":"affected"},{"version":"521a2ad6f862a28e2e43cb3e254a26bf0f9452e9","lessThan":"9d682e89c44bd5819b01f3fbb45a8e3681a4b6d0","versionType":"git","status":"affected"},{"version":"521a2ad6f862a28e2e43cb3e254a26bf0f9452e9","lessThan":"c65ab97efcd438cb4e9f299400f2ea55251f3a67","versionType":"git","status":"affected"},{"version":"521a2ad6f862a28e2e43cb3e254a26bf0f9452e9","lessThan":"672c19165fc96dfad531a5458e0b3cdab414aae4","versionType":"git","status":"affected"},{"version":"521a2ad6f862a28e2e43cb3e254a26bf0f9452e9","lessThan":"1b955f786a4bcde8c0ccb2b7d519def2acb6f3cc","versionType":"git","status":"affected"},{"version":"521a2ad6f862a28e2e43cb3e254a26bf0f9452e9","lessThan":"d776c0486b03a5c4afca65b8ff44573592bf93bb","versionType":"git","status":"affected"},{"version":"521a2ad6f862a28e2e43cb3e254a26bf0f9452e9","lessThan":"d795848ecce24a75dfd46481aee066ae6fe39775","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["drivers/gpio/gpiolib.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"4.6","status":"affected"},{"version":"0","lessThan":"4.6","versionType":"semver","status":"unaffected"},{"version":"4.19.323","lessThanOrEqual":"4.19.*","versionType":"semver","status":"unaffected"},{"version":"5.4.285","lessThanOrEqual":"5.4.*","versionType":"semver","status":"unaffected"},{"version":"5.10.227","lessThanOrEqual":"5.10.*","versionType":"semver","status":"unaffected"},{"version":"5.15.168","lessThanOrEqual":"5.15.*","versionType":"semver","status":"unaffected"},{"version":"6.1.112","lessThanOrEqual":"6.1.*","versionType":"semver","status":"unaffected"},{"version":"6.6.46","lessThanOrEqual":"6.6.*","versionType":"semver","status":"unaffected"},{"version":"6.10.5","lessThanOrEqual":"6.10.*","versionType":"semver","status":"unaffected"},{"version":"6.11","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","baseScore":5.5,"baseSeverity":"MEDIUM","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"NONE"},"exploitabilityScore":1.8,"impactScore":3.6}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2024-09-10T15:28:01.219323Z","id":"CVE-2024-44931","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"NVD-CWE-noinfo"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.46","matchCriteriaId":"84C35A98-08C9-4674-8AC8-9CC0757B7699"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.7","versionEndExcluding":"6.10.5","matchCriteriaId":"D074AE50-4A5E-499C-A2FD-75FD60DEA560"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/18504710442671b02d00e6db9804a0ad26c5a479","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/1b955f786a4bcde8c0ccb2b7d519def2acb6f3cc","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/672c19165fc96dfad531a5458e0b3cdab414aae4","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/9ae2d8e75b741dbcb0da374753f972410e83b5f3","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/9d682e89c44bd5819b01f3fbb45a8e3681a4b6d0","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/c65ab97efcd438cb4e9f299400f2ea55251f3a67","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/d776c0486b03a5c4afca65b8ff44573592bf93bb","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/d795848ecce24a75dfd46481aee066ae6fe39775","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html","source":"af854a3a-2127-422b-91ae-364da2661108"}]}