CVE-2026-23322
publishedipmi: Fix use-after-free and list corruption on sender error
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux9cf93a8fa9513c6d3cc65bdd50e05c1355cef322 to < c08ec55617cb9674a060a3392ea08391ab2a4f74 · 9cf93a8fa9513c6d3cc65bdd50e05c1355cef322 to < 65ff5d1e4410df05edfbeb7bf2d62f7681ce1d53 · 9cf93a8fa9513c6d3cc65bdd50e05c1355cef322 to < 594c11d0e1d445f580898a2b8c850f2e3f099368 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.18 (affected) · 0 to < 6.18 (unaffected · semver) · 6.18.17 through 6.18.* (unaffected · semver) · 6.19.7 through 6.19.* (unaffected · semver) · 7.0 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1596 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | kernel6.18aarch64 | Listed in advisory | Not stated | ALAS2023-2026-1596 |
| Amazon Linux | AL2023 | kernel6.18src | Listed in advisory | Not stated | ALAS2023-2026-1596 |
| Amazon Linux | AL2023 | kernel6.18x86_64 | Listed in advisory | Not stated | ALAS2023-2026-1596 |
Description
In the Linux kernel, the following vulnerability has been resolved: ipmi: Fix use-after-free and list corruption on sender error The analysis from Breno: When the SMI sender returns an error, smi_work() delivers an error response but then jumps back to restart without cleaning up properly: 1. intf->curr_msg is not cleared, so no new message is pulled 2. newmsg still points to the message, causing sender() to be called again with the same message 3. If sender() fails again, deliver_err_response() is called with the same recv_msg that was already queued for delivery This causes list_add corruption ("list_add double add") because the recv_msg is added to the user_msgs list twice. Subsequently, the corrupted list leads to use-after-free when the memory is freed and reused, and eventually a NULL pointer dereference when accessing recv_msg->done. The buggy sequence: sender() fails -> deliver_err_response(recv_msg) // recv_msg queued for delivery -> goto restart // curr_msg not cleared! sender() fails again (same message!) -> deliver_err_response(recv_msg) // tries to queue same recv_msg -> LIST CORRUPTION Fix this by freeing the message and setting it to NULL on a send error. Also, always free the newmsg on a send error, otherwise it will leak.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 9cf93a8fa9513c6d3cc65bdd50e05c1355cef322 to < c08ec55617cb9674a060a3392ea08391ab2a4f74 (affected · git)9cf93a8fa9513c6d3cc65bdd50e05c1355cef322 to < 65ff5d1e4410df05edfbeb7bf2d62f7681ce1d53 (affected · git)9cf93a8fa9513c6d3cc65bdd50e05c1355cef322 to < 594c11d0e1d445f580898a2b8c850f2e3f099368 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.18 (affected)0 to < 6.18 (unaffected · semver)6.18.17 through 6.18.* (unaffected · semver)6.19.7 through 6.19.* (unaffected · semver)7.0 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
3Provider assertions
1Linux · cna
ipmi: Fix use-after-free and list corruption on sender error
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 7d815335977c9b81779fa09113d43ca9c4e0293b3674d0b29b9578110cb42b82
- Ingested
- 23 Sep 2026, 09:05:46 UTC
- Source record
- Official CVE record