CVE-2026-98971

UnknownEPSS 0.17%

Last modified

CVE-2026-98971 is a vulnerability of currently unknown severity. 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. EPSS estimates a 0.17% chance of exploitation in the next 30 days.

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.

Metrics

EPSS Probability
0.17%

6.2th percentile

Probability of exploitation in the next 30 days. Learn more

Affected Software

Source: CNA advisory (CVE.org). NVD analysis pending.

VendorProductVersions
LinuxLinux>= 5300ebb695fa0672589ab191062392f686fca75d, < 0250acba81654b2ee50bde324ad72b3f0c04d0bd; >= 5300ebb695fa0672589ab191062392f686fca75d, < 88b9c4bbf83d940ab672956e5af921215905dcb4; >= 5300ebb695fa0672589ab191062392f686fca75d, < bf3d841ef12fcbec4458e2750956b738b043a226; >= 5300ebb695fa0672589ab191062392f686fca75d, < b78c114600ae3df90c083c72c290437b068577c8; >= 5300ebb695fa0672589ab191062392f686fca75d, < 01318927a9055136c207399eeb36ce07becac179; >= 5300ebb695fa0672589ab191062392f686fca75d, < f7ec4dbd2a073dd53b6349be1c586fe8580dd6b2; >= 5300ebb695fa0672589ab191062392f686fca75d, < 4d69e74034b208588636ecc177e0dd43a7696af3
LinuxLinux5.11

References

Timeline

Published
Last Modified
Status
Received

Frequently Asked Questions

What is CVE-2026-98971?
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.
How severe is CVE-2026-98971?
Severity scoring for CVE-2026-98971 is pending analysis. The EPSS model estimates a 0.17% probability of exploitation in the next 30 days.
How do I fix CVE-2026-98971?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

How Strix Helps

Related CVEs from 2026

Are you affected by CVE-2026-98971?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST