CVE-2024-44931
gpio: prevent potential speculation leaks in gpio_device_get_desc()
Check your servers for CVE-2024-44931
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-44931 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
In the Linux kernel, the following vulnerability has been resolved:
gpio: prevent potential speculation leaks in gpio_device_get_desc()
Userspace may trigger a speculative read of an address outside the gpio descriptor array. Users can do that by calling gpio_ioctl() with an offset out of range. Offset is copied from user and then used as an array index to get the gpio descriptor without sanitization in gpio_device_get_desc().
This change ensures that the offset is sanitized by using array_index_nospec() to mitigate any possibility of speculative information leaks.
This bug was discovered and resolved using Coverity Static Analysis Security Testing (SAST) by Synopsys, Inc.
Exploitation
EPSS 0.25%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 17.5% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 10 Sep 2024):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 521a2ad6f862a28e2e43cb3e254a26bf0f9452e9, before 18504710442671b02d00e6db9804a0ad26c5a479 affected from 521a2ad6f862a28e2e43cb3e254a26bf0f9452e9, before 9ae2d8e75b741dbcb0da374753f972410e83b5f3 affected from 521a2ad6f862a28e2e43cb3e254a26bf0f9452e9, before 9d682e89c44bd5819b01f3fbb45a8e3681a4b6d0 affected from 521a2ad6f862a28e2e43cb3e254a26bf0f9452e9, before c65ab97efcd438cb4e9f299400f2ea55251f3a67 affected from 521a2ad6f862a28e2e43cb3e254a26bf0f9452e9, before 672c19165fc96dfad531a5458e0b3cdab414aae4 affected from 521a2ad6f862a28e2e43cb3e254a26bf0f9452e9, before 1b955f786a4bcde8c0ccb2b7d519def2acb6f3cc affected from 521a2ad6f862a28e2e43cb3e254a26bf0f9452e9, before d776c0486b03a5c4afca65b8ff44573592bf93bb affected from 521a2ad6f862a28e2e43cb3e254a26bf0f9452e9, before d795848ecce24a75dfd46481aee066ae6fe39775
Other versions: unaffected
|
| Linux |
affected 4.6 unaffected before 4.6 unaffected from 4.19.323 up to and including 4.19.* unaffected from 5.4.285 up to and including 5.4.* unaffected from 5.10.227 up to and including 5.10.* unaffected from 5.15.168 up to and including 5.15.* unaffected from 6.1.112 up to and including 6.1.* unaffected from 6.6.46 up to and including 6.6.* unaffected from 6.10.5 up to and including 6.10.* unaffected 6.11 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-44931 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-44931
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2024-44931
trivy image --scanners vuln IMAGE | grep CVE-2024-44931
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/18504710442671b02d00e6db9804a0ad26c5a479 git.kernel.org
- https://git.kernel.org/stable/c/9ae2d8e75b741dbcb0da374753f972410e83b5f3 git.kernel.org
- https://git.kernel.org/stable/c/9d682e89c44bd5819b01f3fbb45a8e3681a4b6d0 git.kernel.org
- https://git.kernel.org/stable/c/c65ab97efcd438cb4e9f299400f2ea55251f3a67 git.kernel.org
- https://git.kernel.org/stable/c/672c19165fc96dfad531a5458e0b3cdab414aae4 git.kernel.org
- https://git.kernel.org/stable/c/1b955f786a4bcde8c0ccb2b7d519def2acb6f3cc git.kernel.org
- https://git.kernel.org/stable/c/d776c0486b03a5c4afca65b8ff44573592bf93bb git.kernel.org
- https://git.kernel.org/stable/c/d795848ecce24a75dfd46481aee066ae6fe39775 git.kernel.org
- https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html lists.debian.org
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html lists.debian.org
Source: the record CVE-2024-44931 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse