CVE Database›Document archive›CVE-2026-43112

CVE-2026-43112

kernel: fs/smb/client: fix out-of-bounds read in cifs_sanitize_prepath

Loading…

Severity

Important

Red Hat Product Security

8.1

CVSS 3.1

Review impact separately from score.

Published · May 6, 2026

Updated · October 9, 2026

Description

A flaw was found in the Linux kernel's CIFS (Common Internet File System) client. When the cifs_sanitize_prepath function processes specially crafted input, such as an empty string or a string containing only delimiters, it can attempt to read data beyond its allocated memory buffer. This out-of-bounds read can lead to a system crash, resulting in a denial of service.

Statement

An Important out-of-bounds read flaw in the Linux kernel's CIFS client can lead to a system crash and denial of service. This vulnerability, present in Red Hat Enterprise Linux 8, 9, and 10, and Red Hat In-Vehicle OS 2, can be triggered by processing specially crafted input to the cifs_sanitize_prepath function, potentially disrupting system availability.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

To mitigate this issue, prevent the cifs kernel module from loading if CIFS client functionality is not required. This can be achieved by blacklisting the module.

Create a file named /etc/modprobe.d/blacklist-cifs.conf with the following content:

blacklist cifs

After creating the file, regenerate the initramfs and reboot the system for the changes to take effect.

dracut -f -v
reboot

Disabling the cifs module will prevent the system from mounting CIFS network shares, which may impact functionality relying on this protocol.

CVSS / CWE

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

CWE-125 · Out-of-bounds Read