Bug 2356625 (CVE-2025-21945) - CVE-2025-21945 kernel: ksmbd: fix use-after-free in smb2_lock
Summary: CVE-2025-21945 kernel: ksmbd: fix use-after-free in smb2_lock
Keywords:
Status: NEW
Alias: CVE-2025-21945
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-04-01 16:03 UTC by OSIDB Bzimport
Modified: 2025-04-11 10:07 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-04-01 16:03:16 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.