CVE-2026-98528
Received
Received - Intake
Kernel Stack Leak in Linux Kernel GPIO Subsystem
Vulnerability report for CVE-2026-98528, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.
Publication date: 2026-10-18
Last updated on: 2026-10-18
Assigner: kernel.org
Description
Description
In the Linux kernel, the following vulnerability has been resolved:
gpio: cdev: fix kernel stack leak to user-space in error path
If we fail to acquire the GPIO chip guard in gpio_desc_to_lineinfo(), we
return immediately before zeroing the info struct we'll end up passing
to the user-space later in lineinfo_get_v1(). This may leak the kernel
stack contents. Make gpio_desc_to_lineinfo() return int so that the
-ENODEV returned on failure to acquire the guard can be propagated to
the callers.
While not strictly necessary: move the memset() before trying to acquire
the SRCU read lock too for good measure.
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| Linux | Linux | d83cee3d2bb131c7fca7e19f1e33dc7530fd7083 |
| Linux | Linux | d83cee3d2bb131c7fca7e19f1e33dc7530fd7083 |
| Linux | Linux | d83cee3d2bb131c7fca7e19f1e33dc7530fd7083 |
| Linux | Linux | d83cee3d2bb131c7fca7e19f1e33dc7530fd7083 |
| Linux | Linux | 6.9 |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-UNKNOWN |