Host crash via stale debugfs pointer reuse
Published Apr 10, 2024 · Updated Aug 5, 2026
Resource teardown flaw in the Linux kernel mlx5 driver allows local users to crash the host by repeatedly destroying a completion queue. mlx5_debug_cq_remove() removes cq->dbg but leaves the pointer non-null, so a second mlx5_core_destroy_cq() call after a failed firmware command reuses it during debugfs removal. Local access to mlx5 userspace verbs and a failed firmware destroy command are required; the demonstrated consequence is a kernel crash.
Summary
What happened
Resource teardown flaw in the Linux kernel mlx5 driver allows local users to crash the host by repeatedly destroying a completion queue. mlx5_debug_cq_remove() removes cq->dbg but leaves the pointer non-null, so a second mlx5_core_destroy_cq() call after a failed firmware command reuses it during debugfs removal. Local access to mlx5 userspace verbs and a failed firmware destroy command are required; the demonstrated consequence is a kernel crash.
The record
- CVE
- CVE-2021-47197
- Published
- Apr 10, 2024
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1499.004
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Apr 10, 2024CVE 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=4f7bddf8c5c01cac74373443b13a68e1c6723a94 <471c492890557bd58f73314bb4ad85d5a8fd5026
- Affected versionversion=5.10.75 <5.10.82
- Affected versionversion=5.14.14 <5.15
- Affected versionversion=5.15
- Affected versionversion=94b960b9deffc02fc0747afc01f72cc62ab099e3 <2ae38157080616a13a9fe3f0b4b6ec0070aa408a
- Affected versionversion=94b960b9deffc02fc0747afc01f72cc62ab099e3 <76ded29d3fcda4928da8849ffc446ea46871c1c2
- Affected versionversion=ed8aafea4fec9c654e63445236e0b505e27ed3a7
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