CVE-2023-4515

Description

A flaw was found in the Linux kernel's Server Message Block (SMB) server, ksmbd. The component fails to validate the request size of incoming SMB command packets. A remote attacker could exploit this vulnerability by sending specially crafted SMB requests, resulting in a Denial of Service (DoS) via a kernel crash or potential unauthorized information disclosure.

Statement

This vulnerability does not affect Red Hat Enterprise Linux as the in-kernel SMB server (ksmbd) is not enabled in supported Red Hat kernels. Red Hat Enterprise Linux utilizes the user-space Samba suite for SMB network file sharing rather than the kernel-based ksmbd implementation. Consequently, the vulnerable code is not present in supported Red Hat products.

Understanding the Weakness (CWE)

Confidentiality

Technical Impact: Read Memory

An attacker could get secret values such as cryptographic keys, PII, memory addresses, or other information that could be used in additional attacks.

Confidentiality

Technical Impact: Bypass Protection Mechanism

Out-of-bounds memory could contain memory addresses or other information that can be used to bypass ASLR and other protection mechanisms in order to improve the reliability of exploiting a separate weakness for code execution.

Availability

Technical Impact: DoS: Crash, Exit, or Restart

An attacker could cause a segmentation fault or crash by causing memory to be read outside of the bounds of the buffer. This is especially likely when the code reads a variable amount of data and assumes that a sentinel exists to stop the read operation, such as a NUL in a string.

Other

Technical Impact: Varies by Context

The read operation could produce other undefined or unexpected results.

Frequently Asked Questions

Want to get errata notifications? Sign up here.