{"id":"CVE-2026-23158","published":"2026-02-14T16:01:24Z","modified":"2026-05-11T22:01:20Z","title":"gpio: virtuser: fix UAF in configfs release path","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\ngpio: virtuser: fix UAF in configfs release path\n\nThe gpio-virtuser configfs release path uses guard(mutex) to protect\nthe device structure. However, the device is freed before the guard\ncleanup runs, causing mutex_unlock() to operate on freed memory.\n\nSpecifically, gpio_virtuser_device_config_group_release() destroys\nthe mutex and frees the device while still inside the guard(mutex)\nscope. When the function returns, the guard cleanup invokes\nmutex_unlock(&dev->lock), resulting in a slab use-after-free.\n\nLimit the mutex lifetime by using a scoped_guard() only around the\nactivation check, so that the lock is released before mutex_destroy()\nand kfree() are called.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00138,"percentile":0.03264,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/815a8e3bf72811d402b30bd4a53cde5e9df7a563","tags":[]},{"url":"https://git.kernel.org/stable/c/7bec90f605cfb138006f5ba575f2310593347110","tags":[]},{"url":"https://git.kernel.org/stable/c/53ad4a948a4586359b841d607c08fb16c5503230","tags":[]}],"priority":{"score":0.7,"factors":[{"name":"EPSS percentile","points":0.65}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 91581c4b3f29e2e22aeb1a62e842d529ca638b2d, < 815a8e3bf72811d402b30bd4a53cde5e9df7a563",">= 91581c4b3f29e2e22aeb1a62e842d529ca638b2d, < 7bec90f605cfb138006f5ba575f2310593347110",">= 91581c4b3f29e2e22aeb1a62e842d529ca638b2d, < 53ad4a948a4586359b841d607c08fb16c5503230"]},{"vendor":"Linux","product":"Linux","versions":["6.11"]}],"euvd":{"id":"EUVD-2026-5880","exploited":false,"provenance":"source"}}