CVE-2026-72042
ipmi: Fix user refcount underflow in event delivery
Check your servers for CVE-2026-72042
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-72042 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
In the Linux kernel, the following vulnerability has been resolved:
ipmi: Fix user refcount underflow in event delivery
ipmi_alloc_recv_msg(user) takes the temporary user reference owned by the receive message, and ipmi_free_recv_msg() drops it again. If event delivery fails after allocating receive messages for earlier users, handle_read_event_rsp() rolls those messages back with ipmi_free_recv_msg().
That rollback path still drops user->refcount explicitly after freeing each message. The extra put can free a user that remains linked on intf->users, so later event delivery may dereference a freed user or trip refcount_t's addition-on-zero warning when ipmi_alloc_recv_msg() tries to acquire another reference.
Remove the stale explicit put and the now-dead user assignment. Keep the list_del() and ipmi_free_recv_msg() calls; they are the required rollback operations.
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.16%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 5.58% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from b52da4054ee0bf9ecb44996f2c83236ff50b3812, before ddbb6e3dc9bb4743de686aa1598c31e745cee76b affected from b52da4054ee0bf9ecb44996f2c83236ff50b3812, before 7be349d4fcc5e065295b83418a22d27a68afbdb6 affected from b52da4054ee0bf9ecb44996f2c83236ff50b3812, before 6aa9e61c46465d231e9beddf56af7effd71be682 affected f63723ca7d7623f9dae1990973cd158671f03c56 affected 348121b29594d42d1635648fd3ed31dfa25351d5 affected 53d6e403affbf6df2c859a0ea00ccfc1e72090ca affected 0ed73be9a2547ffb9b5c1d879ad9bfab73d920b5 affected from 6.1.157, before 6.2 affected from 6.6.113, before 6.7 affected from 6.12.54, before 6.13 affected from 6.17.4, before 6.18
Other versions: unaffected
|
| Linux |
affected 6.18 unaffected before 6.18 unaffected from 6.18.40 up to and including 6.18.* unaffected from 7.1.5 up to and including 7.1.* unaffected 7.2 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-72042 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-72042
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-72042
trivy image --scanners vuln IMAGE | grep CVE-2026-72042
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/ddbb6e3dc9bb4743de686aa1598c31e745cee76b git.kernel.org
- https://git.kernel.org/stable/c/7be349d4fcc5e065295b83418a22d27a68afbdb6 git.kernel.org
- https://git.kernel.org/stable/c/6aa9e61c46465d231e9beddf56af7effd71be682 git.kernel.org
Source: the record CVE-2026-72042 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse