CVE-2026-98528
gpio: cdev: fix kernel stack leak to user-space in error path
Mitigation
- Upgrade Linux to 1feb5d39b05afd902ed9fc902ec5b15be03a4bdb or later.
Who should check
- Anyone running Linux >= d83cee3d2bb131c7fca7e19f1e33dc7530fd7083, < 8460ee5216ab9a38263b01dca4b0a27e083f70f3; >= d83cee3d2bb131c7fca7e19f1e33dc7530fd7083, < cf3d043582e106a0e57002bec8a6de8929ba3e1c; >= d83cee3d2bb131c7fca7e19f1e33dc7530fd7083, < 60a466f231905cd96ae6f0f3c44a710c97873dac; >= d83cee3d2bb131c7fca7e19f1e33dc7530fd7083, < 1feb5d39b05afd902ed9fc902ec5b15be03a4bdb
- Anyone running Linux 6.9
Vulnerability facts
- Affected
- Linux >= d83cee3d2bb131c7fca7e19f1e33dc7530fd7083, < 8460ee5216ab9a38263b01dca4b0a27e083f70f3; >= d83cee3d2bb131c7fca7e19f1e33dc7530fd7083, < cf3d043582e106a0e57002bec8a6de8929ba3e1c; >= d83cee3d2bb131c7fca7e19f1e33dc7530fd7083, < 60a466f231905cd96ae6f0f3c44a710c97873dac; >= d83cee3d2bb131c7fca7e19f1e33dc7530fd7083, < 1feb5d39b05afd902ed9fc902ec5b15be03a4bdb; Linux 6.9
- Fixed in
- Linux 8460ee5216ab9a38263b01dca4b0a27e083f70f3, Linux 60a466f231905cd96ae6f0f3c44a710c97873dac, Linux 1feb5d39b05afd902ed9fc902ec5b15be03a4bdb
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- EPSS
- 0.21% chance of exploitation in 30 days (percentile 6, 2026-11-26)
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= d83cee3d2bb131c7fca7e19f1e33dc7530fd7083, < 8460ee5216ab9a38263b01dca4b0a27e083f70f3; >= d83cee3d2bb131c7fca7e19f1e33dc7530fd7083, < cf3d043582e106a0e57002bec8a6de8929ba3e1c; >= d83cee3d2bb131c7fca7e19f1e33dc7530fd7083, < 60a466f231905cd96ae6f0f3c44a710c97873dac; >= d83cee3d2bb131c7fca7e19f1e33dc7530fd7083, < 1feb5d39b05afd902ed9fc902ec5b15be03a4bdb | — | cvelist |
| Linux | 6.9 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-98528. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-98528.md Affected: Linux >= d83cee3d2bb131c7fca7e19f1e33dc7530fd7083, < 8460ee5216ab9a38263b01dca4b0a27e083f70f3; >= d83cee3d2bb131c7fca7e19f1e33dc7530fd7083, < cf3d043582e106a0e57002bec8a6de8929ba3e1c; >= d83cee3d2bb131c7fca7e19f1e33dc7530fd7083, < 60a466f231905cd96ae6f0f3c44a710c97873dac; >= d83cee3d2bb131c7fca7e19… Fixed in: Linux 8460ee5216ab9a38263b01dca4b0a27e083f70f3, Linux 60a466f231905cd96ae6f0f3c44a710c97873dac, Linux 1feb5d39b05afd902ed9fc902ec5b15be03a4bdb Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2026-98528 being exploited?
There is no confirmed exploitation: CVE-2026-98528 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-98528?
It has no CVSS score yet. Unknown.
Which versions are affected by CVE-2026-98528?
Linux >= d83cee3d2bb131c7fca7e19f1e33dc7530fd7083, < 8460ee5216ab9a38263b01dca4b0a27e083f70f3; >= d83cee3d2bb131c7fca7e19f1e33dc7530fd7083, < cf3d043582e106a0e57002bec8a6de8929ba3e1c; >= d83cee3d2bb131c7fca7e19f1e33dc7530fd7083, < 60a466f231905cd96ae6f0f3c44a710c97873dac; >= d83cee3d2bb131c7fca7e19f1e33dc7530fd7083, < 1feb5d39b05afd902ed9fc902ec5b15be03a4bdb; Linux 6.9.
Is there a fix for CVE-2026-98528?
Yes. Fixed in Linux 8460ee5216ab9a38263b01dca4b0a27e083f70f3, Linux 60a466f231905cd96ae6f0f3c44a710c97873dac, Linux 1feb5d39b05afd902ed9fc902ec5b15be03a4bdb. Upgrade Linux to 1feb5d39b05afd902ed9fc902ec5b15be03a4bdb or later.
How do I check if I'm affected by CVE-2026-98528?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.