Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-31745

published

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

Published
01 May 2026, 14:14:39 UTC
Updated
11 May 2026, 22:14:56 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux5fc4e4cf7a2268b5f73700fd1e8d02159f2417d8 to < 1de465753220deb41569cf2add87bbb0673731db · 5fc4e4cf7a2268b5f73700fd1e8d02159f2417d8 to < fbffb8c7c7bb4d38e9f65e0bee446685011de5d8 · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.19 (affected) · 0 to < 6.19 (unaffected · semver) · 6.19.12 through 6.19.* (unaffected · semver) · 7.0 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment

Description

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().

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 5fc4e4cf7a2268b5f73700fd1e8d02159f2417d8 to < 1de465753220deb41569cf2add87bbb0673731db (affected · git)5fc4e4cf7a2268b5f73700fd1e8d02159f2417d8 to < fbffb8c7c7bb4d38e9f65e0bee446685011de5d8 (affected · git)Default: unaffected Linux · cna
Linux Linux 6.19 (affected)0 to < 6.19 (unaffected · semver)6.19.12 through 6.19.* (unaffected · semver)7.0 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

2

Provider assertions

1

Linux · cna

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

Provenance

Schema
5.2
Searchable
yes
Content hash
bf32405480351fcd7f1d9bcf944840e5781b3c5a74d3af192ba513b0229d8289
Ingested
23 Sep 2026, 09:09:43 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected