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.

Package Linux Kernel
Published 2026-10-23
Last modified 2026-10-23
Patch available
Yes

Affected versions

Linux kernel versions 5.11 and later are affected. Fixed in 6.6.160, 6.12.113, 6.18.57, 7.2.11, 7.3 and their respective stable series.

Affected from
≥ 5.11
Fixed in
✓ 6.6.160 6.6.x ✓ 6.12.113 6.12.x ✓ 6.18.57 6.18.x ✓ 7.2.11 7.2.x ✓ 7.3

Frequently asked questions

  • What is CVE-2026-98971?

    CVE-2026-98971 is a unscored severity Linux kernel vulnerability . It affects Linux kernel versions from 5.11 onward and has been patched in 6.6.160, 6.12.113, 6.18.57 and others. CVE-2026-98971 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.

  • Is there a patch available for CVE-2026-98971?

    Yes. CVE-2026-98971 has been patched. Fixed versions include 6.6.160, 6.12.113, 6.18.57 and others. If you are running Linux kernel 5.11 or later up to the fix versions, apply the relevant patch for your kernel branch.

  • Is CVE-2026-98971 actively exploited?

    No. CVE-2026-98971 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.