Out-of-Bounds Memory Read Vulnerability in KSMBD Implementation of Samba Server and CIFS in Linux Kernel

Out-of-Bounds Memory Read Vulnerability in KSMBD Implementation of Samba Server and CIFS in Linux Kernel

CVE-2023-1194 · HIGH Severity

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

An out-of-bounds (OOB) memory read flaw was found in parse_lease_state in the KSMBD implementation of the in-kernel samba server and CIFS in the Linux kernel. When an attacker sends the CREATE command with a malformed payload to KSMBD, due to a missing check of `NameOffset` in the `parse_lease_state()` function, the `create_context` object can access invalid memory.

Learn more about our Cis Benchmark Audit For Distribution Independent Linux.