CVE-2023-1194 Use-after-free in parse_lease_state()
An attacker can trigger a use-after-free in the Linux kernel's KSMBD server via a malformed CREATE command, potentially leading to code execution or system crash.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-1194?
CVE-2023-1194 is a high-severity use after free vulnerability in Fedoraproject Fedora, published on 3 Nov 2023. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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.
Which versions are affected by CVE-2023-1194?
It affects 2 products.
Products include Fedoraproject Fedora, Linux kernel.
How do I fix CVE-2023-1194?
Apply the vendor's patch.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2023-1194 being exploited?
There is no known exploitation of CVE-2023-1194 in the wild and no public exploit code.
Other vulnerabilities in Fedoraproject Fedora
Sources
Also known as AZL-31893, DEBIAN-CVE-2023-1194, GHSA-53pc-8xr3-68wx, UBUNTU-CVE-2023-1194.