CVE-2026-98971
gpio: exar: initialize the ID before registering its cleanup
Check your servers for CVE-2026-98971
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-98971 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 6.89% of all scored CVEs. Scores of 29 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 5300ebb695fa0672589ab191062392f686fca75d, before 0250acba81654b2ee50bde324ad72b3f0c04d0bd affected from 5300ebb695fa0672589ab191062392f686fca75d, before 88b9c4bbf83d940ab672956e5af921215905dcb4 affected from 5300ebb695fa0672589ab191062392f686fca75d, before bf3d841ef12fcbec4458e2750956b738b043a226 affected from 5300ebb695fa0672589ab191062392f686fca75d, before b78c114600ae3df90c083c72c290437b068577c8 affected from 5300ebb695fa0672589ab191062392f686fca75d, before 01318927a9055136c207399eeb36ce07becac179 affected from 5300ebb695fa0672589ab191062392f686fca75d, before f7ec4dbd2a073dd53b6349be1c586fe8580dd6b2 affected from 5300ebb695fa0672589ab191062392f686fca75d, before 4d69e74034b208588636ecc177e0dd43a7696af3
Other versions: unaffected
|
| Linux |
affected 5.11 unaffected before 5.11 unaffected from 5.15.224 up to and including 5.15.* unaffected from 6.1.191 up to and including 6.1.* unaffected from 6.6.160 up to and including 6.6.* unaffected from 6.12.113 up to and including 6.12.* unaffected from 6.18.57 up to and including 6.18.* unaffected from 7.2.11 up to and including 7.2.* unaffected 7.3 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-98971 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-98971
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-98971
trivy image --scanners vuln IMAGE | grep CVE-2026-98971
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/0250acba81654b2ee50bde324ad72b3f0c04d0bd git.kernel.org
- https://git.kernel.org/stable/c/88b9c4bbf83d940ab672956e5af921215905dcb4 git.kernel.org
- https://git.kernel.org/stable/c/bf3d841ef12fcbec4458e2750956b738b043a226 git.kernel.org
- https://git.kernel.org/stable/c/b78c114600ae3df90c083c72c290437b068577c8 git.kernel.org
- https://git.kernel.org/stable/c/01318927a9055136c207399eeb36ce07becac179 git.kernel.org
- https://git.kernel.org/stable/c/f7ec4dbd2a073dd53b6349be1c586fe8580dd6b2 git.kernel.org
- https://git.kernel.org/stable/c/4d69e74034b208588636ecc177e0dd43a7696af3 git.kernel.org
Source: the record CVE-2026-98971 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse