Memory disclosure and corruption via freed sampling buffers
Published Jan 11, 2025 · Updated Aug 5, 2026
Use-after-free in Linux kernel s390 CPUMF sampling allows local users to read or corrupt kernel memory during CPU hot removal. The cpumsf_pmu_stop path calls hw_perf_event_update after s390_pmu_sf_offline_cpu has freed the CPU sampling data buffers, so cleanup reads and writes memory that may already be reassigned. Reachability requires an active CPUM_SF perf event on IBM Z and a CPU-offline transition; the stale access can disclose or corrupt kernel memory or panic the system.
Summary
What happened
Use-after-free in Linux kernel s390 CPUMF sampling allows local users to read or corrupt kernel memory during CPU hot removal. The cpumsf_pmu_stop path calls hw_perf_event_update after s390_pmu_sf_offline_cpu has freed the CPU sampling data buffers, so cleanup reads and writes memory that may already be reassigned. Reachability requires an active CPUM_SF perf event on IBM Z and a CPU-offline transition; the stale access can disclose or corrupt kernel memory or panic the system.
The record
- CVE
- CVE-2024-57849
- Published
- Jan 11, 2025
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-416, T1499
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Jan 11, 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=4.8
- Affected versionversion=e3d617fe6ac7294974fc513dc5e4d8ada8080fd1 <06a92f810df8037ca36157282ddcbefdcaf049b8
- Affected versionversion=e3d617fe6ac7294974fc513dc5e4d8ada8080fd1 <238e3af849dfdcb1faed544349f7025e533f9aab
- Affected versionversion=e3d617fe6ac7294974fc513dc5e4d8ada8080fd1 <99192c735ed4bfdff0d215ec85c8a87a677cb898
- Affected versionversion=e3d617fe6ac7294974fc513dc5e4d8ada8080fd1 <a0bd7dacbd51c632b8e2c0500b479af564afadf3
- Affected versionversion=e3d617fe6ac7294974fc513dc5e4d8ada8080fd1 <a69752f1e5de817941a2ea0609254f6f25acd274
- Affected versionversion=e3d617fe6ac7294974fc513dc5e4d8ada8080fd1 <b5be6a0bb639d165c8418d8dddd8f322587be8be
- Affected versionversion=e3d617fe6ac7294974fc513dc5e4d8ada8080fd1 <be54e6e0f93a39a9c00478d70d12956a5f3d5b9b
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.
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