← Back to search

CVE-2026-99050

7.8 HIGH

Published 2026-10-23 · Updated 2026-10-24

AI risk analysis

Summary
A race condition in the Linux kernel's gpio-mpsse driver allows a use-after-free when enabling an IRQ poll worker: the worker can be scheduled before being added to the private list, so if device disconnect occurs during that window, the worker continues accessing freed memory.
Exploitability
Exploitation requires local access with low privileges (PR:L) and is timing-sensitive, making reliable exploitation difficult without kernel debugging tools or precise control over scheduling.
Blast radius
Successful exploitation could lead to local privilege escalation via arbitrary code execution in kernel space, compromising system integrity and confidentiality on affected devices.
Detection
No reliable host or network indicator is derivable from the published description.
Prioritized remediation
Apply the fix described in the patch: ensure the worker is added to priv->workers and armed under the same irq_spin critical section, and set the priv->dying flag before teardown walk; this requires upgrading to a Linux kernel version containing commit(s) that address CVE-2026-99050 — no specific fixed version is named in the description.
use-after-freerace-conditionlocal-privilege-escalationkernel

Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.

NVD description

In the Linux kernel, the following vulnerability has been resolved: gpio: mpsse: fix race when arming the IRQ poll worker gpio_mpsse_irq_enable() arms the poll worker before publishing it: schedule_work() runs before the worker is added to priv->workers. If gpio_mpsse_disconnect() walks the list in that window it misses the worker, and once disconnect returns, the USB core frees mpsse_priv while the orphaned gpio_mpsse_poll() work keeps accessing it, causing a use-after-free. Fix this by publishing and arming the worker in one irq_spin critical section. Teardown walks the same list under irq_spin, so a worker found on the list is guaranteed to be armed, and cancel_work_sync() handles it whether it is queued or running. A worker armed after the disconnect walk would still be missed, so also set a new priv->dying flag under irq_spin before the teardown walk, and check it in the same critical section, freeing it via kfree_rcu() instead when the device is going away, since kfree() would be called with the IRQ core's raw spinlock held and may sleep on PREEMPT_RT. schedule_work() is safe to call with irq_spin held, and the next probe gets a fresh mpsse_priv, so the flag never needs to be cleared. This issue was found by an in-house static analysis tool.

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

All references

Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.

Related CVEs

Related by shared AI tags and CWE weakness class. Browse the full archive.