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

smb: client: fix next_buffer UAF and NextCommand bounds in compound PDUs

Fix several related bounds checking and pointer lifecycle issues in
receive_encrypted_standard()'s handling of compound encrypted frames:

- Clear next_buffer after assigning it to server->bigbuf. A stale
next_buffer pointer can lead to a use-after-free on subsequent
error paths.
- Update pdu_length to the decrypted plaintext size (buf_size). Using
the pre-decryption length allows NextCommand to point into stale
ciphertext residue.
- Reject next_cmd values smaller than MID_HEADER_SIZE(server).
- Fix an integer overflow in the upper bound check by verifying
pdu_length - next_cmd < MID_HEADER_SIZE(server), ensuring the
trailing slice is large enough for a header.
Published: 2026-10-06
Score: 8.8 High
EPSS: < 1% Very Low
KEV: No
Impact: Memory Corruption
Action: Patch Immediately
AI Analysis

Impact

The Linux kernel SMB client contains a use‑after‑free and bounds checking flaw that occurs while processing compound encrypted frames. A stale buffer pointer can be freed and later accessed, and an incorrect length calculation can cause the next command pointer to reference leftover ciphertext. An integer overflow in the upper bound check can also allow a header to be read from an invalid location. These bugs enable memory corruption in the kernel context and, if an attacker can supply crafted SMB traffic, could lead to a denial of service or potentially arbitrary code execution within the kernel.

Affected Systems

All Linux kernel builds prior to incorporating the described patches are vulnerable. The issues reside in the SMB client code of the kernel; vendor and product name is the Linux kernel. Version information is not explicitly enumerated in the advisory, so any kernel containing the SMB client component before the fix is considered at risk.

Risk and Exploitability

The CVSS score of 8.8 indicates a high severity, and the presence of use‑after‑free and integer overflow in the SMB client suggests significant risk. The EPSS score of <1% indicates a very low current exploitation probability. The KEV catalog notes this vulnerability is not listed. The likely attack vector is an SMB client connection that processes compound encrypted frames; this inference is drawn from the description and is not explicitly stated as a proven exploit method. No public exploit is referenced, and the vulnerability is not yet in CISA’s KEV catalog, but the potential impact warrants immediate patching.

Generated by OpenCVE AI on October 7, 2026 at 08:26 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the kernel patch that introduces the proposed fixes, including clearing the stale next_buffer reference, correcting the pdu_length update, and strengthening the bounds checks—refer to the commit series at the provided kernel URLs.
  • After updating the kernel, reboot the system or reload the SMB client module to ensure the fix is active and any lingering buffers are cleared.
  • If the patch cannot be applied immediately, restrict or disable SMB client traffic to block incoming SMB connections until a kernel upgrade or patch is applied.

Generated by OpenCVE AI on October 7, 2026 at 08:26 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4841-1 linux security update
Debian DLA Debian DLA DLA-4850-1 linux-6.12 security update
Debian DSA Debian DSA DSA-6568-1 linux security update
History

Fri, 30 Oct 2026 12:45:00 +0000


Wed, 07 Oct 2026 08:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-129
CWE-416

Wed, 07 Oct 2026 07:00:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}


Wed, 07 Oct 2026 05:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-190
CWE-416

Tue, 06 Oct 2026 12:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-190
CWE-416

Tue, 06 Oct 2026 09:00:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: smb: client: fix next_buffer UAF and NextCommand bounds in compound PDUs Fix several related bounds checking and pointer lifecycle issues in receive_encrypted_standard()'s handling of compound encrypted frames: - Clear next_buffer after assigning it to server->bigbuf. A stale next_buffer pointer can lead to a use-after-free on subsequent error paths. - Update pdu_length to the decrypted plaintext size (buf_size). Using the pre-decryption length allows NextCommand to point into stale ciphertext residue. - Reject next_cmd values smaller than MID_HEADER_SIZE(server). - Fix an integer overflow in the upper bound check by verifying pdu_length - next_cmd < MID_HEADER_SIZE(server), ensuring the trailing slice is large enough for a header.
Title smb: client: fix next_buffer UAF and NextCommand bounds in compound PDUs
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-10-30T12:37:50.015Z

Reserved: 2026-09-25T10:25:14.322Z

Link: CVE-2026-98171

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-06T09:17:58.773

Modified: 2026-10-30T13:21:11.360

Link: CVE-2026-98171

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-07T08:30:15Z

Weaknesses