CVE-2026-72040
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel6.12-modules-extra-common | Amazon Linux | 1:6.12.103-127.188.amzn2023 |
| python3-perf6.18 | Amazon Linux | 1:6.18.41-94.142.amzn2023 |
| bpftool | Amazon Linux | 1:6.1.186-228.374.amzn2023 |
| kernel | Amazon Linux | 1:6.1.186-228.374.amzn2023 |
| kernel-tools | Amazon Linux | 1:6.1.186-228.374.amzn2023 |
| python3-perf6.12 | Amazon Linux | 1:6.12.103-127.188.amzn2023 |
| perf6.18 | Amazon Linux | 1:6.18.41-94.142.amzn2023 |
| microvm-kernel6.18 | Amazon Linux | 1:6.18.41-94.142.amzn2023 |
| perf6.12 | Amazon Linux | 1:6.12.103-127.188.amzn2023 |
| kernel6.12-tools | Amazon Linux | 1:6.12.103-127.188.amzn2023 |
| bpftool6.18 | Amazon Linux | 1:6.18.41-94.142.amzn2023 |
| kernel6.18-headers | Amazon Linux | 1:6.18.41-94.142.amzn2023 |
23 more packages have a fixed version. See every fix in Lookup.
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | f63723ca7d7623f9dae1990973cd158671f03c56, 348121b29594d42d1635648fd3ed31dfa25351d5, 53d6e403affbf6df2c859a0ea00ccfc1e72090ca |
| Linux | Linux | 6.18, 0, 6.1.184 |
| amazon:2023 | kernel6.12-modules-extra-common | 0 |
| amazon:2023 | python3-perf6.18 | 0 |
| amazon:2023 | bpftool | 0 |
| amazon:2023 | kernel | 0 |
| amazon:2023 | kernel-tools | 0 |
| amazon:2023 | python3-perf6.12 | 0 |
| amazon:2023 | perf6.18 | 0 |
| amazon:2023 | microvm-kernel6.18 | 0 |
| amazon:2023 | perf6.12 | 0 |
| amazon:2023 | kernel6.12-tools | 0 |
| amazon:2023 | bpftool6.18 | 0 |
| amazon:2023 | kernel6.18-headers | 0 |
| amazon:2023 | kernel-modules-extra | 0 |
| amazon:2023 | kernel6.18-tools-devel | 0 |
| amazon:2023 | kernel-modules-extra-common | 0 |
| amazon:2023 | kernel6.12-devel | 0 |
| amazon:2023 | kernel6.18-tools | 0 |
| amazon:2023 | kernel6.12-tools-devel | 0 |
…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