CVE-2026-98405: smb: client: fix missing iov bounds check in parse_posix_sids()

Published Oct 14, 2026
·
Updated

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

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

In parseposixsids(), sidsbufend is calculated using the server-supplied outlen without being validated against the actual length of the received iov (iovlen).

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

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

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    In parse_posix_sids(), validate the server-supplied out_len against the actual received iov_len and reject responses when the calculated sidsbuf_end exceeds the received iov boundaries or causes pointer wraparound.

Event History

Oct 14, 2026
CVE Published
via MITRE·01:27 PM
Data Sourced
via MITRE·01:27 PM
Description

Frequently Asked Questions

1

What does an attacker need to control to trigger this issue?

An attacker would need to control, compromise, or impersonate an SMB server that can send a response with an inflated out_len value to the Linux SMB client.

2

Which deployments are relevant when triaging exposure?

The issue applies to Linux kernel SMB client use where POSIX SID information is parsed from a server response. Systems not acting as SMB clients for such responses are not implicated by the provided information.

3

What is the effect of a malicious response?

An inflated server-supplied length can make the client’s calculated SID buffer endpoint extend beyond the received I/O vector, bypassing intended bounds checks and causing out-of-bounds reads into adjacent kernel memory.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203