# CVE-2026-89486: ipmi: Fix use-after-free of cmd_rcvr in _ipmi_destroy_user()

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.12%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-09-11T19:43:40.116Z
- Modified: 2026-10-19T09:17:42.180Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

ipmi: Fix use-after-free of cmd_rcvr in _ipmi_destroy_user()

Commit 9e91f8a6c868 ("ipmi:msghandler: Remove srcu for the
ipmi_interfaces list") dropped the synchronize_rcu() between unlinking
the command receivers from intf->cmd_rcvrs and freeing them, updating
only the comment that explains why the barrier is needed.

The cmd_rcvrs list is still traversed under plain RCU: find_cmd_rcvr()
walks it inside rcu_read_lock(), and handle_ipmb_get_msg_cmd() borrows
rcvr->user from that lookup within the same read-side section. Without
the grace period, _ipmi_destroy_user() can kfree() a cmd_rcvr while a
reader still holds a pointer to it, causing a use-after-free.

The rework only made srcu unnecessary for the interfaces list; the
cmd_rcvrs list still relies on plain RCU. Restore the synchronize_rcu()
before freeing the receivers.

(As written by CVE List.)

## Affected

- Linux Linux: from 9e91f8a6c8688e27f4ccce7db457da87d6458836 before 3088e41292fecf132f85f79af5ee4d620b9ff1b4; from 9e91f8a6c8688e27f4ccce7db457da87d6458836 before 5dc0b2a9af95a97861c1bffaf1687a3173e395c5; from 9e91f8a6c8688e27f4ccce7db457da87d6458836 before 05ec76cfbce653e07cec19b9b8b20e33449d5d87; 6.16 (not affected: before 6.16; from 6.18.50 up to 6.18.*; from 7.2.4 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/3088e41292fecf132f85f79af5ee4d620b9ff1b4>
- <https://git.kernel.org/stable/c/5dc0b2a9af95a97861c1bffaf1687a3173e395c5>
- <https://git.kernel.org/stable/c/05ec76cfbce653e07cec19b9b8b20e33449d5d87>

## Sources

- CVE List: [CVE-2026-89486](https://www.cve.org/CVERecord?id=CVE-2026-89486), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-89486](https://nvd.nist.gov/vuln/detail/CVE-2026-89486), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-89486 · Whole record: https://cve.day/CVE-2026-89486.json · Rebuilt by cve.day 2026-11-25T22:59:38.036Z
