{"id":"CVE-2026-31745","published":"2026-05-01T14:14:39Z","modified":"2026-05-11T22:14:56Z","title":"reset: gpio: fix double free in reset_add_gpio_aux_device() error path","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nreset: gpio: fix double free in reset_add_gpio_aux_device() error path\n\nWhen __auxiliary_device_add() fails, reset_add_gpio_aux_device()\ncalls auxiliary_device_uninit(adev).\n\nThe device release callback reset_gpio_aux_device_release() frees\nadev, but the current error path then calls kfree(adev) again,\ncausing a double free.\n\nKeep kfree(adev) for the auxiliary_device_init() failure path, but\navoid freeing adev after auxiliary_device_uninit().","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.0012,"percentile":0.0185,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/1de465753220deb41569cf2add87bbb0673731db","tags":[]},{"url":"https://git.kernel.org/stable/c/fbffb8c7c7bb4d38e9f65e0bee446685011de5d8","tags":[]}],"priority":{"score":0.4,"factors":[{"name":"EPSS percentile","points":0.37}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 5fc4e4cf7a2268b5f73700fd1e8d02159f2417d8, < 1de465753220deb41569cf2add87bbb0673731db",">= 5fc4e4cf7a2268b5f73700fd1e8d02159f2417d8, < fbffb8c7c7bb4d38e9f65e0bee446685011de5d8"]},{"vendor":"Linux","product":"Linux","versions":["6.19"]}],"euvd":{"id":"EUVD-2026-26558","exploited":false,"provenance":"source"}}