CVE-2023-54250
Unknown Unknown - Not Provided
Out-of-Bounds Access in Linux Kernel ksmbd SMB2 Neg Context

Publication date: 2025-12-30

Last updated on: 2025-12-30

Assigner: kernel.org

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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-12-30
Last Modified
2025-12-30
Generated
2026-05-07
AI Q&A
2025-12-30
EPSS Evaluated
2026-05-05
NVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
linux linux_kernel *
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

This vulnerability in the Linux kernel's ksmbd component involves an out-of-bounds access in the decode_preauth_ctxt() function. Specifically, the code did not properly confirm that the accessed HashAlgorithms address was within the SMB request boundary, leading to potential memory access issues. The existing check only verified the SMB2 negotiation context header and client-controlled DataLength, which was insufficient to prevent out-of-bounds access.


How can this vulnerability impact me? :

The vulnerability could lead to out-of-bounds memory access, which may cause system instability, crashes, or potentially allow an attacker to read or manipulate memory beyond intended boundaries. This could be exploited to compromise system security or cause denial of service.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart