{"id":"CVE-2024-26936","published":"2024-05-01T05:26:51Z","modified":"2026-08-05T11:28:27Z","title":"ksmbd: validate request buffer size 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: validate request buffer size in smb2_allocate_rsp_buf()\n\nThe response buffer should be allocated in smb2_allocate_rsp_buf\nbefore validating request. But the fields in payload as well as smb2 header\nis used in smb2_allocate_rsp_buf(). This patch add simple buffer size\nvalidation to avoid potencial out-of-bounds in request buffer.","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.00605,"percentile":0.49902,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/8f3d0bf1d0c62b539d54c5b9108a845cff619b99","tags":[]},{"url":"https://git.kernel.org/stable/c/21ff9d7d223c5c19cb4334009e4c0c83a2f4d674","tags":[]},{"url":"https://git.kernel.org/stable/c/5c20b242d4fed73a93591e48bfd9772e2322fb11","tags":[]},{"url":"https://git.kernel.org/stable/c/2c27a64a2bc47d9bfc7c3cf8be14be53b1ee7cb6","tags":[]},{"url":"https://git.kernel.org/stable/c/17cf0c2794bdb6f39671265aa18aea5c22ee8c4a","tags":[]}],"priority":{"score":15.7,"factors":[{"name":"EPSS percentile","points":9.98},{"name":"CVSS severity","points":5.74}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 8f3d0bf1d0c62b539d54c5b9108a845cff619b99",">= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 21ff9d7d223c5c19cb4334009e4c0c83a2f4d674",">= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 5c20b242d4fed73a93591e48bfd9772e2322fb11",">= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 2c27a64a2bc47d9bfc7c3cf8be14be53b1ee7cb6",">= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 17cf0c2794bdb6f39671265aa18aea5c22ee8c4a"]},{"vendor":"Linux","product":"Linux","versions":["5.15"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-05-10T18:35:18.289818Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-24198","exploited":false,"provenance":"source"}}