Shellfeed logo Shellfeed

CVE-2026-46155 · CRITICAL (CVSS 9.1)

Summary: smb/client: fix out-of-bounds read in smb2_compound_op()

Details

In the Linux kernel, the following vulnerability has been resolved:

smb/client: fix out-of-bounds read in smb2_compound_op()

If a server sends a truncated response but a large OutputBufferLength, and
terminates the EA list early, check_wsl_eas() returns success without
validating that the entire OutputBufferLength fits within iov_len.

Then smb2_compound_op() does:
memcpy(idata->wsl.eas, data[0], size[0]);

Where size[0] is OutputBufferLength. If iov_len is smaller than size[0],
memcpy can read beyond the end of the rsp_iov allocation and leak adjacent
kernel heap memory.

Severity

CRITICAL (CVSS 9.1) — vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

Affected packages

  • GIT git.kernel.org/pub/scm/linux/kernel/git/stable/linux [7449d736bbbd160c76b01b8fcdf72f58a8757d4b – dffb44b2e06a2908e249f0f93156fc987eee1d1c] [ea41367b2a602f602ea6594fc4a310520dcc64f4 – 9b3af35645ff9cd334edc130249f9a2fb2bea25f] [6.6.32 – 6.6.140]
  • Linux Kernel [0 – 6.6.140] [6.7.0 – 6.12.88] [6.9.0 – 6.18.30] [6.13.0 – 7.0.7]

References