# CVE-2025-38456: ipmi:msghandler: Fix potential memory corruption in ipmi_create_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.19%, higher than 9% of CVEs (2026-12-01)
- Published: 2025-07-25T15:27:35.559Z
- Modified: 2026-08-05T12:02:02.515Z
- Weaknesses: CWE-787
- Assigned by: Linux

## Description

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

ipmi:msghandler: Fix potential memory corruption in ipmi_create_user()

The "intf" list iterator is an invalid pointer if the correct
"intf->intf_num" is not found.  Calling atomic_dec(&intf->nr_users) on
and invalid pointer will lead to memory corruption.

We don't really need to call atomic_dec() if we haven't called
atomic_add_return() so update the if (intf->in_shutdown) path as well.

(As written by CVE List.)

## Affected

- Linux Linux: from 8e76741c3d8b20dfa2d6c30fa10ff927cfd93d82 before cbc1670297f675854e982d23c8583900ff0cc67a; from 8e76741c3d8b20dfa2d6c30fa10ff927cfd93d82 before e2d5c005dfc96fe857676d1d8ac46b29275cb89b; from 8e76741c3d8b20dfa2d6c30fa10ff927cfd93d82 before 9e0d33e75c1604c3fad5586ad4dfa3b2695a3950; from 8e76741c3d8b20dfa2d6c30fa10ff927cfd93d82 before 7c1a6ddb99858e7d68961f74ae27caeeeca67b6a; from 8e76741c3d8b20dfa2d6c30fa10ff927cfd93d82 before fa332f5dc6fc662ad7d3200048772c96b861cf6b; 5.19 (not affected: before 5.19; from 6.1.146 up to 6.1.*; from 6.6.99 up to 6.6.*; from 6.12.39 up to 6.12.*; from 6.15.7 up to 6.15.*; from 6.16 up to *)
- linux linux_kernel: from 5.19 before 6.1.146; from 6.2 before 6.6.99; from 6.7 before 6.12.39; from 6.13 before 6.15.7
- debian debian_linux: 11.0

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/cbc1670297f675854e982d23c8583900ff0cc67a> (patch)
- <https://git.kernel.org/stable/c/e2d5c005dfc96fe857676d1d8ac46b29275cb89b> (patch)
- <https://git.kernel.org/stable/c/9e0d33e75c1604c3fad5586ad4dfa3b2695a3950> (patch)
- <https://git.kernel.org/stable/c/7c1a6ddb99858e7d68961f74ae27caeeeca67b6a> (patch)
- <https://git.kernel.org/stable/c/fa332f5dc6fc662ad7d3200048772c96b861cf6b> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html> (third-party-advisory)

## Sources

- CVE List: [CVE-2025-38456](https://www.cve.org/CVERecord?id=CVE-2025-38456), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2025-38456](https://nvd.nist.gov/vuln/detail/CVE-2025-38456), Public domain, modified 2026-07-30

---

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