Kernel memory corruption via IPMI use-after-free
Published Nov 12, 2025 · Updated Aug 5, 2026
Use-after-free in the Linux kernel's IPMI message handler allows local users to corrupt kernel memory through device ioctls. ipmi_free_recv_msg() releases a received message before nr_msgs is decremented through msg->user, while other paths decrement without a matching increment. Access to /dev/ipmiN is required; counter underflow can reject further IPMI requests, while stale-pointer reuse can expose or alter kernel data.
Summary
What happened
Use-after-free in the Linux kernel's IPMI message handler allows local users to corrupt kernel memory through device ioctls. ipmi_free_recv_msg() releases a received message before nr_msgs is decremented through msg->user, while other paths decrement without a matching increment. Access to /dev/ipmiN is required; counter underflow can reject further IPMI requests, while stale-pointer reuse can expose or alter kernel data.
The record
- CVE
- CVE-2025-40202
- Published
- Nov 12, 2025
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Nov 12, 2025CVE publishedPublication date reported by the CVE source.
- Aug 5, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=5.19
- Affected versionversion=8e76741c3d8b20dfa2d6c30fa10ff927cfd93d82 <0ed73be9a2547ffb9b5c1d879ad9bfab73d920b5
- Affected versionversion=8e76741c3d8b20dfa2d6c30fa10ff927cfd93d82 <348121b29594d42d1635648fd3ed31dfa25351d5
- Affected versionversion=8e76741c3d8b20dfa2d6c30fa10ff927cfd93d82 <53d6e403affbf6df2c859a0ea00ccfc1e72090ca
- Affected versionversion=8e76741c3d8b20dfa2d6c30fa10ff927cfd93d82 <b52da4054ee0bf9ecb44996f2c83236ff50b3812
- Affected versionversion=8e76741c3d8b20dfa2d6c30fa10ff927cfd93d82 <f63723ca7d7623f9dae1990973cd158671f03c56
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo