CVE-2024-26954

high

Description

In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix slab-out-of-bounds in smb_strndup_from_utf16() If ->NameOffset of smb2_create_req is smaller than Buffer offset of smb2_create_req, slab-out-of-bounds read can happen from smb2_open. This patch set the minimum value of the name offset to the buffer offset to validate name length of smb2_create_req().

References

https://git.kernel.org/stable/c/a80a486d72e20bd12c335bcd38b6e6f19356b0aa

https://git.kernel.org/stable/c/4f97e6a9d62cb1fce82fbf4baff44b83221bc178

https://git.kernel.org/stable/c/3b8da67191e938a63d2736dabb4ac5d337e5de57

Details

Source: Mitre, NVD

Published: 2024-05-01

Updated: 2024-05-01

Risk Information

CVSS v2

Base Score: 6.9

Vector: CVSS2#AV:L/AC:M/Au:N/C:C/I:C/A:C

Severity: Medium

CVSS v3

Base Score: 7

Vector: CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Severity: High