CVE-2024-44931

MEDIUM

Linux Kernel - Speculative Information Leak via Unsanitized GPIO Descriptor Array Index

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 5.5
EPSS 0.0025
EPSS Percentile 16.1%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

Status published
Products (26)
linux/Kernel 4.20.0 - 5.4.285linux
linux/Kernel 4.6.0 - 4.19.323linux
linux/Kernel 5.11.0 - 5.15.168linux
linux/Kernel 5.16.0 - 6.1.112linux
linux/Kernel 5.5.0 - 5.10.227linux
linux/Kernel 6.2.0 - 6.6.46linux
linux/Kernel 6.7.0 - 6.10.5linux
Linux/Linux < 4.6
Linux/Linux 4.19.323 - 4.19.*
Linux/Linux 4.6
... and 16 more
Published Aug 26, 2024
Tracked Since Feb 18, 2026