CVE-2026-98405

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

Published Oct 14, 2026 CVSS 3.1 · 8.1 High EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

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

In parse_posix_sids(), sidsbuf_end is calculated using the server-supplied
out_len without being validated against the actual length of the received
iov (iov_len).

If a server provides an inflated out_len, sidsbuf_end will point past the
end of the iov. This defeats the bounds guards in posix_info_sid_size(),
allowing out-of-bounds reads into adjacent kernel memory.

Fix this by rejecting responses where the calculated sidsbuf_end would
exceed the received iov boundaries or cause pointer wraparound.

Analysis

AI-generated

Technical impact

The Linux kernel SMB client contains an unchecked calculation of an end pointer in parse_posix_sids(). When a server supplies an inflated length value, the calculated end pointer can exceed the actual iov buffer, bypassing bounds checks and enabling an out‑of‑bounds read into adjacent kernel memory. The read is only data extraction, so it can leak sensitive kernel data but does not directly allow code execution or denial of service.

Affected Systems

All Linux kernel versions that include the SMB client code are affected, regardless of vendor or distribution. The flaw lives in the core SMB client implementation shared by all implementations of the kernel.

Risk and Exploitability

The likely attack vector is a malicious SMB server that the client connects to; the attacker must have network access to the SMB client. An EPSS score of < 1% indicates a very low but nonzero probability of exploitation, and the CVSS score of 8.1 reflects high severity. The vulnerability is not listed in the CISA KEV catalog.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the kernel to a version that includes the parse_posix_sids() bounds‑check fix.
  • Configure firewall rules or network policies to allow SMB client traffic only from trusted internal hosts.
  • If an immediate kernel update is not feasible, consider disabling the SMB client or blocking SMB traffic from external networks until the patch is applied.

Generated by OpenCVE AI on October 24, 2026 at 15:28 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics cvssV3_1

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

cvssV3_1

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

Type Values Removed Values Added
Weaknesses CWE-119
CWE-788
Type Values Removed Values Added
Weaknesses CWE-125
References
Metrics threat_severity

None

cvssV3_1

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

threat_severity

Moderate

Type Values Removed Values Added
Weaknesses CWE-119
CWE-788
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: smb: client: fix missing iov bounds check in parse_posix_sids() In parse_posix_sids(), sidsbuf_end is calculated using the server-supplied out_len without being validated against the actual length of the received iov (iov_len). If a server provides an inflated out_len, sidsbuf_end will point past the end of the iov. This defeats the bounds guards in posix_info_sid_size(), allowing out-of-bounds reads into adjacent kernel memory. Fix this by rejecting responses where the calculated sidsbuf_end would exceed the received iov boundaries or cause pointer wraparound.
Title smb: client: fix missing iov bounds check in parse_posix_sids()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Oct 24, 2026, 2:08 PM
Reserved
Sep 25, 2026, 10:25 AM
Status
Received
Published
Oct 14, 2026, 2:17 PM
Modified
Oct 24, 2026, 2:16 PM
Severity
Moderate
Public date
Oct 14, 2026, 12:00 AM