CVE Catalog

CVE-2026-98971

Low risk· EPSS 6%
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.17%

6th percentile - higher than 6% of all known CVEs

Summary

In the Linux kernel GPIO exar driver, an initialization ordering bug exists: the allocated ID is stored in exar_gpio only after registering the devm_add_action_or_reset() cleanup action. If registration fails, the cleanup action releases ID 0 instead of the allocated ID, leaking the resource or freeing an ID belonging to another device.

Risk Assessment

Can cause ID leaks and erroneous freeing of ID 0 owned by another device, potentially leading to resource conflicts and system instability.

Recommendation

Update the Linux kernel to a version containing the fix that stores the ID before registering the cleanup action.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS