Skip to main content
VulnerabilityPublished

CVE-2026-98971: Linux kernel · gpio: exar: initialize the ID before registering its cleanup

Source GCVE Database

0
Authoritative record:CVE-2026-98971· Medium

Not known to be exploited · fixed in f7ec4dbd2a073dd53b6349be1c586fe8580dd6b2 : update Linux kernel when convenient.

Data as of 26 Oct 2026, 12:55 UTC

Severity
Medium

Rated by Threat Radar · CVSS not yet scored by NVD

EPSS
0.1% chance of exploitation in 30 days – higher than 6% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in f7ec4dbd2a073dd53b6349be1c586fe8580dd6b2, bf3d841ef12fcbec4458e2750956b738b043a226, b78c114600ae3df90c083c72c290437b068577c8 +2

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 23 Oct 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
LinuxLinuxAffected
  • ≥ 5300ebb695fa0672589ab191062392f686fca75d, < f7ec4dbd2a073dd53b6349be1c586fe8580dd6b2
Fixed in
  • f7ec4dbd2a073dd53b6349be1c586fe8580dd6b2
LinuxLinuxAffected
  • ≥ 5300ebb695fa0672589ab191062392f686fca75d, < bf3d841ef12fcbec4458e2750956b738b043a226
Fixed in
  • bf3d841ef12fcbec4458e2750956b738b043a226
LinuxLinuxAffected
  • ≥ 5300ebb695fa0672589ab191062392f686fca75d, < b78c114600ae3df90c083c72c290437b068577c8
Fixed in
  • b78c114600ae3df90c083c72c290437b068577c8
LinuxLinuxAffected
  • ≥ 5300ebb695fa0672589ab191062392f686fca75d, < 01318927a9055136c207399eeb36ce07becac179
Fixed in
  • 01318927a9055136c207399eeb36ce07becac179
LinuxLinuxAffected
  • ≥ 5300ebb695fa0672589ab191062392f686fca75d, < 4d69e74034b208588636ecc177e0dd43a7696af3
Fixed in
  • 4d69e74034b208588636ecc177e0dd43a7696af3
LinuxLinuxAffected
  • =5.11
Fixed in–

Description

In the Linux kernel, the following vulnerability has been resolved: gpio: exar: initialize the ID before registering its cleanup devm_add_action_or_reset() invokes the cleanup action immediately when registering the action fails. gpio_exar_probe() currently stores the allocated ID in exar_gpio only after registering the action, so that failure makes exar_devm_ida_free() release ID 0. If the allocated ID is nonzero, this leaks that ID and can free ID 0 belonging to another device. Store the ID before registering the cleanup action so both the immediate failure path and normal device teardown release the correct allocation.

References

Community reviews

Loading reviews…