
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-21945 is a use-after-free vulnerability discovered in the Linux kernel's ksmbd component, specifically in the smb2_lock functionality. The vulnerability was disclosed on April 1, 2025, and affects multiple versions of the Linux kernel. The issue occurs when smb_lock->zero_len has a value, causing ->llist of smb_lock to not be deleted while flock remains as an old instance (NVD, CVE).
The vulnerability has been assigned a CVSS v3.1 Base Score of 7.8 (HIGH) with the vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. It is classified as CWE-416 (Use After Free). The affected versions include Linux kernel 6.14-rc1 through rc5, versions from 6.13 up to 6.13.7, versions from 5.15 up to 6.1.131, versions from 6.2 up to 6.6.83, and versions from 6.7 up to 6.12.19 (NVD).
The vulnerability has received a High severity rating due to its potential impact on system security. With a CVSS score of 7.8, it indicates significant potential for confidentiality, integrity, and availability compromises if successfully exploited (NVD).
Multiple patches have been released to address this vulnerability. Debian has released fixes in version 6.1.133-1 for bookworm and 6.12.22-1 for sid. The bullseye release is not affected as the vulnerable code is not present. Users are advised to update their systems to the latest patched versions (Debian).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."