Skip to main content

In the Linux kernel, the following vulnerability has been resolved: gpio: exar: initialize the ID before registering its cleanup… (CVE-2026-98971)

0
Medium
Published: 10/23/2026 (10/23/2026, 15:31:33 UTC)
Source: GCVE Database

Description

A vulnerability in the Linux kernel's gpio: exar driver was resolved by correcting the initialization order of an ID before registering its cleanup action. The issue involved improper handling of allocated IDs during failure in registering cleanup actions, potentially causing ID leaks and incorrect freeing of device IDs.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/23/2026, 18:56:57 UTC

Technical Analysis

The Linux kernel gpio: exar driver had a flaw where the allocated ID was stored only after registering a cleanup action. If registering the cleanup action failed, the immediate invocation of the cleanup would free ID 0 incorrectly and leak the allocated nonzero ID. The fix involves storing the allocated ID before registering the cleanup action, ensuring that both immediate failure and normal teardown paths release the correct ID.

Potential Impact

Incorrect ID management could lead to resource leaks and the freeing of an ID belonging to another device, potentially causing device mismanagement or instability in the kernel's GPIO subsystem. There is no indication of direct security compromise such as privilege escalation or code execution.

Mitigation Recommendations

A fix has been applied in the Linux kernel to store the allocated ID before registering the cleanup action, preventing ID leaks and incorrect freeing. Users should update to the fixed kernel version once available. Patch status is not explicitly stated; check the vendor or Linux kernel advisory for the specific fixed version.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-x5r8-cmvp-6558
Osv Schema Version
1.4.0
Aliases
["CVE-2026-98971"]

Threat ID: 6adbaacfd73cc49347b20565

Added to database: 10/23/2026, 18:43:27 UTC

Last enriched: 10/23/2026, 18:56:57 UTC

Last updated: 10/23/2026, 22:45:18 UTC

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses