In the Linux kernel, the following vulnerability has been resolved:
reset: gpio: fix double free in resetaddgpioauxdevice() error path
When __auxiliarydeviceadd() fails, resetaddgpioauxdevice() calls auxiliarydeviceuninit(adev).
The device release callback resetgpioauxdevicerelease() frees adev, but the current error path then calls kfree(adev) again, causing a double free.
Keep kfree(adev) for the auxiliarydeviceinit() failure path, but avoid freeing adev after auxiliarydeviceuninit().
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31745.json",
"cna_assigner": "Linux"
}