{"id":"CVE-2023-54250","aliases":["CVE-2023-54250"],"related":[],"kind":"vulnerability","state":"published","title":"ksmbd: avoid out of bounds access in decode_preauth_ctxt()","summary":"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->HashAlgorithms 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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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->HashAlgorithms 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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nksmbd: evitar el acceso fuera de límites en decode_preauth_ctxt()\n\nConfirmar que la dirección pneg_ctxt-&gt;HashAlgorithms accedida se encuentra dentro del límite de la solicitud SMB; deassemble_neg_contexts() solo verifica que el encabezado smb2_neg_context de ocho bytes + (DataLength controlada por el cliente) estén dentro del límite del paquete, lo cual es insuficiente.\n\nVerificar sizeof(struct smb2_preauth_neg_context) es excesivo dado que el tipo actualmente asume SMB311_SALT_SIZE bytes de Salt final.","source":"nvd"}],"published":"2025-12-30T12:15:47.467Z","modified":"2026-08-05T09:18:25.471Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H","score":8.2,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H","score":8.2,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9","fixed":"39f5b4b313b445c980a2a295bed28228c29228ed","status":"affected"},{"type":"git","introduced":"e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9","fixed":"a2f6ded41bec1d3be643c80a5eb97f1680309001","status":"affected"},{"type":"git","introduced":"e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9","fixed":"f02edb9debbd36f44efa7567031485892c7df60d","status":"affected"},{"type":"git","introduced":"e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9","fixed":"e7067a446264a7514fa1cfaa4052cdb6803bc6a2","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.15","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.15","status":"unaffected"},{"type":"semver","introduced":"5.15.145","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.25","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.2.12","lastAffected":"6.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/39f5b4b313b445c980a2a295bed28228c29228ed","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a2f6ded41bec1d3be643c80a5eb97f1680309001","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f02edb9debbd36f44efa7567031485892c7df60d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e7067a446264a7514fa1cfaa4052cdb6803bc6a2","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-54250","url":"https://www.cve.org/CVERecord?id=CVE-2023-54250","licence":"CVE Terms of Use","modified":"2026-08-05T09:18:25.471Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-54250","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-54250","licence":"Public domain","modified":"2026-08-04T11:16:38.250Z"}],"updatedAt":"2026-11-25T22:58:35.242Z","epss":{"score":0.00518,"percentile":0.45546,"date":"2026-12-01T12:00:22.000Z"}}