ipmi: fix refcount leak in i_ipmi_request()
Published Aug 15, 2026
5.5
MEDIUMCVSS 3.1
EPSS 0.21%
Description
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.
Affected products
-
- Version StatusaffectedConstraints-
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version
-
- Version 6.1.157StatusaffectedConstraints<6.1.184
- Version 6.12.54StatusaffectedConstraints<6.12.101
- Version 6.17.4StatusaffectedConstraints<6.18
- Version 6.6.113StatusaffectedConstraints<6.6.148
- Version
-
- Version 6.18StatusaffectedConstraints-
- Version 0StatusunaffectedConstraints<6.18
- Version 6.1.184StatusunaffectedConstraints<=6.1.*
- Version 6.12.101StatusunaffectedConstraints<=6.12.*
- Version 6.18.40StatusunaffectedConstraints<=6.18.*
- Version 6.6.148StatusunaffectedConstraints<=6.6.*
- Version 7.1.5StatusunaffectedConstraints<=7.1.*
- Version 7.2StatusunaffectedConstraints<=*
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Linux | Linux | unaffected |
| |||||||||||||||||||||||||||
| Linux | Linux | unaffected |
| |||||||||||||||||||||||||||
| Linux | Linux | affected |
|
No data.
No data.
Red Hat Enterprise Linux 10
kernel
Not affected
Red Hat Enterprise Linux 6
kernel
Not affected
Red Hat Enterprise Linux 7
kernel
Not affected
Red Hat Enterprise Linux 7
kernel-rt
Not affected
Red Hat Enterprise Linux 8
kernel
Not affected
Red Hat Enterprise Linux 8
kernel-rt
Not affected
Red Hat Enterprise Linux 9
kernel
Not affected
Red Hat Enterprise Linux 9
kernel-rt
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 10 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 6 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel-rt | Not affected | n/a |
| Red Hat Enterprise Linux 8 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 8 | kernel-rt | Not affected | n/a |
| Red Hat Enterprise Linux 9 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 9 | kernel-rt | Not affected | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
No CVSS v3.0 score for this CVE.
No CVSS v2.0 score for this CVE.
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 4, 2026.
Score over time
Aug-Oct 2026- EPSS v5
Percentile over time
- EPSS v5
Table of values (2 key points)
Flat stretches are collapsed. Showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 4, 2026 | 0.21% (0.00215) | 10.75th | v5 (v2026.06.15) |
| Aug 15, 2026 | 0.20% (0.00200) | 10.13th | v5 (v2026.06.15) |
References (11)
- https://access.redhat.com/security/cve/CVE-2026-72040 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2516592 Issue Tracking
- https://git.kernel.org/stable/c/0fd23994ec8c5436d9f0b50848deb87ed933e6b3
- https://git.kernel.org/stable/c/122ca6b2af714e114c9b872a48372ace31a9ab1f
- https://git.kernel.org/stable/c/9409e18ffe7378d202efe1cf69989df9f67b0369
- https://git.kernel.org/stable/c/a3f3859cecacb64f18fd446271ece9a3b3f2d4de
- https://git.kernel.org/stable/c/e2a3b77df6aef031455dd83ea8ed4344b7dca1f9
- https://git.kernel.org/stable/c/f5c5065963024390ddad51bd455d1adc710de575
- https://lore.kernel.org/linux-cve-announce/2026081513-CVE-2026-72040-aa8f@gregkh/T
- https://nvd.nist.gov/vuln/detail/CVE-2026-72040
- https://www.cve.org/CVERecord?id=CVE-2026-72040
Change history (0)
No recorded changes yet.