What’s Vulnerable › Vulnerabilities

CVE-2023-1194: Use-after-free in parse_lease_state()

Description

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.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.15.145, 6.1.34, 6.3.8. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2023-1194 or the next vulnerability affects your stack