Kernel service interruption via Hisilicon QM double free
Published Oct 28, 2025 · Updated Oct 28, 2025
Double free in the Hisilicon QM debugfs code in Linux allows local users to interrupt kernel availability during device removal. If acc_diff_reg initialization fails, the probe path frees qm->debug.qm_diff_regs without clearing it, and the remove path frees the stale pointer again. Exploitation requires low-privileged local access and the initialization-failure and device-removal sequence; published evidence reports availability impact only.
Summary
What happened
Double free in the Hisilicon QM debugfs code in Linux allows local users to interrupt kernel availability during device removal. If acc_diff_reg initialization fails, the probe path frees qm->debug.qm_diff_regs without clearing it, and the remove path frees the stale pointer again. Exploitation requires low-privileged local access and the initialization-failure and device-removal sequence; published evidence reports availability impact only.
The record
- CVE
- CVE-2025-40062
- Published
- Oct 28, 2025
- Updated
- Oct 28, 2025
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1499.004
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Oct 28, 2025CVE publishedPublication date reported by the CVE source.
- Oct 28, 2025Record 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=6.10
- Affected versionversion=7fc8d9a525b5c3f8dfa5ed50901e764d8ede7e1e <1750f1ec143ebabdbdfa013668665c9d5042c430
- Affected versionversion=8be0913389718e8d27c4f1d4537b5e1b99ed7739 <7226a0650ad5705bd8d39a11be270fa21ed1e6a5
- Affected versionversion=8be0913389718e8d27c4f1d4537b5e1b99ed7739 <a87a21a56244b8f4eb357f6bad879247005bbe38
- Affected versionversion=8be0913389718e8d27c4f1d4537b5e1b99ed7739 <f0cafb02de883b3b413d34eb079c9680782a9cc1
- Affected versionversion=e0a2d2df9ba7bd6bd7e0a9b6a5e3894f7e8445b3
- Affected versionversion=eda60520cfe3aba9f088c68ebd5bcbca9fc6ac3c <a7836260d5121949ba734e840d42a86ab4a32fcc
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