CVEFinder.io

CVE-2026-99989

🔶 medium
Summary

In the Linux kernel, the following vulnerability has been resolved: gpiolib: Free chip resources when allocating the label fails If desc_set_label() fails after the chip's request callback succeeds, gpiod_request_commit() clears GPIOD_FLAG_REQUESTED without calling the free callback. The caller receives an error and has no GPIO to release, leaving resources acquired by the request callback held. Call the chip's free callback, if present, before clearing the requested bit on label allocation f

Description

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

gpiolib: Free chip resources when allocating the label fails

If desc_set_label() fails after the chip's request callback succeeds,
gpiod_request_commit() clears GPIOD_FLAG_REQUESTED without calling the
free callback. The caller receives an error and has no GPIO to release,
leaving resources acquired by the request callback held.

Call the chip's free callback, if present, before clearing the requested
bit on label allocation failure. Leave request callback errors on the
existing path to avoid freeing a failed request.

CVSS Score
-
EPSS Score
0.3
Exploit Probability
Published Date
2026-11-30
First Seen: 2026-12-04
Last Modified 2026-11-30

📦 Affected Products 0

No affected products information available

🔗 References 4