CVE-2026-98971
gpio: exar: initialize the ID before registering its cleanup
Mitigation
- Upgrade Linux to 4d69e74034b208588636ecc177e0dd43a7696af3 or later.
Who should check
- Anyone running Linux >= 5300ebb695fa0672589ab191062392f686fca75d, < 0250acba81654b2ee50bde324ad72b3f0c04d0bd; >= 5300ebb695fa0672589ab191062392f686fca75d, < 88b9c4bbf83d940ab672956e5af921215905dcb4; >= 5300ebb695fa0672589ab191062392f686fca75d, < bf3d841ef12fcbec4458e2750956b738b043a226; >= 5300ebb695fa0672589ab191062392f686fca75d, < b78c114600ae3df90c083c72c290437b068577c8; >= 5300ebb695fa0672589ab191062392f686fca75d, < 01318927a9055136c207399eeb36ce07becac179; >= 5300ebb695fa0672589ab191062392f686fca75d, < f7ec4dbd2a073dd53b6349be1c586fe8580dd6b2; >= 5300ebb695fa0672589ab191062392f686fca75d, < 4d69e74034b208588636ecc177e0dd43a7696af3
- Anyone running Linux 5.11
Vulnerability facts
- Affected
- Linux >= 5300ebb695fa0672589ab191062392f686fca75d, < 0250acba81654b2ee50bde324ad72b3f0c04d0bd; >= 5300ebb695fa0672589ab191062392f686fca75d, < 88b9c4bbf83d940ab672956e5af921215905dcb4; >= 5300ebb695fa0672589ab191062392f686fca75d, < bf3d841ef12fcbec4458e2750956b738b043a226; >= 5300ebb695fa0672589ab191062392f686fca75d, < b78c114600ae3df90c083c72c290437b068577c8; >= 5300ebb695fa0672589ab191062392f686fca75d, < 01318927a9055136c207399eeb36ce07becac179; >= 5300ebb695fa0672589ab191062392f686fca75d, < f7ec4dbd2a073dd53b6349be1c586fe8580dd6b2; >= 5300ebb695fa0672589ab191062392f686fca75d, < 4d69e74034b208588636ecc177e0dd43a7696af3; Linux 5.11
- Fixed in
- Linux 0250acba81654b2ee50bde324ad72b3f0c04d0bd, Linux 88b9c4bbf83d940ab672956e5af921215905dcb4, Linux 01318927a9055136c207399eeb36ce07becac179, Linux 4d69e74034b208588636ecc177e0dd43a7696af3
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- EPSS
- 0.21% chance of exploitation in 30 days (percentile 7, 2026-11-26)
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 5300ebb695fa0672589ab191062392f686fca75d, < 0250acba81654b2ee50bde324ad72b3f0c04d0bd; >= 5300ebb695fa0672589ab191062392f686fca75d, < 88b9c4bbf83d940ab672956e5af921215905dcb4; >= 5300ebb695fa0672589ab191062392f686fca75d, < bf3d841ef12fcbec4458e2750956b738b043a226; >= 5300ebb695fa0672589ab191062392f686fca75d, < b78c114600ae3df90c083c72c290437b068577c8; >= 5300ebb695fa0672589ab191062392f686fca75d, < 01318927a9055136c207399eeb36ce07becac179; >= 5300ebb695fa0672589ab191062392f686fca75d, < f7ec4dbd2a073dd53b6349be1c586fe8580dd6b2; >= 5300ebb695fa0672589ab191062392f686fca75d, < 4d69e74034b208588636ecc177e0dd43a7696af3 | — | cvelist |
| Linux | 5.11 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-98971. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-98971.md Affected: Linux >= 5300ebb695fa0672589ab191062392f686fca75d, < 0250acba81654b2ee50bde324ad72b3f0c04d0bd; >= 5300ebb695fa0672589ab191062392f686fca75d, < 88b9c4bbf83d940ab672956e5af921215905dcb4; >= 5300ebb695fa0672589ab191062392f686fca75d, < bf3d841ef12fcbec4458e2750956b738b043a226; >= 5300ebb695fa0672589ab19… Fixed in: Linux 0250acba81654b2ee50bde324ad72b3f0c04d0bd, Linux 88b9c4bbf83d940ab672956e5af921215905dcb4, Linux 01318927a9055136c207399eeb36ce07becac179, Linux 4d69e74034b208588636ecc177e0dd43a7696af3 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Other
- https://git.kernel.org/stable/c/0250acba81654b2ee50bde324ad72b3f0c04d0bd
- https://git.kernel.org/stable/c/88b9c4bbf83d940ab672956e5af921215905dcb4
- 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
FAQ
Is CVE-2026-98971 being exploited?
There is no confirmed exploitation: CVE-2026-98971 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-98971?
It has no CVSS score yet. Unknown.
Which versions are affected by CVE-2026-98971?
Linux >= 5300ebb695fa0672589ab191062392f686fca75d, < 0250acba81654b2ee50bde324ad72b3f0c04d0bd; >= 5300ebb695fa0672589ab191062392f686fca75d, < 88b9c4bbf83d940ab672956e5af921215905dcb4; >= 5300ebb695fa0672589ab191062392f686fca75d, < bf3d841ef12fcbec4458e2750956b738b043a226; >= 5300ebb695fa0672589ab191062392f686fca75d, < b78c114600ae3df90c083c72c290437b068577c8; >= 5300ebb695fa0672589ab191062392f686fca75d, < 01318927a9055136c207399eeb36ce07becac179; >= 5300ebb695fa0672589ab191062392f686fca75d, < f7ec4dbd2a073dd53b6349be1c586fe8580dd6b2; >= 5300ebb695fa0672589ab191062392f686fca75d, < 4d69e74034b208588636ecc177e0dd43a7696af3; Linux 5.11.
Is there a fix for CVE-2026-98971?
Yes. Fixed in Linux 0250acba81654b2ee50bde324ad72b3f0c04d0bd, Linux 88b9c4bbf83d940ab672956e5af921215905dcb4, Linux 01318927a9055136c207399eeb36ce07becac179, Linux 4d69e74034b208588636ecc177e0dd43a7696af3. Upgrade Linux to 4d69e74034b208588636ecc177e0dd43a7696af3 or later.
How do I check if I'm affected by CVE-2026-98971?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.