VDB
DEBIAN-CVE-2025-40062
DEBIAN-CVE-2025-40062
PUBLISHED
CVSS 9.300000190734863 CRITICAL
In the Linux kernel, the following vulnerability has been resolved: crypto: hisilicon/qm - set NULL to qm->debug.qm_diff_regs When the initialization of qm->debug.acc_diff_reg fails, the probe process does not exit. However, after qm->debug.qm_diff_regs is freed, it is not set to NULL. This can lead to a double free when the remove process attempts to free it again. Therefore, qm->debug.qm_diff_regs should be set to NULL after it is freed.
Risk Scores
CVSS v4.0
9.300000190734863
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Debian:11 | linux-6.1 | 0, *, * |
| Debian:13 | linux | 6.12.38-1, 6.12.57-1, 6.12.48-1 |
| Debian:12 | linux | 6.1.94-1, 0, 6.1.106-2 |
| Debian:14 | linux | 6.15.4-1~exp1, 6.15.3-1~exp1, 6.15.2-1~exp1 |
Timeline
- Oct 28, 2025 CVE Published
- Apr 28, 2026 CVE Updated