Skip to main content
← All vulnerabilities
CVE-2026-72042

ipmi: Fix user refcount underflow in event delivery

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.2, 6.7, 6.13, 6.18
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • Linux Linux

    From 6.1.157 · fixed in 6.2; From 6.6.113 · fixed in 6.7; From 6.12.54 · fixed in 6.13; From 6.17.4 · fixed in 6.18

  • Linux Linux

    6.18

References 3

git.kernel.org