{"id":"CVE-2024-26954","aliases":["CVE-2024-26954"],"related":[],"kind":"vulnerability","state":"published","title":"ksmbd: fix slab-out-of-bounds in smb_strndup_from_utf16()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: fix slab-out-of-bounds in smb_strndup_from_utf16()\n\nIf ->NameOffset of smb2_create_req is smaller than Buffer offset of\nsmb2_create_req, slab-out-of-bounds read can happen from smb2_open.\nThis patch set the minimum value of the name offset to the buffer offset\nto validate name length of smb2_create_req().","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: fix slab-out-of-bounds in smb_strndup_from_utf16()\n\nIf ->NameOffset of smb2_create_req is smaller than Buffer offset of\nsmb2_create_req, slab-out-of-bounds read can happen from smb2_open.\nThis patch set the minimum value of the name offset to the buffer offset\nto validate name length of smb2_create_req().","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se resolvió la siguiente vulnerabilidad: ksmbd: corrige slab-out-of-bounds en smb_strndup_from_utf16() Si -&gt;NameOffset de smb2_create_req es menor que el desplazamiento del búfer de smb2_create_req, puede ocurrir una lectura de slab-out-of-bounds de smb2_open. Este parche establece el valor mínimo del desplazamiento del nombre en el desplazamiento del búfer para validar la longitud del nombre de smb2_create_req().","source":"nvd"}],"published":"2024-05-01T05:18:47.428Z","modified":"2026-08-05T11:28:35.439Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","score":8.1,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","score":8.1,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","score":7.1,"rating":"HIGH"}],"cwes":["CWE-125"],"affected":[{"ranges":[{"type":"git","introduced":"0626e6641f6b467447c81dd7678a69c66f7746cf","fixed":"d70c2e0904ab3715c5673fd45788a464a246d1db","status":"affected"},{"type":"git","introduced":"0626e6641f6b467447c81dd7678a69c66f7746cf","fixed":"9e4937cbc150f9d5a9b5576e1922ef0b5ed2eb72","status":"affected"},{"type":"git","introduced":"0626e6641f6b467447c81dd7678a69c66f7746cf","fixed":"3b8da67191e938a63d2736dabb4ac5d337e5de57","status":"affected"},{"type":"git","introduced":"0626e6641f6b467447c81dd7678a69c66f7746cf","fixed":"4f97e6a9d62cb1fce82fbf4baff44b83221bc178","status":"affected"},{"type":"git","introduced":"0626e6641f6b467447c81dd7678a69c66f7746cf","fixed":"a80a486d72e20bd12c335bcd38b6e6f19356b0aa","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":"6.1.119","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.32","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.7.12","lastAffected":"6.7.*","status":"unaffected"},{"type":"semver","introduced":"6.8.3","lastAffected":"6.8.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.9","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.15","fixed":"6.1.119"},{"status":"affected","introduced":"6.2","fixed":"6.7.12"},{"status":"affected","introduced":"6.8","fixed":"6.8.3"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/d70c2e0904ab3715c5673fd45788a464a246d1db","tags":["mailing-list","patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9e4937cbc150f9d5a9b5576e1922ef0b5ed2eb72","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3b8da67191e938a63d2736dabb4ac5d337e5de57","tags":["mailing-list","patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4f97e6a9d62cb1fce82fbf4baff44b83221bc178","tags":["mailing-list","patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a80a486d72e20bd12c335bcd38b6e6f19356b0aa","tags":["mailing-list","patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-09-10T15:45:29.977Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-26954","url":"https://www.cve.org/CVERecord?id=CVE-2024-26954","licence":"CVE Terms of Use","modified":"2026-08-05T11:28:35.439Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-26954","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-26954","licence":"Public domain","modified":"2026-08-04T11:17:26.093Z"}],"updatedAt":"2026-11-25T22:58:39.734Z","epss":{"score":0.00697,"percentile":0.54302,"date":"2026-12-01T12:00:22.000Z"}}