CVE-2023-54250

published 30 Dec 2025 · updated 5 Aug 2026

ksmbd: avoid out of bounds access in decode_preauth_ctxt()

8.2HighCVSS 8.2EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 39f5b4b313b445c980a2a295bed28228c29228ed, Kernel a2f6ded41bec1d3be643c80a5eb97f1680309001, Kernel e7067a446264a7514fa1cfaa4052cdb6803bc6a2 and 1 more.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.15, >=e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 <39f5b4b313b445c980a2a295bed28228c29228ed, >=e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 <a2f6ded41bec1d3be643c80a5eb97f1680309001, >=e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 <e7067a446264a7514fa1cfaa4052cdb6803bc6a2, >=e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 <f02edb9debbd36f44efa7567031485892c7df60d39f5b4b313b445c980a2a295bed28228c29228ed, a2f6ded41bec1d3be643c80a5eb97f1680309001, e7067a446264a7514fa1cfaa4052cdb6803bc6a2, f02edb9debbd36f44efa7567031485892c7df60d

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2023-54250 severity on Zeptric[![CVE-2023-54250](https://zeptric.io/badge/cve/CVE-2023-54250.svg)](https://zeptric.io/cve/CVE-2023-54250)