# CVE-2026-23322: ipmi: Fix use-after-free and list corruption on sender error

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

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.20% (percentile 5, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2026-03-25T10:27:15.954Z
- **Modified:** 2026-06-17T10:21:19.590Z

## Who should check

- Anyone running Linux \>= 9cf93a8fa9513c6d3cc65bdd50e05c1355cef322, \< c08ec55617cb9674a060a3392ea08391ab2a4f74; \>= 9cf93a8fa9513c6d3cc65bdd50e05c1355cef322, \< 65ff5d1e4410df05edfbeb7bf2d62f7681ce1d53; \>= 9cf93a8fa9513c6d3cc65bdd50e05c1355cef322, \< 594c11d0e1d445f580898a2b8c850f2e3f099368
- Anyone running Linux 6.18

## 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.

## Affected and fixed versions

- Linux: \>= 9cf93a8fa9513c6d3cc65bdd50e05c1355cef322, \< c08ec55617cb9674a060a3392ea08391ab2a4f74; \>= 9cf93a8fa9513c6d3cc65bdd50e05c1355cef322, \< 65ff5d1e4410df05edfbeb7bf2d62f7681ce1d53; \>= 9cf93a8fa9513c6d3cc65bdd50e05c1355cef322, \< 594c11d0e1d445f580898a2b8c850f2e3f099368 (cvelist)
- Linux: 6.18 (cvelist)

## Mitigation

- Upgrade Linux to 594c11d0e1d445f580898a2b8c850f2e3f099368 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-23322.md
Affected: Linux >= 9cf93a8fa9513c6d3cc65bdd50e05c1355cef322, < c08ec55617cb9674a060a3392ea08391ab2a4f74; >= 9cf93a8fa9513c6d3cc65bdd50e05c1355cef322, < 65ff5d1e4410df05edfbeb7bf2d62f7681ce1d53; >= 9cf93a8fa9513c6d3cc65bdd50e05c1355cef322, < 594c11d0e1d445f580898a2b8c850f2e3f099368; Linux 6.18
Fixed in: Linux 65ff5d1e4410df05edfbeb7bf2d62f7681ce1d53, Linux 594c11d0e1d445f580898a2b8c850f2e3f099368

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-23322 being exploited?

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

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

High: CVSS 7.8 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= 9cf93a8fa9513c6d3cc65bdd50e05c1355cef322, \< c08ec55617cb9674a060a3392ea08391ab2a4f74; \>= 9cf93a8fa9513c6d3cc65bdd50e05c1355cef322, \< 65ff5d1e4410df05edfbeb7bf2d62f7681ce1d53; \>= 9cf93a8fa9513c6d3cc65bdd50e05c1355cef322, \< 594c11d0e1d445f580898a2b8c850f2e3f099368; Linux 6.18.

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

Yes. Fixed in Linux 65ff5d1e4410df05edfbeb7bf2d62f7681ce1d53, Linux 594c11d0e1d445f580898a2b8c850f2e3f099368. Upgrade Linux to 594c11d0e1d445f580898a2b8c850f2e3f099368 or later.

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

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

- patch: <https://git.kernel.org/stable/c/c08ec55617cb9674a060a3392ea08391ab2a4f74>
- patch: <https://git.kernel.org/stable/c/65ff5d1e4410df05edfbeb7bf2d62f7681ce1d53>
- patch: <https://git.kernel.org/stable/c/594c11d0e1d445f580898a2b8c850f2e3f099368>

## 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-23322>

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