« List of all CVEs

CVE-2023-1194

Use-after-free in parse_lease_state()

Published: 11/3/2023 Last updated: 2/13/2025 Reserved: 3/6/2023

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.

CNA assigner: redhat (53f830b8-0a3f-465b-8143-3b8a9948e749) Requested by: n/a

Metrics

Version Score Severity Vector String
3.1 7.1 High CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H

Opam packages affected (27)

albatross cdrom conf-bpftool conf-libbpf conf-linux-libc-dev core core_unix hvsock mirage-block-unix mm ocaml-probes orun rawlink rawlink-eio rawlink-lwt shell solo5 solo5-bindings-hvt solo5-bindings-spt solo5-cross-aarch64 solo5-kernel-ukvm tracy-client tuntap uring vhd-format vhd-format-lwt xapi-stdext-unix

Products affected (9)

Product Vendor Version
Fedora Fedora firmware Ver.7.11 and earlier
Red Hat Enterprise Linux 6 Red Hat firmware Ver.7.11 and earlier
Red Hat Enterprise Linux 7 Red Hat < 3.9.10
Red Hat Enterprise Linux 8 Red Hat < 15.9.69
Red Hat Enterprise Linux 9 Red Hat < 3f4e68902d2e545033c80d7ad62fd9a439e573f4
Red Hat Enterprise Linux 8 Red Hat firmware Ver.7.10 and earlier
Red Hat Enterprise Linux 7 Red Hat < 18.7.0002.0
Red Hat Enterprise Linux 9 Red Hat < e56a5146ef8cb51cd7c9e748267dce7564448a35
kernel n/a < 16.0.1115.1

References (8)

Credits (1)