CVE-2025-40062

Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
28/10/2025
Last modified:
30/10/2025

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> crypto: hisilicon/qm - set NULL to qm-&gt;debug.qm_diff_regs<br /> <br /> When the initialization of qm-&gt;debug.acc_diff_reg fails,<br /> the probe process does not exit. However, after qm-&gt;debug.qm_diff_regs is<br /> freed, it is not set to NULL. This can lead to a double free when the<br /> remove process attempts to free it again. Therefore, qm-&gt;debug.qm_diff_regs<br /> should be set to NULL after it is freed.

Impact