CVE-2025-40062

Not scored yetLast modified Oct 19, 2026

Description

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.

Metrics

No CVSS score has been published yet.

Affected software

VendorProductVersions
LinuxLinux>= eda60520cfe3aba9f088c68ebd5bcbca9fc6ac3c, < a7836260d5121949ba734e840d42a86ab4a32fcc; >= 7fc8d9a525b5c3f8dfa5ed50901e764d8ede7e1e, < 1750f1ec143ebabdbdfa013668665c9d5042c430; >= 8be0913389718e8d27c4f1d4537b5e1b99ed7739, < a87a21a56244b8f4eb357f6bad879247005bbe38; >= 8be0913389718e8d27c4f1d4537b5e1b99ed7739, < 7226a0650ad5705bd8d39a11be270fa21ed1e6a5; >= 8be0913389718e8d27c4f1d4537b5e1b99ed7739, < f0cafb02de883b3b413d34eb079c9680782a9cc1; e0a2d2df9ba7bd6bd7e0a9b6a5e3894f7e8445b3; >= 6.1.98, < 6.1.156; >= 6.6.39, < 6.6.112; >= 6.9.9, < 6.10
LinuxLinux6.10

References

Timeline

Published
Oct 28, 2025
Last modified
Oct 19, 2026
NVD status
Deferred

Related CVEs from 2025

CVE-2025-400637.0In the Linux kernel, the following vulnerability has been resolved: crypto: comp - Use same definition of context alloc and free ops In coCVE-2025-400647.8In the Linux kernel, the following vulnerability has been resolved: smc: Fix use-after-free in __pnet_find_base_ndev(). syzbot reported usCVE-2025-40065In the Linux kernel, the following vulnerability has been resolved: RISC-V: KVM: Write hgatp register with valid mode bits According to thCVE-2025-40066In the Linux kernel, the following vulnerability has been resolved: wifi: mt76: mt7996: Check phy before init msta_link in mt7996_mac_sta_aCVE-2025-400677.8In the Linux kernel, the following vulnerability has been resolved: fs/ntfs3: reject index allocation if $BITMAP is empty but blocks exist CVE-2025-400688.4In the Linux kernel, the following vulnerability has been resolved: fs: ntfs3: Fix integer overflow in run_unpack() The MFT record relativCVE-2025-400697.8In the Linux kernel, the following vulnerability has been resolved: drm/msm: Fix obj leak in VM_BIND error path If we fail a handle-lookupCVE-2025-40078.8A vulnerability classified as critical was found in Tenda W12 and i24 3.0.0.4(2887)/3.0.0.5(3644). Affected by this vulnerability is the funCVE-2025-40070In the Linux kernel, the following vulnerability has been resolved: pps: fix warning in pps_register_cdev when register device fail SimilaCVE-2025-40071In the Linux kernel, the following vulnerability has been resolved: tty: n_gsm: Don't block input queue by waiting MSC Currently gsm_queueCVE-2025-40072In the Linux kernel, the following vulnerability has been resolved: fanotify: Validate the return value of mnt_ns_from_dentry() before dereCVE-2025-40073In the Linux kernel, the following vulnerability has been resolved: drm/msm: Do not validate SSPP when it is not ready Current code will v
CVE-2025-40062: Unscored | Vulnix