Bug 2356631 (CVE-2025-21946) - CVE-2025-21946 kernel: ksmbd: fix out-of-bounds in parse_sec_desc()
Summary: CVE-2025-21946 kernel: ksmbd: fix out-of-bounds in parse_sec_desc()
Keywords:
Status: NEW
Alias: CVE-2025-21946
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:03 UTC by OSIDB Bzimport
Modified: 2025-04-02 02: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:29 UTC
In the Linux kernel, the following vulnerability has been resolved:

ksmbd: fix out-of-bounds in parse_sec_desc()

If osidoffset, gsidoffset and dacloffset could be greater than smb_ntsd
struct size. If it is smaller, It could cause slab-out-of-bounds.
And when validating sid, It need to check it included subauth array size.


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