CVE-2025-38456

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

State
Published
Severity
7.8 High
Published
Jul 25, 2025
Updated
Aug 5, 2026
Reserved
Apr 16, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 8e76741c3d8b20dfa2d6c30fa10ff927cfd93d82 to before cbc1670297f675854e982d23c8583900ff0cc67aAffected
  • 8e76741c3d8b20dfa2d6c30fa10ff927cfd93d82 to before e2d5c005dfc96fe857676d1d8ac46b29275cb89bAffected
  • 8e76741c3d8b20dfa2d6c30fa10ff927cfd93d82 to before 9e0d33e75c1604c3fad5586ad4dfa3b2695a3950Affected
  • 8e76741c3d8b20dfa2d6c30fa10ff927cfd93d82 to before 7c1a6ddb99858e7d68961f74ae27caeeeca67b6aAffected
  • 8e76741c3d8b20dfa2d6c30fa10ff927cfd93d82 to before fa332f5dc6fc662ad7d3200048772c96b861cf6bAffected
LinuxLinux
  • 5.19Affected
  • before 5.19Not affected
  • 6.1.146 through 6.1.*Not affected
  • 6.6.99 through 6.6.*Not affected
  • 6.12.39 through 6.12.*Not affected
  • 6.15.7 through 6.15.*Not affected
  • 6.16 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.