{"id":"CVE-2023-54250","summary":"ksmbd: avoid out of bounds access in decode_preauth_ctxt()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: avoid out of bounds access in decode_preauth_ctxt()\n\nConfirm that the accessed pneg_ctxt-\u003eHashAlgorithms address sits within\nthe SMB request boundary; deassemble_neg_contexts() only checks that the\neight byte smb2_neg_context header + (client controlled) DataLength are\nwithin the packet boundary, which is insufficient.\n\nChecking for sizeof(struct smb2_preauth_neg_context) is overkill given\nthat the type currently assumes SMB311_SALT_SIZE bytes of trailing Salt.","modified":"2026-04-02T09:45:42.401360Z","published":"2025-12-30T12:15:47.467Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/54xxx/CVE-2023-54250.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/39f5b4b313b445c980a2a295bed28228c29228ed"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a2f6ded41bec1d3be643c80a5eb97f1680309001"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e7067a446264a7514fa1cfaa4052cdb6803bc6a2"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f02edb9debbd36f44efa7567031485892c7df60d"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/54xxx/CVE-2023-54250.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-54250"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9"},{"fixed":"39f5b4b313b445c980a2a295bed28228c29228ed"},{"fixed":"a2f6ded41bec1d3be643c80a5eb97f1680309001"},{"fixed":"f02edb9debbd36f44efa7567031485892c7df60d"},{"fixed":"e7067a446264a7514fa1cfaa4052cdb6803bc6a2"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-54250.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.15.0"},{"fixed":"5.15.145"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.25"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.2.12"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-54250.json"}}],"schema_version":"1.7.5"}