CVE-2026-31732
kernel: gpio: Fix resource leaks on errors in gpiochip_add_data_with_key()
Severity
LowRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · May 1, 2026
Updated · June 28, 2026
Description
A flaw was found in the Linux kernel's General Purpose Input/Output (GPIO) subsystem. Due to an unset release function in the device structure, a resource leak occurs when errors are encountered in the gpiochip_add_data_with_key() function. This can lead to the gradual exhaustion of system resources, potentially resulting in a Denial of Service (DoS) condition.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE-911 · Improper Update of Reference Count