{"id":"CVE-2024-26980","published":"2024-05-01T05:26:56Z","modified":"2026-08-05T11:28:49Z","title":"ksmbd: fix slab-out-of-bounds in smb2_allocate_rsp_buf","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 smb2_allocate_rsp_buf\n\nIf ->ProtocolId is SMB2_TRANSFORM_PROTO_NUM, smb2 request size\nvalidation could be skipped. if request size is smaller than\nsizeof(struct smb2_query_info_req), slab-out-of-bounds read can happen in\nsmb2_allocate_rsp_buf(). This patch allocate response buffer after\ndecrypting transform request. smb3_decrypt_req() will validate transform\nrequest size and avoid slab-out-of-bound in smb2_allocate_rsp_buf().","provenance":"source","from":"CVE.org"},"cvss":{"score":8.2,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00621,"percentile":0.50684,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/da21401372607c49972ea87a6edaafb36a17c325","tags":[]},{"url":"https://git.kernel.org/stable/c/b80ba648714e6d790d69610cf14656be222d0248","tags":[]},{"url":"https://git.kernel.org/stable/c/3160d9734453a40db248487f8204830879c207f1","tags":[]},{"url":"https://git.kernel.org/stable/c/0977f89722eceba165700ea384f075143f012085","tags":[]},{"url":"https://git.kernel.org/stable/c/c119f4ede3fa90a9463f50831761c28f989bfb20","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DAMSOZXJEPUOXW33WZYWCVAY7Z5S7OOY/","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4EZ6PJW7VOZ224TD7N4JZNU6KV32ZJ53/","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GCBZZEC7L7KTWWAS2NLJK6SO3IZIL4WW/","tags":[]}],"priority":{"score":15.9,"factors":[{"name":"EPSS percentile","points":10.14},{"name":"CVSS severity","points":5.74}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 0626e6641f6b467447c81dd7678a69c66f7746cf, < da21401372607c49972ea87a6edaafb36a17c325",">= 0626e6641f6b467447c81dd7678a69c66f7746cf, < b80ba648714e6d790d69610cf14656be222d0248",">= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 3160d9734453a40db248487f8204830879c207f1",">= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 0977f89722eceba165700ea384f075143f012085",">= 0626e6641f6b467447c81dd7678a69c66f7746cf, < c119f4ede3fa90a9463f50831761c28f989bfb20"]},{"vendor":"Linux","product":"Linux","versions":["5.15"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-06-06T18:49:02.279322Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-24242","exploited":false,"provenance":"source"}}