Double Free in Linux
CVE-2026-31745
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().
Vulnerability class: Double Free
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.002 (5.1th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 5th percentile — 5.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.001 · newest: 0.002 · change: +0.000
Affected products
- Linux — versions 5fc4e4cf7a2268b5f73700fd1e8d02159f2417d8, 6.19, 0
- Linux Kernel — versions 7.0
Weakness classification (CWE)
References
Frequently asked questions
- What is CVE-2026-31745?
- CVE-2026-31745 is a high-severity vulnerability in Linux, classified under Double Free. CVSS score: 7.8/10. Published 2026-05-01.
- How severe is CVE-2026-31745?
- High severity. CVSS v3 base score is 7.8 out of 10.