CVE-2026-98971
What it is
A flaw in the Linux kernel's driver for Exar input and output chips: if setting up the device fails at a certain point, the driver gives up the wrong device number, which may belong to another device. The record does not describe an attack.
Written in plain English by AI from the official record. Show the official wording
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.
Chance of being attacked in the next 30 days: 0.2 % (EPSS).
What it affects, and the version that fixes it
- Linux Kernel Each release has its own fixed version: 5.15.224, 6.1.191, 6.6.160, 6.12.113, 6.18.57, 7.2.11, 7.3.
The official vulnerability database has not reviewed this record yet, so this comes from the vendor's own listing and may be incomplete.