CVE-2026-31745

published 1 May 2026 · updated 13 Nov 2026

reset: gpio: fix double free in reset_add_gpio_aux_device() error path

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel fbffb8c7c7bb4d38e9f65e0bee446685011de5d8, Kernel 6.19.12 and Kernel 1de465753220deb41569cf2add87bbb0673731db.

In the Linux kernel, the following vulnerability has been resolved: reset: gpio: fix double free in reset_add_gpio_aux_device() error path When __auxiliary_device_add() fails, reset_add_gpio_aux_device() calls auxiliary_device_uninit(adev). The device release callback reset_gpio_aux_device_release() frees adev, but the current error path then calls kfree(adev) again, causing a double free. Keep kfree(adev) for the auxiliary_device_init() failure path, but avoid freeing adev after auxiliary_device_uninit().

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=5fc4e4cf7a2268b5f73700fd1e8d02159f2417d8 <fbffb8c7c7bb4d38e9f65e0bee446685011de5d8, =7.0, >=6.19 <6.19.12, =6.19, >=5fc4e4cf7a2268b5f73700fd1e8d02159f2417d8 <1de465753220deb41569cf2add87bbb0673731dbfbffb8c7c7bb4d38e9f65e0bee446685011de5d8, 6.19.12, 1de465753220deb41569cf2add87bbb0673731db
linux-kernel: Kernel>=6.19.0 <6.19.126.19.12

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-31745 severity on Zeptric[![CVE-2026-31745](https://zeptric.io/badge/cve/CVE-2026-31745.svg)](https://zeptric.io/cve/CVE-2026-31745)