CVE-2024-44931
gpio: prevent potential speculation leaks in gpio_device_get_desc()
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 521a2ad6f862a28e2e43cb3e254a26bf0f9452e9, < 18504710442671b02d00e6db9804a0ad26c5a479; >= 521a2ad6f862a28e2e43cb3e254a26bf0f9452e9, < 9ae2d8e75b741dbcb0da374753f972410e83b5f3; >= 521a2ad6f862a28e2e43cb3e254a26bf0f9452e9, < 9d682e89c44bd5819b01f3fbb45a8e3681a4b6d0; >= 521a2ad6f862a28e2e43cb3e254a26bf0f9452e9, < c65ab97efcd438cb4e9f299400f2ea55251f3a67; >= 521a2ad6f862a28e2e43cb3e254a26bf0f9452e9, < 672c19165fc96dfad531a5458e0b3cdab414aae4; >= 521a2ad6f862a28e2e43cb3e254a26bf0f9452e9, < 1b955f786a4bcde8c0ccb2b7d519def2acb6f3cc; >= 521a2ad6f862a28e2e43cb3e254a26bf0f9452e9, < d776c0486b03a5c4afca65b8ff44573592bf93bb; >= 521a2ad6f862a28e2e43cb3e254a26bf0f9452e9, < d795848ecce24a75dfd46481aee066ae6fe39775
- Anyone running Linux 4.6
Vulnerability facts
- Affected
- Linux >= 521a2ad6f862a28e2e43cb3e254a26bf0f9452e9, < 18504710442671b02d00e6db9804a0ad26c5a479; >= 521a2ad6f862a28e2e43cb3e254a26bf0f9452e9, < 9ae2d8e75b741dbcb0da374753f972410e83b5f3; >= 521a2ad6f862a28e2e43cb3e254a26bf0f9452e9, < 9d682e89c44bd5819b01f3fbb45a8e3681a4b6d0; >= 521a2ad6f862a28e2e43cb3e254a26bf0f9452e9, < c65ab97efcd438cb4e9f299400f2ea55251f3a67; >= 521a2ad6f862a28e2e43cb3e254a26bf0f9452e9, < 672c19165fc96dfad531a5458e0b3cdab414aae4; >= 521a2ad6f862a28e2e43cb3e254a26bf0f9452e9, < 1b955f786a4bcde8c0ccb2b7d519def2acb6f3cc; >= 521a2ad6f862a28e2e43cb3e254a26bf0f9452e9, < d776c0486b03a5c4afca65b8ff44573592bf93bb; >= 521a2ad6f862a28e2e43cb3e254a26bf0f9452e9, < d795848ecce24a75dfd46481aee066ae6fe39775; Linux 4.6
- Fixed in
- Linux 18504710442671b02d00e6db9804a0ad26c5a479, Linux 9ae2d8e75b741dbcb0da374753f972410e83b5f3, Linux 9d682e89c44bd5819b01f3fbb45a8e3681a4b6d0, Linux 672c19165fc96dfad531a5458e0b3cdab414aae4, Linux 1b955f786a4bcde8c0ccb2b7d519def2acb6f3cc
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: None
- Availability impact: None
- EPSS
- 0.34% chance of exploitation in 30 days (percentile 20, 2026-11-26)
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 521a2ad6f862a28e2e43cb3e254a26bf0f9452e9, < 18504710442671b02d00e6db9804a0ad26c5a479; >= 521a2ad6f862a28e2e43cb3e254a26bf0f9452e9, < 9ae2d8e75b741dbcb0da374753f972410e83b5f3; >= 521a2ad6f862a28e2e43cb3e254a26bf0f9452e9, < 9d682e89c44bd5819b01f3fbb45a8e3681a4b6d0; >= 521a2ad6f862a28e2e43cb3e254a26bf0f9452e9, < c65ab97efcd438cb4e9f299400f2ea55251f3a67; >= 521a2ad6f862a28e2e43cb3e254a26bf0f9452e9, < 672c19165fc96dfad531a5458e0b3cdab414aae4; >= 521a2ad6f862a28e2e43cb3e254a26bf0f9452e9, < 1b955f786a4bcde8c0ccb2b7d519def2acb6f3cc; >= 521a2ad6f862a28e2e43cb3e254a26bf0f9452e9, < d776c0486b03a5c4afca65b8ff44573592bf93bb; >= 521a2ad6f862a28e2e43cb3e254a26bf0f9452e9, < d795848ecce24a75dfd46481aee066ae6fe39775 | — | cvelist |
| Linux | 4.6 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-44931. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-44931.md Affected: Linux >= 521a2ad6f862a28e2e43cb3e254a26bf0f9452e9, < 18504710442671b02d00e6db9804a0ad26c5a479; >= 521a2ad6f862a28e2e43cb3e254a26bf0f9452e9, < 9ae2d8e75b741dbcb0da374753f972410e83b5f3; >= 521a2ad6f862a28e2e43cb3e254a26bf0f9452e9, < 9d682e89c44bd5819b01f3fbb45a8e3681a4b6d0; >= 521a2ad6f862a28e2e43cb3… Fixed in: Linux 18504710442671b02d00e6db9804a0ad26c5a479, Linux 9ae2d8e75b741dbcb0da374753f972410e83b5f3, Linux 9d682e89c44bd5819b01f3fbb45a8e3681a4b6d0, Linux 672c19165fc96dfad531a5458e0b3cdab414aae4, Linux 1b955f786a4bcde8c0ccb2b7d519def2acb6f3cc Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
Other
- https://git.kernel.org/stable/c/18504710442671b02d00e6db9804a0ad26c5a479
- https://git.kernel.org/stable/c/9ae2d8e75b741dbcb0da374753f972410e83b5f3
- https://git.kernel.org/stable/c/9d682e89c44bd5819b01f3fbb45a8e3681a4b6d0
- https://git.kernel.org/stable/c/c65ab97efcd438cb4e9f299400f2ea55251f3a67
- https://git.kernel.org/stable/c/672c19165fc96dfad531a5458e0b3cdab414aae4
- https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html
FAQ
Is CVE-2024-44931 being exploited?
There is no confirmed exploitation: CVE-2024-44931 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.34% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-44931?
Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2024-44931?
Linux >= 521a2ad6f862a28e2e43cb3e254a26bf0f9452e9, < 18504710442671b02d00e6db9804a0ad26c5a479; >= 521a2ad6f862a28e2e43cb3e254a26bf0f9452e9, < 9ae2d8e75b741dbcb0da374753f972410e83b5f3; >= 521a2ad6f862a28e2e43cb3e254a26bf0f9452e9, < 9d682e89c44bd5819b01f3fbb45a8e3681a4b6d0; >= 521a2ad6f862a28e2e43cb3e254a26bf0f9452e9, < c65ab97efcd438cb4e9f299400f2ea55251f3a67; >= 521a2ad6f862a28e2e43cb3e254a26bf0f9452e9, < 672c19165fc96dfad531a5458e0b3cdab414aae4; >= 521a2ad6f862a28e2e43cb3e254a26bf0f9452e9, < 1b955f786a4bcde8c0ccb2b7d519def2acb6f3cc; >= 521a2ad6f862a28e2e43cb3e254a26bf0f9452e9, < d776c0486b03a5c4afca65b8ff44573592bf93bb; >= 521a2ad6f862a28e2e43cb3e254a26bf0f9452e9, < d795848ecce24a75dfd46481aee066ae6fe39775; Linux 4.6.
Is there a fix for CVE-2024-44931?
Yes. Fixed in Linux 18504710442671b02d00e6db9804a0ad26c5a479, Linux 9ae2d8e75b741dbcb0da374753f972410e83b5f3, Linux 9d682e89c44bd5819b01f3fbb45a8e3681a4b6d0, Linux 672c19165fc96dfad531a5458e0b3cdab414aae4, Linux 1b955f786a4bcde8c0ccb2b7d519def2acb6f3cc. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2024-44931?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.