CVE Database›CVE-2026-31708

CVE-2026-31708

kernel: smb: client: fix OOB read in smb2_ioctl_query_info QUERY_INFO path

Loading…

Severity

Moderate

Red Hat Product Security

6.1

CVSS 3.1

Review impact separately from score.

Published · May 1, 2026

Updated · July 2, 2026

Description

A flaw was found in the Linux kernel's Server Message Block (SMB) client. A malicious server can exploit an out-of-bounds read vulnerability by manipulating the OutputBufferLength during a QUERY_INFO operation. This can lead to the exposure of sensitive kernel memory to userspace, resulting in information disclosure.

Statement

SMB2 QUERY_INFO handling could read out of bounds on untrusted server responses. Red Hat treats this as SMB client parser hardening against malicious servers. Install corrected kernels; cifs unload reduces client exposure where acceptable.

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 module from being loaded. See https://access.redhat.com/solutions/41278 for instructions.

CVSS / CWE

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

CWE-805 · Buffer Access with Incorrect Length Value