7.8high
ipmi:msghandler: Fix potential memory corruption in ipmi_create_user()
- Severity
- 7.8high CVSS:3.1 by Linux
- Exploit likelihood
- 0.19% (higher than 9% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| 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 * | CVE List |
| 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 | NVD |
| debian debian_linux | 11.0 | NVD |
All scores
| Linux | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: ipmi:msghandler: Se corrige una posible corrupción de memoria en ipmi_create_user(). El iterador de lista "intf" es un puntero no válido si no se encuentra el valor correcto "intf->intf_num". Llamar a atomic_dec(&intf->nr_users) en un puntero no válido provocará corrupción de memoria. No es necesario llamar a atomic_dec() si no se ha llamado a atomic_add_return(), así que actualice también la ruta if (intf->in_shutdown).
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-38456 changed 2026-08-05 | CVE Terms of Use |
| NVD | CVE-2025-38456 changed 2026-07-30 | Public domain |