Bug 2356674 (CVE-2025-21944) - CVE-2025-21944 kernel: ksmbd: fix bug on trap in smb2_lock
Summary: CVE-2025-21944 kernel: ksmbd: fix bug on trap in smb2_lock
Keywords:
Status: NEW
Alias: CVE-2025-21944
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-04-01 16:05 UTC by OSIDB Bzimport
Modified: 2025-04-02 02:24 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:05:27 UTC
In the Linux kernel, the following vulnerability has been resolved:

ksmbd: fix bug on trap in smb2_lock

If lock count is greater than 1, flags could be old value.
It should be checked with flags of smb_lock, not flags.
It will cause bug-on trap from locks_free_lock in error handling
routine.


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