-

CVE-2026-98971

gpio: exar: initialize the ID before registering its cleanup

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.
Daten sind bereitgestellt durch das CVE Programm von einer CVE Numbering Authority (CNA) (Unstrukturiert).
HerstellerLinux
≫
Produkt Linux
Default Statusunaffected
Version 5300ebb695fa0672589ab191062392f686fca75d
Version < 0250acba81654b2ee50bde324ad72b3f0c04d0bd
Status affected
Version 5300ebb695fa0672589ab191062392f686fca75d
Version < 88b9c4bbf83d940ab672956e5af921215905dcb4
Status affected
Version 5300ebb695fa0672589ab191062392f686fca75d
Version < bf3d841ef12fcbec4458e2750956b738b043a226
Status affected
Version 5300ebb695fa0672589ab191062392f686fca75d
Version < b78c114600ae3df90c083c72c290437b068577c8
Status affected
Version 5300ebb695fa0672589ab191062392f686fca75d
Version < 01318927a9055136c207399eeb36ce07becac179
Status affected
Version 5300ebb695fa0672589ab191062392f686fca75d
Version < f7ec4dbd2a073dd53b6349be1c586fe8580dd6b2
Status affected
Version 5300ebb695fa0672589ab191062392f686fca75d
Version < 4d69e74034b208588636ecc177e0dd43a7696af3
Status affected
HerstellerLinux
≫
Produkt Linux
Default Statusaffected
Version 5.11
Status affected
Version 0
Version < 5.11
Status unaffected
Version <= 5.15.*
Version 5.15.224
Status unaffected
Version <= 6.1.*
Version 6.1.191
Status unaffected
Version <= 6.6.*
Version 6.6.160
Status unaffected
Version <= 6.12.*
Version 6.12.113
Status unaffected
Version <= 6.18.*
Version 6.18.57
Status unaffected
Version <= 7.2.*
Version 7.2.11
Status unaffected
Version <= *
Version 7.3
Status unaffected
VulnDex Vulnerability Enrichment
Diese Information steht angemeldeten Benutzern zur Verfügung. Login Login
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.17% 0.062
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
Es wurden noch keine Informationen zu CWE veröffentlicht.
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
https://git.kernel.org/stable/c/0250acba81654b2ee50bde324ad72b3f0c04d0bd
https://git.kernel.org/stable/c/88b9c4bbf83d940ab672956e5af921215905dcb4