CVE Catalog

CVE-2025-21945

HighCVSS 8.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.48%

39th percentile - higher than 39% of all known CVEs

Summary

In the Linux kernel's ksmbd module (SMB server), a use-after-free vulnerability exists in the smb2_lock function. When smb_lock->zero_len has a value, the llist is not deleted and flock remains old, leading to use-after-free during error handling.

Risk Assessment

The organization is at risk of SMB server crashes and potential data integrity issues due to improper file lock management.

Recommendation

Update the Linux kernel to a version that properly deletes the llist and updates flock when the lock has zero length.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix use-after-free in smb2_lock If smb_lock->zero_len has value, ->llist of smb_lock is not delete and flock is old one. It will cause use-after-free on error handling routine.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS