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… (CVE-2026-98528)
Description
A vulnerability in the Linux kernel's GPIO character device interface could cause kernel stack data to leak to user-space in an error path. This occurs when the function gpio_desc_to_lineinfo() fails to acquire a GPIO chip guard and returns early without zeroing a data structure passed to user-space. The issue has been resolved by ensuring the structure is zeroed before use and by propagating error codes properly.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel contained a vulnerability in the gpio: cdev component where, if gpio_desc_to_lineinfo() failed to acquire the GPIO chip guard, it would return immediately without zeroing the info struct. This struct is later passed to user-space in lineinfo_get_v1(), potentially leaking kernel stack contents. The fix involved changing gpio_desc_to_lineinfo() to return an int error code (-ENODEV) on failure and zeroing the info struct before attempting to acquire the SRCU read lock, preventing kernel stack leakage.
Potential Impact
The vulnerability could lead to unintended disclosure of kernel stack contents to user-space processes, potentially exposing sensitive kernel memory data. There is no indication of active exploitation in the wild. The impact is primarily an information leak from kernel to user-space.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to address this vulnerability. Users should apply the official kernel updates that include this patch. Since this is a kernel-level fix, upgrading to a patched kernel version is the recommended remediation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-2259-3wph-4x6g
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-98528"]
Threat ID: 6ad520b02cdf04f656993aed
Added to database: 10/18/2026, 19:40:32 UTC
Last enriched: 10/18/2026, 20:19:00 UTC
Last updated: 10/18/2026, 22:02:57 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.