In the Linux kernel, the following vulnerability has been resolved:
gpio: virtuser: fix UAF in configfs release path
The gpio-virtuser configfs release path uses guard(mutex) to protect the device structure. However, the device is freed before the guard cleanup runs, causing mutex_unlock() to operate on freed memory.
Specifically, gpio_virtuser_device_config_group_release() destroys the mutex and frees the device while still inside the guard(mutex) scope. When the function returns, the guard cleanup invokes mutex_unlock(&dev->lock), resulting in a slab use-after-free.
Limit the mutex lifetime by using a scoped_guard() only around the activation check, so that the lock is released before mutex_destroy() and kfree() are called.
CVSS Details
- CVSS 3.1 Base Score: 7.8
- CVSS 3.1 Vector: (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Debian | — | Upgrade linux | Jul 23, 2026 | Jul 23, 2026 |
| Ubuntu | — | Upgrade linux-image-realtime-hwe-24.04Upgrade linux-image-oracle-6.17Upgrade linux-image-6.17.0-1021-gcp-64kUpgrade linux-image-gcp-64kUpgrade linux-image-6.17.0-1030-oemUpgrade linux-image-azure-6.17Upgrade linux-image-realtime-6.17Upgrade linux-image-6.17.0-1031-nvidia-64kUpgrade linux-image-azure-fdeUpgrade linux-image-gcp-64k-6.17Upgrade linux-image-oracle-64k-6.17Upgrade linux-image-azureUpgrade linux-image-nvidia-6.17Upgrade linux-image-6.17.0-1031-nvidiaUpgrade linux-image-oem-24.04cUpgrade linux-image-oem-6.17Upgrade linux-image-gcp-6.17Upgrade linux-image-nvidia-64k-hwe-24.04Upgrade linux-image-6.17.0-1018-azure-fdeUpgrade linux-image-6.17.0-1019-oracleUpgrade linux-image-oem-24.04dUpgrade linux-image-azure-fde-6.17Upgrade linux-image-oracleUpgrade linux-image-6.17.0-1018-realtimeUpgrade linux-image-oem-24.04Upgrade linux-image-6.17.0-1019-oracle-64kUpgrade linux-image-oem-24.04bUpgrade linux-image-gcpUpgrade linux-image-oracle-64kUpgrade linux-image-nvidia-hwe-24.04Upgrade linux-image-nvidia-64k-6.17Upgrade linux-image-6.17.0-1021-gcpUpgrade linux-image-6.17.0-1021-azureUpgrade linux-image-oem-24.04a | Jul 21, 2026 | Jul 20, 2026 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub