CVE-2025-21945
Last modified
CVE-2025-21945 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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.. EPSS estimates a 0.18% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 5.15, < 6.1.131 | — |
| Linux | Linux Kernel | >= 6.2, < 6.6.83 | — |
| Linux | Linux Kernel | >= 6.7, < 6.12.19 | — |
| Linux | Linux Kernel | >= 6.13, < 6.13.7 | — |
| Linux | Linux Kernel | 6.14 | Rc1 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2025-21945?
How severe is CVE-2025-21945?
How do I fix CVE-2025-21945?
Are you affected by CVE-2025-21945?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
