VDB

CVE-2026-98528

CVE-2026-98528 PUBLISHED

gpio: cdev: fix kernel stack leak to user-space in error path

Reported by linux · Published October 18, 2026

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.

EPSS 0.21% · 11.1th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel6.18-headersAmazon Linux1:6.18.56-125.164.amzn2023
kernel6.18-tools-develAmazon Linux1:6.18.56-125.164.amzn2023
kernel6.12-headersAmazon Linux1:6.12.113-138.209.amzn2023
LinuxLinux6.9, 1feb5d39b05afd902ed9fc902ec5b15be03a4bdb

Risk scores

EPSS Score
0.21%
11.1th percentile

Affected products

VendorProductVersions
LinuxLinuxd83cee3d2bb131c7fca7e19f1e33dc7530fd7083, d83cee3d2bb131c7fca7e19f1e33dc7530fd7083, d83cee3d2bb131c7fca7e19f1e33dc7530fd7083
LinuxLinux6.9, 0, 6.12.112
amazon:2023kernel6.18-headers0
amazon:2023kernel6.18-tools-devel0
amazon:2023kernel6.12-headers0
LinuxLinux0, 7.2.9, 6.18.55
amazon:2023perf6.180
amazon:2023kernel6.12-tools-devel0
amazon:2023kernel-livepatch-6.12.113-138.2090
amazon:2023python3-perf6.180
amazon:2023bpftool6.180
amazon:2023python3-perf6.120
amazon:2023kernel6.18-modules-extra-common0
amazon:2023kernel6.18-devel0
linuxlinux_kernel6.9, 6.9, 6.9
amazon:2023kernel6.180
amazon:2023perf6.120
amazon:2023bpftool6.120
amazon:2023kernel6.120
amazon:2023microvm-kernel6.180

…and 7 more

Timeline

  • Oct 18, 2026 Coalition ESS Score
  • Oct 18, 2026 CVE Published
  • Oct 19, 2026 EPSS Score (5 in total, the first dated here)
  • Oct 19, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-98528
vulnetix vdb fixes CVE-2026-98528

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-98528/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›