CVE-2026-99113: ksmbd: zero the FS_OBJECT_ID_INFORMATION buffer before filling it in

Published Oct 28, 2026
·
Updated

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

ksmbd: zero the FSOBJECTIDINFORMATION buffer before filling it in

smb2getinfofilesystem() reports 64 bytes for FSOBJECTIDINFORMATION, that is the whole of struct objectidinfo, but writes only 46 of them:

- objid[] is 16 bytes, and when the volume UUID is not available only sizeof(stfs.ffsid) (8) bytes are copied into it; - extendedinfo.versionstring[] is STRINGLENGTH (28) bytes, and only strlen("1.1.0") (5) bytes are copied into it.

The response buffer is zeroed on allocation (kvzalloc() in smb2allocaterspbuf()), so for a standalone request the remaining 31 bytes are zero. In a compound request they need not be. The offset of the next response is advanced by the length pinned for the previous one, so if a preceding command wrote its reply into the buffer and then failed, smb2seterrrsp() pins only the short error response and the next reply lands inside the area that has already been written. Only the header is cleared there:

memset((char )rsphdr, 0, sizeof(struct smb2hdr) + 2);

The client then receives up to 31 bytes of a response it was not meant to see, including one that failed with an access denied error.

Clear the structure before filling it in. As a side effect versionstring is now NUL terminated.

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    Zero the FS_OBJECT_ID_INFORMATION structure before filling it in, and ensure version_string is NUL-terminated.

Event History

Oct 28, 2026
CVE Published
via MITRE·10:34 AM
Data Sourced
via MITRE·10:34 AM
Description

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