CVE Database›Document archive›CVE-2026-98405

CVE-2026-98405

kernel: smb: client: fix missing iov bounds check in parse_posix_sids()

Loading…

Severity

Moderate

Red Hat Product Security

7.1

CVSS 3.1

Review impact separately from score.

Published · October 14, 2026

Updated · October 24, 2026

Description

A flaw was found in the Linux kernel's SMB (Server Message Block) client. When parsing POSIX security identifiers in server responses, the client fails to properly validate the server-supplied buffer length against the actual received message boundaries. A malicious or compromised SMB server could exploit this flaw by returning an inflated length value, triggering an out-of-bounds read into adjacent kernel memory. This issue may lead to information disclosure or a denial of service (DoS) caused by a system crash.

Statement

The SMB client parse_posix_sids path calculates sidsbuf_end from the server supplied out_len without first validating it against the actual received iov length. A malicious or compromised SMB server can provide an inflated length and make posix_info_sid_size read beyond the response buffer into adjacent kernel memory. This may cause a kernel crash or invalid SID parsing and therefore represents a remotely triggerable availability risk for clients connected to an attacker controlled server. For the CVSS the PR:N value is used because the attacker does not need credentials or local privileges on the affected client and only needs control of the SMB server response. AV:N is used because the malformed response can be delivered over a routed SMB connection. The base impact is denial of service because no direct return path for the out of bounds kernel data is demonstrated. The issue does not justify CIA:HHH because the available primitive is an out of bounds read rather than an arbitrary write or a demonstrated use after free.

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

Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

CVSS / CWE

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

CWE-20 · Improper Input Validation