# CVE-2026-72040: ipmi: fix refcount leak in i\_ipmi\_request()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 7, 2026-11-26)
- **Published:** 2026-08-15T05:51:59.975Z
- **Modified:** 2026-11-06T17:19:35.517Z

## Who should check

- Anyone running Linux \>= f63723ca7d7623f9dae1990973cd158671f03c56, \< 122ca6b2af714e114c9b872a48372ace31a9ab1f; \>= 348121b29594d42d1635648fd3ed31dfa25351d5, \< 9409e18ffe7378d202efe1cf69989df9f67b0369; \>= 53d6e403affbf6df2c859a0ea00ccfc1e72090ca, \< e2a3b77df6aef031455dd83ea8ed4344b7dca1f9; \>= b52da4054ee0bf9ecb44996f2c83236ff50b3812, \< f5c5065963024390ddad51bd455d1adc710de575; \>= b52da4054ee0bf9ecb44996f2c83236ff50b3812, \< 0fd23994ec8c5436d9f0b50848deb87ed933e6b3; \>= b52da4054ee0bf9ecb44996f2c83236ff50b3812, \< a3f3859cecacb64f18fd446271ece9a3b3f2d4de; 0ed73be9a2547ffb9b5c1d879ad9bfab73d920b5; \>= 6.1.157, \< 6.1.184; \>= 6.6.113, \< 6.6.148; \>= 6.12.54, \< 6.12.101; …
- Anyone running Linux 6.18

## Description

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.

## Affected and fixed versions

- Linux: \>= f63723ca7d7623f9dae1990973cd158671f03c56, \< 122ca6b2af714e114c9b872a48372ace31a9ab1f; \>= 348121b29594d42d1635648fd3ed31dfa25351d5, \< 9409e18ffe7378d202efe1cf69989df9f67b0369; \>= 53d6e403affbf6df2c859a0ea00ccfc1e72090ca, \< e2a3b77df6aef031455dd83ea8ed4344b7dca1f9; \>= b52da4054ee0bf9ecb44996f2c83236ff50b3812, \< f5c5065963024390ddad51bd455d1adc710de575; \>= b52da4054ee0bf9ecb44996f2c83236ff50b3812, \< 0fd23994ec8c5436d9f0b50848deb87ed933e6b3; \>= b52da4054ee0bf9ecb44996f2c83236ff50b3812, \< a3f3859cecacb64f18fd446271ece9a3b3f2d4de; 0ed73be9a2547ffb9b5c1d879ad9bfab73d920b5; \>= 6.1.157, \< 6.1.184; \>= 6.6.113, \< 6.6.148; \>= 6.12.54, \< 6.12.101; … (cvelist)
- Linux: 6.18 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-72040. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-72040.md
Affected: Linux >= f63723ca7d7623f9dae1990973cd158671f03c56, < 122ca6b2af714e114c9b872a48372ace31a9ab1f; >= 348121b29594d42d1635648fd3ed31dfa25351d5, < 9409e18ffe7378d202efe1cf69989df9f67b0369; >= 53d6e403affbf6df2c859a0ea00ccfc1e72090ca, < e2a3b77df6aef031455dd83ea8ed4344b7dca1f9; >= b52da4054ee0bf9ecb44996…
Fixed in: Linux 122ca6b2af714e114c9b872a48372ace31a9ab1f, Linux 9409e18ffe7378d202efe1cf69989df9f67b0369, Linux 0fd23994ec8c5436d9f0b50848deb87ed933e6b3, Linux 6.1.184, Linux 6.6.148, Linux 6.12.101

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-72040 being exploited?

There is no confirmed exploitation: CVE-2026-72040 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-72040?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-72040?

Linux \>= f63723ca7d7623f9dae1990973cd158671f03c56, \< 122ca6b2af714e114c9b872a48372ace31a9ab1f; \>= 348121b29594d42d1635648fd3ed31dfa25351d5, \< 9409e18ffe7378d202efe1cf69989df9f67b0369; \>= 53d6e403affbf6df2c859a0ea00ccfc1e72090ca, \< e2a3b77df6aef031455dd83ea8ed4344b7dca1f9; \>= b52da4054ee0bf9ecb44996f2c83236ff50b3812, \< f5c5065963024390ddad51bd455d1adc710de575; \>= b52da4054ee0bf9ecb44996f2c83236ff50b3812, \< 0fd23994ec8c5436d9f0b50848deb87ed933e6b3; \>= b52da4054ee0bf9ecb44996f2c83236ff50b3812, \< a3f3859cecacb64f18fd446271ece9a3b3f2d4de; 0ed73be9a2547ffb9b5c1d879ad9bfab73d920b5; \>= 6.1.157, \< 6.1.184; \>= 6.6.113, \< 6.6.148; \>= 6.12.54, \< 6.12.101; …; Linux 6.18.

### Is there a fix for CVE-2026-72040?

Yes. Fixed in Linux 122ca6b2af714e114c9b872a48372ace31a9ab1f, Linux 9409e18ffe7378d202efe1cf69989df9f67b0369, Linux 0fd23994ec8c5436d9f0b50848deb87ed933e6b3, Linux 6.1.184, Linux 6.6.148, Linux 6.12.101. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-72040?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/122ca6b2af714e114c9b872a48372ace31a9ab1f>
- other: <https://git.kernel.org/stable/c/9409e18ffe7378d202efe1cf69989df9f67b0369>
- other: <https://git.kernel.org/stable/c/e2a3b77df6aef031455dd83ea8ed4344b7dca1f9>
- other: <https://git.kernel.org/stable/c/f5c5065963024390ddad51bd455d1adc710de575>
- other: <https://git.kernel.org/stable/c/0fd23994ec8c5436d9f0b50848deb87ed933e6b3>
- other: <https://git.kernel.org/stable/c/a3f3859cecacb64f18fd446271ece9a3b3f2d4de>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-72040>

HTML: <https://flawdb.com/CVE-2026-72040> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-72040>
