{"id":"CVE-2024-26954","published":"2024-05-01T05:18:47Z","modified":"2026-08-05T11:28:35Z","title":"ksmbd: fix slab-out-of-bounds in smb_strndup_from_utf16()","vendor":"Linux","product":"Linux","tier":"tail","description":{"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().","provenance":"source","from":"CVE.org"},"cvss":{"score":8.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00893,"percentile":0.57343,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/d70c2e0904ab3715c5673fd45788a464a246d1db","tags":[]},{"url":"https://git.kernel.org/stable/c/9e4937cbc150f9d5a9b5576e1922ef0b5ed2eb72","tags":[]},{"url":"https://git.kernel.org/stable/c/3b8da67191e938a63d2736dabb4ac5d337e5de57","tags":[]},{"url":"https://git.kernel.org/stable/c/4f97e6a9d62cb1fce82fbf4baff44b83221bc178","tags":[]},{"url":"https://git.kernel.org/stable/c/a80a486d72e20bd12c335bcd38b6e6f19356b0aa","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","tags":[]}],"priority":{"score":17.1,"factors":[{"name":"EPSS percentile","points":11.47},{"name":"CVSS severity","points":5.67}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 0626e6641f6b467447c81dd7678a69c66f7746cf, < d70c2e0904ab3715c5673fd45788a464a246d1db",">= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 9e4937cbc150f9d5a9b5576e1922ef0b5ed2eb72",">= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 3b8da67191e938a63d2736dabb4ac5d337e5de57",">= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 4f97e6a9d62cb1fce82fbf4baff44b83221bc178",">= 0626e6641f6b467447c81dd7678a69c66f7746cf, < a80a486d72e20bd12c335bcd38b6e6f19356b0aa"]},{"vendor":"Linux","product":"Linux","versions":["5.15"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-09-10T15:45:29.977526Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-24216","exploited":false,"provenance":"source"}}