CVE-2023-54250: ksmbd: avoid out of bounds access in decode_preauth_ctxt()

Published Dec 30, 2025
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

ksmbd: avoid out of bounds access in decodepreauthctxt()

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

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

Affected Software

1 affected component
Linux ksmbd

Event History

Dec 30, 2025
CVE Published
via MITRE·12:15 PM
Data Sourced
via MITRE·12:15 PM
DescriptionSeverity
Data Sourced
via NVD·01:16 PM
DescriptionSeverity
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2023-54250?

CVE-2023-54250 is classified as a high-severity vulnerability due to its potential to allow out-of-bounds memory access.

2

How does CVE-2023-54250 affect Linux ksmbd?

CVE-2023-54250 affects Linux ksmbd by allowing an out-of-bounds access in the decode_preauth_ctxt() function.

3

How do I fix CVE-2023-54250?

To fix CVE-2023-54250, ensure that you update to the latest version of the Linux kernel that includes the security patch.

4

Can CVE-2023-54250 lead to data breaches?

Yes, CVE-2023-54250 can potentially lead to data breaches by allowing unauthorized access to kernel memory.

5

Is CVE-2023-54250 exploitable remotely?

Yes, CVE-2023-54250 may be exploited remotely if the vulnerable system is accessible over a network.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203