CVE-2024-47730: crypto: hisilicon/qm - inject error before stopping queue
In the Linux kernel, the following vulnerability has been resolved:
crypto: hisilicon/qm - inject error before stopping queue
The master ooo cannot be completely closed when the
accelerator core reports memory error. Therefore, the driver
needs to inject the qm error to close the master ooo. Currently,
the qm error is injected after stopping queue, memory may be
released immediately after stopping queue, causing the device to
access the released memory. Therefore, error is injected to close master
ooo before stopping queue to ensure that the device does not access
the released memory.
Security readout for executives and security teams
Plain-English summary
A Linux driver flaw affecting certain HiSilicon cryptographic accelerators can let hardware access memory after the driver releases it during memory-error handling. This could expose or corrupt data or crash the system. Exploitation requires local access, privileges, specific hardware and driver use, and difficult timing or conditions.
Executive priority
Treat this as a targeted high-priority kernel update, not an internet-wide emergency. Promptly identify workloads using relevant HiSilicon accelerators, then patch exposed multi-user or untrusted-workload systems first. Current sources do not support emergency action based on active exploitation.
Technical view
The hisilicon/qm driver stopped a queue before injecting the QM error needed to close the master out-of-order engine. Because stopping the queue can immediately release memory, the still-active device may access freed memory. The kernel fix reverses this sequence, injecting the error before stopping the queue.
Likely exposure
Exposure is limited to systems using the affected Linux kernel code with a relevant HiSilicon QM-based accelerator. The listed affected versions span multiple kernel branches, but distribution backports may change status. Systems without the hardware or active driver path are unlikely to be practically exposed.
Exploitation context
The CVSS 3.1 score is 7.0, with local access, low privileges, high complexity, and no user interaction. Potential confidentiality, integrity, and availability impacts are rated high. The bundle marks this CVE as absent from KEV and provides no evidence of active exploitation or a public exploit.
Researcher notes
This is an error-path ordering flaw with device access to released memory, resembling a hardware-mediated use-after-free condition; no CWE is supplied. Practical assessment should confirm hardware presence, driver reachability, local privilege requirements, memory-error triggering conditions, and whether downstream kernels backported one of the referenced stable commits.
Mitigation direction
Upgrade to a vendor-supported kernel containing the applicable stable fix.
Check distribution advisories because patched package versions may differ from upstream kernel versions.
Confirm vendor guidance before disabling or changing use of the affected accelerator.
Prioritize systems where untrusted local users can access accelerator-backed workloads.
Validation and detection
Inventory systems using HiSilicon QM-based cryptographic accelerator hardware and its Linux driver.
Record exact kernel and distribution package versions on potentially exposed systems.
Verify the installed kernel includes the applicable upstream fix or distribution backport.
Confirm the corrected code injects the QM error before stopping the queue.
Review relevant kernel and accelerator logs for memory-error or queue-failure events.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cve · low confidence lookup
CVE-2024-47730 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.