CVE-2024-44931

Medium

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.

SeverityMedium
CVSS5.5
Exploit probability—
ProductLinux Kernel
PublishedAug 26, 2024
First seenAug 26, 2024

How to fix

Update
  • linux linux_kernel6.6.46, 6.10.5 or later

Affected products

ProductAffected versionsFixed in
linux linux_kernelv < 6.6.46, 6.7 ≤ v < 6.10.56.6.46, 6.10.5

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.