Kernel data disclosure or panic via dangling cpumask
Published May 1, 2025 · Updated Aug 5, 2026
Use-after-free in the Linux stmmac PCI MSI path allows local users to leak kernel data or panic the system through procfs. stmmac_request_irq_multi_msi passes its stack-local cpu_mask to irq_set_affinity_hint, which retains the pointer after the function returns. Only platforms using stmmac with PCI MSI are affected; reading the world-readable affinity hint can expose reused kernel memory or trigger an oops or panic.
Summary
What happened
Use-after-free in the Linux stmmac PCI MSI path allows local users to leak kernel data or panic the system through procfs. stmmac_request_irq_multi_msi passes its stack-local cpu_mask to irq_set_affinity_hint, which retains the pointer after the function returns. Only platforms using stmmac with PCI MSI are affected; reading the world-readable affinity hint can expose reused kernel memory or trigger an oops or panic.
The record
- CVE
- CVE-2025-23155
- Published
- May 1, 2025
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1499.004
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- May 1, 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.13
- Affected versionversion=8deec94c6040bb4a767f6e9456a0a44c7f2e713e <2fbf67ddb8a0d0efc00d2df496a9843ec318d48b
- Affected versionversion=8deec94c6040bb4a767f6e9456a0a44c7f2e713e <442312c2a90d60c7a5197246583fa91d9e579985
- Affected versionversion=8deec94c6040bb4a767f6e9456a0a44c7f2e713e <960dab23f6d405740c537d095f90a4ee9ddd9285
- Affected versionversion=8deec94c6040bb4a767f6e9456a0a44c7f2e713e <9e51a6a44e2c4de780a26e8fe110d708e806a8cd
- Affected versionversion=8deec94c6040bb4a767f6e9456a0a44c7f2e713e <c60d101a226f18e9a8f01bb4c6ca2b47dfcb15ef
- Affected versionversion=8deec94c6040bb4a767f6e9456a0a44c7f2e713e <e148266e104fce396ad624079a6812ac3a9982ef
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