CVE-2024-44931

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-44931
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-44931.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-44931
Downstream
Related
Published
2024-08-26T11:15:05Z
Modified
2025-08-09T20:01:28Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
[none]
Details

In the Linux kernel, the following vulnerability has been resolved:

gpio: prevent potential speculation leaks in gpiodeviceget_desc()

Userspace may trigger a speculative read of an address outside the gpio descriptor array. Users can do that by calling gpioioctl() 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 gpiodevicegetdesc().

This change ensures that the offset is sanitized by using arrayindexnospec() to mitigate any possibility of speculative information leaks.

This bug was discovered and resolved using Coverity Static Analysis Security Testing (SAST) by Synopsys, Inc.

References

Affected packages