VDB

CVE-2026-72040

CVE-2026-72040 PUBLISHED

ipmi: fix refcount leak in i_ipmi_request()

Reported by linux · Published August 15, 2026

In the Linux kernel, the following vulnerability has been resolved: ipmi: fix refcount leak in i_ipmi_request() When a caller provides a `supplied_recv` message to i_ipmi_request(), the function increments the user's `nr_msgs` reference count. If an error occurs later, the out_err cleanup path only frees the recv_msg if the function allocated it itself (i.e., !supplied_recv). In the supplied_recv case the cleanup is skipped, leaving the reference count elevated. The caller ipmi_request_supply_msgs() does not release the supplied_recv on error, so the reference is permanently leaked. Fix this by explicitly reverting the reference count operations when a supplied recv_msg with a valid user pointer is present in the error path: decrement nr_msgs and drop the user's kref.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel6.12-modules-extra-commonAmazon Linux1:6.12.103-127.188.amzn2023
python3-perf6.18Amazon Linux1:6.18.41-94.142.amzn2023
bpftoolAmazon Linux1:6.1.186-228.374.amzn2023
kernelAmazon Linux1:6.1.186-228.374.amzn2023
kernel-toolsAmazon Linux1:6.1.186-228.374.amzn2023
python3-perf6.12Amazon Linux1:6.12.103-127.188.amzn2023
perf6.18Amazon Linux1:6.18.41-94.142.amzn2023
microvm-kernel6.18Amazon Linux1:6.18.41-94.142.amzn2023
perf6.12Amazon Linux1:6.12.103-127.188.amzn2023
kernel6.12-toolsAmazon Linux1:6.12.103-127.188.amzn2023
bpftool6.18Amazon Linux1:6.18.41-94.142.amzn2023
kernel6.18-headersAmazon Linux1:6.18.41-94.142.amzn2023

23 more packages have a fixed version. See every fix in Lookup.

Affected products

VendorProductVersions
LinuxLinuxf63723ca7d7623f9dae1990973cd158671f03c56, 348121b29594d42d1635648fd3ed31dfa25351d5, 53d6e403affbf6df2c859a0ea00ccfc1e72090ca
LinuxLinux6.18, 0, 6.1.184
amazon:2023kernel6.12-modules-extra-common0
amazon:2023python3-perf6.180
amazon:2023bpftool0
amazon:2023kernel0
amazon:2023kernel-tools0
amazon:2023python3-perf6.120
amazon:2023perf6.180
amazon:2023microvm-kernel6.180
amazon:2023perf6.120
amazon:2023kernel6.12-tools0
amazon:2023bpftool6.180
amazon:2023kernel6.18-headers0
amazon:2023kernel-modules-extra0
amazon:2023kernel6.18-tools-devel0
amazon:2023kernel-modules-extra-common0
amazon:2023kernel6.12-devel0
amazon:2023kernel6.18-tools0
amazon:2023kernel6.12-tools-devel0

…and 18 more

Timeline

  • Aug 15, 2026 Coalition ESS Score
  • Aug 15, 2026 CVE Published
  • Aug 19, 2026 Security Advisory
  • Aug 24, 2026 EPSS Score (15 in total, the first dated here)
  • Nov 6, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-72040
vulnetix vdb fixes CVE-2026-72040

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-72040/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›