CVE-2026-98971gpio: exar: initialize the ID before registering its cleanup
Updated under an hour ago ()
Does this affect you?
It affects Linux. Add what you run to find out whether that includes you.
No exploitation reported and no EPSS estimate yet.
Do this next
Free account, 1 product
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.
- CVSS
- Not yet scored
- Weakness (CWE)
- Not given
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- Not loaded for this CVE
- Assigned by
- Linux
- NVD analysis
- Received
- Record last updated
- Oct 23, 2026
- First seen by InfoSec Signals
- Oct 23, 2026
Affected products
Linux Linux linux:linux (from the name) | from 5300ebb695fa0672589ab191062392f686fca75d before bf3d841ef12fcbec4458e2750956b738b043a226; from 5300ebb695fa0672589ab191062392f686fca75d before b78c114600ae3df90c083c72c290437b068577c8; from 5300ebb695fa0672589ab191062392f686fca75d before 01318927a9055136c207399eeb36ce07becac179; from 5300ebb695fa0672589ab191062392f686fca75d before f7ec4dbd2a073dd53b6349be1c586fe8580dd6b2; 5300ebb695fa0672589ab191062392f686fca75d builds before 4d69e74034b208588636ecc177e0dd43a7696af3 | CNA record |
References
- https://git.kernel.org/stable/c/bf3d841ef12fcbec4458e2750956b738b043a226
- https://git.kernel.org/stable/c/b78c114600ae3df90c083c72c290437b068577c8
- https://git.kernel.org/stable/c/01318927a9055136c207399eeb36ce07becac179
- https://git.kernel.org/stable/c/f7ec4dbd2a073dd53b6349be1c586fe8580dd6b2
- https://git.kernel.org/stable/c/4d69e74034b208588636ecc177e0dd43a7696af3
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.