Bug 2426238 (CVE-2023-54250) - CVE-2023-54250 kernel: ksmbd: avoid out of bounds access in decode_preauth_ctxt()
Summary: CVE-2023-54250 kernel: ksmbd: avoid out of bounds access in decode_preauth_ct...
Keywords:
Status: NEW
Alias: CVE-2023-54250
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-12-30 13:18 UTC by OSIDB Bzimport
Modified: 2025-12-30 23:07 UTC (History)
0 users

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


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-12-30 13:18:36 UTC
In the Linux kernel, the following vulnerability has been resolved:

ksmbd: avoid out of bounds access in decode_preauth_ctxt()

Confirm that the accessed pneg_ctxt->HashAlgorithms address sits within
the SMB request boundary; deassemble_neg_contexts() only checks that the
eight byte smb2_neg_context header + (client controlled) DataLength are
within the packet boundary, which is insufficient.

Checking for sizeof(struct smb2_preauth_neg_context) is overkill given
that the type currently assumes SMB311_SALT_SIZE bytes of trailing Salt.


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