CVE-2023-54250 Details
Description
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.
A vulnerability in the Linux kernel's ksmbd component allows for out-of-bounds access in the function that decodes preauthentication contexts. This issue arises because the existing checks only ensure that the context header and data length are within the packet boundaries, which is inadequate. The vulnerability has been addressed by implementing a more robust validation that confirms the HashAlgorithms field is within the SMB request limits, preventing potential memory access violations.
Users can upgrade to the latest version of the Linux kernel stable tree to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Dec 30, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/39f5b4b313b445c980a2a295bed28228c29228ed | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/a2f6ded41bec1d3be643c80a5eb97f1680309001 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/e7067a446264a7514fa1cfaa4052cdb6803bc6a2 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/f02edb9debbd36f44efa7567031485892c7df60d | kernel.org | Source CodeVendor |
Weakness Enumeration
No weakness enumeration is available for this CVE.
Affected Products
| Product | Versions |
|---|---|
| Linux kernel | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 4, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Dec 30, 2025 | New CVE Received | kernel.org |
Volerion